---
version: alpha
name: "Soft UI Evolution (RTL)"
description: "The softness of neumorphism with clear outlines, strong contrast and a visible focus ring. Easy on the eye, yet quick to scan and use."
colors:
  primary: "#2F55D4"
  on-primary: "#FFFFFF"
  secondary: "#B93A12"
  on-secondary: "#FFFFFF"
  neutral: "#F6F1F4"
  surface: "#FFFCFB"
  surface-variant: "#F1E9EE"
  on-surface: "#18212F"
  on-surface-variant: "#4F4A5E"
  outline: "#DCCFD8"
  success: "#17734A"
  warning: "#975A00"
  error: "#B42318"
typography:
  display-lg:
    fontFamily: "Alef"
    fontSize: 46px
    fontWeight: 700
    lineHeight: 1.2
  headline-lg:
    fontFamily: "Alef"
    fontSize: 38px
    fontWeight: 700
    lineHeight: 1.2
  headline-md:
    fontFamily: "Alef"
    fontSize: 31px
    fontWeight: 700
    lineHeight: 1.2
  title-md:
    fontFamily: "Alef"
    fontSize: 25px
    fontWeight: 700
    lineHeight: 1.25
  body-lg:
    fontFamily: "Alef"
    fontSize: 21px
    fontWeight: 400
    lineHeight: 1.7
  body-md:
    fontFamily: "Alef"
    fontSize: 17px
    fontWeight: 400
    lineHeight: 1.7
  label-md:
    fontFamily: "Alef"
    fontSize: 15px
    fontWeight: 600
    lineHeight: 1.4
rounded:
  sm: 14px
  md: 20px
  lg: 28px
  button: 999px
  input: 20px
  full: 999px
spacing:
  xs: 4px
  sm: 8px
  md: 16px
  lg: 24px
  xl: 48px
motion:
  standard:
    duration: 220ms
    timingFunction: "cubic-bezier(0.25, 0.8, 0.3, 1)"
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.label-md}"
    rounded: "{rounded.button}"
    height: 44px
    padding: 24px
  button-secondary:
    backgroundColor: "{colors.surface-variant}"
    textColor: "{colors.on-surface}"
    rounded: "{rounded.button}"
    height: 44px
  button-accent:
    backgroundColor: "{colors.secondary}"
    textColor: "{colors.on-secondary}"
    rounded: "{rounded.button}"
    height: 44px
  card:
    backgroundColor: "{colors.surface}"
    textColor: "{colors.on-surface}"
    rounded: "{rounded.lg}"
    padding: 24px
  input:
    backgroundColor: "{colors.surface}"
    textColor: "{colors.on-surface}"
    rounded: "{rounded.input}"
    height: 44px
  badge:
    backgroundColor: "{colors.surface-variant}"
    textColor: "{colors.on-surface}"
    rounded: "{rounded.full}"
---

# Soft UI Evolution — Hebrew / RTL design system

## Overview

The softness of neumorphism with clear outlines, strong contrast and a visible focus ring. Easy on the eye, yet quick to scan and use.

This interface is **Hebrew-first and right-to-left**. Every screen is built with `<html lang="he" dir="rtl">` and logical CSS properties, so layout, icons, numbers and forms behave correctly in Hebrew. Best for: health and wellness apps, SaaS for a broad audience, accessible digital services.

## Colors

A light theme: the page background is the calmest layer; surfaces sit on top of it.

- **Primary (#2F55D4):** the main action color — primary buttons, links, active navigation, focus rings. Text on it is #FFFFFF.
- **Secondary / accent (#B93A12):** highlights, badges, the one featured card per screen. Text on it is #FFFFFF.
- **Neutral / background (#F6F1F4):** the page itself (with a decorative background: `linear-gradient(to bottom left, #FDEFE6, #EEF1FB 60%)`).
- **Surface (#FFFCFB) and surface-variant (#F1E9EE):** cards, inputs, sidebars; the variant for secondary buttons, tabs and table hover.
- **On-surface (#18212F) and on-surface-variant (#4F4A5E):** body text and secondary text. Both pass WCAG AA (4.5:1) on every surface.
- **Outline (#DCCFD8):** borders and dividers.
- **Status:** success #17734A, warning #975A00, error #B42318.

## Typography

- **Display / headings:** Alef, weight 700.
- **Body:** Alef, weight 400, line-height 1.7.
- Scale (ratio 1.22): 46px / 38px / 31px / 25px / 21px / 17px / 15px.
- Load fonts from Google Fonts — all of them include Hebrew glyphs: `https://fonts.googleapis.com/css2?family=Alef:wght@400;700&display=swap`

## Layout

- Density: **comfortable**. Spacing scale: 4px, 8px, 12px, 16px, 24px, 32px, 48px, 72px.
- Content max width about 1180px; generous outer padding on desktop, 16px on mobile.
- Sidebars and navigation start on the **right** (inline-start). The primary action in a row sits at the inline-start or is visually dominant; secondary actions follow it.
- Use soft depth for grouping, but let borders, color and a 2px focus ring carry all state and hierarchy.

## Elevation & Depth

- Card shadow: `-6px 10px 24px rgba(120,70,90,0.10), 6px -6px 16px rgba(255,255,255,0.9)`
- Raised / hover shadow: `-10px 16px 34px rgba(120,70,90,0.14), 8px -8px 20px rgba(255,255,255,0.95)`
- Button shadow: `-3px 5px 12px rgba(47,85,212,0.28), inset 0 1px 0 rgba(255,255,255,0.25)`; on hover `-5px 8px 18px rgba(47,85,212,0.36), inset 0 1px 0 rgba(255,255,255,0.25)`
- Soft twin shadows like neumorphism, but every surface also gets a 1px visible border and a slightly lighter fill than the page, so edges never rely on shadow alone.

## Shapes

- Corner radius: small 14px, medium 20px, large 28px (cards). Buttons 999px, inputs 20px. Pills and badges are fully rounded.
- Border: 1px solid in the outline color.

## Motion & Micro-interaction

- Duration 220ms, easing `cubic-bezier(0.25, 0.8, 0.3, 1)`.
- Hover behaviour: **lift** (cards and buttons rise 2px).
- Respect `prefers-reduced-motion`: drop all transitions.

## Voice & Content Strategy

- All UI copy is Hebrew. Short, direct, second person plural or neutral (`התחילו`, `שמירה`), no English loanwords where a common Hebrew word exists.
- Buttons are verbs or verbal nouns: `שמירה`, `המשך לתשלום`, `הוספה לעגלה`.
- Error messages say what to do: `מספר טלפון צריך 10 ספרות, למשל 050-1234567`.

## Components

- **Buttons:** primary (filled primary), accent (filled secondary — at most one per view), secondary (surface-variant with outline), ghost (text only). Min height 44px. Directional icons inside buttons are mirrored.
- **Cards:** surface, outline border, large radius, card shadow. One card per screen may use the primary or accent fill to feature something.
- **Inputs:** surface background, outline border, medium radius, 44px. Focus: primary border plus a 3px primary ring at 30% opacity. Invalid: error border plus a message below in the error color.
- **Badges:** pill, small, bold. Status badges are a tinted background with a colored dot, never color alone.
- **Tables:** header row in muted small text, row dividers, numeric columns end-aligned with tabular LTR numbers.
- **Navigation:** sidebar on the right; active item tinted with primary at 12% and primary text.

## Do's and Don'ts

- Do combine soft shadows with a thin visible outline.
- Do keep text and buttons at AA contrast or better.
- Do show a clear focus ring on every interactive element.
- Do mark states (active, error) with color plus an icon.
- Don't leave borderless elements on a same-color page.
- Don't use pastels for text or icons.
- Don't remove the focus outline for looks.

## RTL & Hebrew Rules

- Set `<html lang="he" dir="rtl">` at the root. Never mirror the layout manually with `flex-direction: row-reverse` or `float: right`.
- Use logical CSS only: `margin-inline-start/end`, `padding-inline`, `inset-inline-start`, `border-inline-start`, `text-align: start/end`. In Tailwind: `ms-* me-* ps-* pe-* start-* end-* text-start text-end`, never `ml/mr/pl/pr/left/right`.
- Directional icons (arrows, chevrons, "next", "back", send) are mirrored with `transform: scaleX(-1)` under `[dir="rtl"]`. Non-directional icons (search, bell, cart, check) are never mirrored.
- Numbers, prices, phone numbers, IDs, codes and dates keep LTR order: wrap them in `<bdi>` or a span with `direction: ltr; unicode-bidi: isolate`. Use tabular numbers in tables.
- Currency: shekel sign before the number with no space — `₪1,240` — or after with a space — `1,240 ₪`. Pick one and keep it consistent. Thousands separator is a comma.
- Dates are `DD/MM/YYYY` (02/12/2026). Show the Hebrew date next to it when the audience is religious or institutional (e.g. כ״ב בכסלו תשפ״ז).
- Phone, email, URL and ID inputs get `dir="ltr"` but stay right-aligned inside the RTL form. Israeli mobile format: `050-1234567`.
- Hebrew has no capital letters: never rely on `text-transform: uppercase` for hierarchy — use weight, size and color. Avoid letter-spacing on Hebrew body text.
- Hebrew needs a slightly larger line-height than Latin (1.6–1.75 for body). Use a font that really contains Hebrew glyphs; never let Hebrew fall back to a system font next to a Latin web font.
- Gershayim and geresh are real characters: ״ and ׳ (מע״מ, ח״פ, יום ד׳), not straight quotes.
- Tables: first column is on the right; numeric columns align to the end (left). Sidebars sit on the right (inline-start). Breadcrumbs read right-to-left with a mirrored chevron.
- Charts keep the time axis running right-to-left only if the product does so everywhere; otherwise keep chart axes LTR and say so — be consistent.

## Reference CSS

Drop this into the project (or use `theme.css` from the same page, which also contains ready component classes such as `.rs-btn`, `.rs-card`, `.rs-input`).

```css
@import url("https://fonts.googleapis.com/css2?family=Alef:wght@400;700&display=swap");

:root {
  --rs-bg: #F6F1F4;
  --rs-bg-image: linear-gradient(to bottom left, #FDEFE6, #EEF1FB 60%);
  --rs-surface: #FFFCFB;
  --rs-surface-2: #F1E9EE;
  --rs-text: #18212F;
  --rs-text-muted: #4F4A5E;
  --rs-primary: #2F55D4;
  --rs-on-primary: #FFFFFF;
  --rs-accent: #B93A12;
  --rs-on-accent: #FFFFFF;
  --rs-border: #DCCFD8;
  --rs-success: #17734A;
  --rs-warning: #975A00;
  --rs-danger: #B42318;
  --rs-focus: #1D3FB0;
  --rs-font-display: "Alef", system-ui, "Segoe UI", Arial, sans-serif;
  --rs-font-body: "Alef", system-ui, "Segoe UI", Arial, sans-serif;
  --rs-font-mono: "IBM Plex Mono", "Alef", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --rs-heading-weight: 700;
  --rs-body-weight: 400;
  --rs-heading-tracking: 0;
  --rs-heading-line: 1.2;
  --rs-line: 1.7;
  --rs-text-display: 46px;
  --rs-text-h1: 38px;
  --rs-text-h2: 31px;
  --rs-text-h3: 25px;
  --rs-text-lg: 21px;
  --rs-text-base: 17px;
  --rs-text-sm: 15px;
  --rs-text-xs: 13px;
  --rs-radius-sm: 14px;
  --rs-radius-md: 20px;
  --rs-radius-lg: 28px;
  --rs-radius-pill: 999px;
  --rs-btn-radius: 999px;
  --rs-input-radius: 20px;
  --rs-border-width: 1px;
  --rs-border-style: solid;
  --rs-shadow-card: -6px 10px 24px rgba(120,70,90,0.10), 6px -6px 16px rgba(255,255,255,0.9);
  --rs-shadow-raised: -10px 16px 34px rgba(120,70,90,0.14), 8px -8px 20px rgba(255,255,255,0.95);
  --rs-shadow-button: -3px 5px 12px rgba(47,85,212,0.28), inset 0 1px 0 rgba(255,255,255,0.25);
  --rs-shadow-button-hover: -5px 8px 18px rgba(47,85,212,0.36), inset 0 1px 0 rgba(255,255,255,0.25);
  --rs-shadow-input: inset -2px 2px 5px rgba(60,80,120,0.10);
  --rs-blur: 0px;
  --rs-duration: 220ms;
  --rs-easing: cubic-bezier(0.25, 0.8, 0.3, 1);
  --rs-hover-transform: translateY(-2px);
  --rs-icon-stroke: 2;
  --rs-space-1: 4px;
  --rs-space-2: 8px;
  --rs-space-3: 12px;
  --rs-space-4: 16px;
  --rs-space-5: 24px;
  --rs-space-6: 32px;
  --rs-space-7: 48px;
  --rs-space-8: 72px;
}

/* style-specific details (selectors are from theme.css) */
.rs-app .rs-btn:focus-visible, .rs-app .rs-input:focus-visible, .rs-app .rs-select:focus-visible, .rs-app .rs-textarea:focus-visible { outline: 2px solid var(--rs-focus); outline-offset: 2px; }
```

## Credits

Adapted to Hebrew / RTL from UI UX Pro Max (https://github.com/nextlevelbuilder/ui-ux-pro-max-skill), MIT license.
