---
version: alpha
name: "Tonal Expressive (RTL)"
description: "Containers in tones of one hue, big rounded shapes and pill buttons that bounce on touch. Playful yet consistent and systematic."
colors:
  primary: "#6A3FD0"
  on-primary: "#FFFFFF"
  secondary: "#FFD8E8"
  on-secondary: "#5A1238"
  neutral: "#FDF8FF"
  surface: "#F4ECFA"
  surface-variant: "#EADDFF"
  on-surface: "#1D1A24"
  on-surface-variant: "#4F4859"
  outline: "#CEC3DA"
  success: "#1E7A45"
  warning: "#875D00"
  error: "#B3261E"
typography:
  display-lg:
    fontFamily: "M PLUS Rounded 1c"
    fontSize: 59px
    fontWeight: 800
    lineHeight: 1.15
  headline-lg:
    fontFamily: "M PLUS Rounded 1c"
    fontSize: 46px
    fontWeight: 800
    lineHeight: 1.15
  headline-md:
    fontFamily: "M PLUS Rounded 1c"
    fontSize: 35px
    fontWeight: 800
    lineHeight: 1.2
  title-md:
    fontFamily: "M PLUS Rounded 1c"
    fontSize: 27px
    fontWeight: 800
    lineHeight: 1.25
  body-lg:
    fontFamily: "Rubik"
    fontSize: 21px
    fontWeight: 400
    lineHeight: 1.6
  body-md:
    fontFamily: "Rubik"
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.6
  label-md:
    fontFamily: "Rubik"
    fontSize: 14px
    fontWeight: 600
    lineHeight: 1.4
rounded:
  sm: 12px
  md: 20px
  lg: 32px
  button: 20px
  input: 20px
  full: 999px
spacing:
  xs: 4px
  sm: 8px
  md: 16px
  lg: 24px
  xl: 48px
motion:
  standard:
    duration: 350ms
    timingFunction: "cubic-bezier(0.34, 1.56, 0.64, 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}"
---

# Tonal Expressive — Hebrew / RTL design system

## Overview

Containers in tones of one hue, big rounded shapes and pill buttons that bounce on touch. Playful yet consistent and systematic.

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: consumer mobile apps, personal productivity tools, products for a young audience.

## Colors

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

- **Primary (#6A3FD0):** the main action color — primary buttons, links, active navigation, focus rings. Text on it is #FFFFFF.
- **Secondary / accent (#FFD8E8):** highlights, badges, the one featured card per screen. Text on it is #5A1238.
- **Neutral / background (#FDF8FF):** the page itself.
- **Surface (#F4ECFA) and surface-variant (#EADDFF):** cards, inputs, sidebars; the variant for secondary buttons, tabs and table hover.
- **On-surface (#1D1A24) and on-surface-variant (#4F4859):** body text and secondary text. Both pass WCAG AA (4.5:1) on every surface.
- **Outline (#CEC3DA):** borders and dividers.
- **Status:** success #1E7A45, warning #875D00, error #B3261E.

## Typography

- **Display / headings:** M PLUS Rounded 1c, weight 800.
- **Body:** Rubik, weight 400, line-height 1.6.
- Scale (ratio 1.3): 59px / 46px / 35px / 27px / 21px / 16px / 14px.
- Load fonts from Google Fonts — all of them include Hebrew glyphs: `https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@700;800&family=Rubik:wght@400;500&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.
- Group content in large tinted containers with generous 28–40px radii, mixing one oversized hero shape with pill buttons and chips.

## Elevation & Depth

- Card shadow: `none`
- Raised / hover shadow: `-2px 6px 18px rgba(106,63,208,0.14)`
- Button shadow: `none`; on hover `none`
- Tonal elevation: depth comes from stepping up the tint of the container (surface, surface-variant), not from shadows.

## Shapes

- Corner radius: small 12px, medium 20px, large 32px (cards). Buttons 20px, inputs 20px. Pills and badges are fully rounded.
- Border: 0px solid in the outline color — i.e. no borders; separation comes from color and shadow.

## Motion & Micro-interaction

- Duration 350ms, easing `cubic-bezier(0.34, 1.56, 0.64, 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 use light tonal containers of the brand hue instead of shadows.
- Do make buttons and chips pill-shaped.
- Do use short, springy motion on press and open.
- Do use one oversized, expressive shape per screen.
- Don't use more than one brand hue and its tones.
- Don't mix sharp and round corners without intent.
- Don't use long bounces that slow the user down.

## 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=M+PLUS+Rounded+1c:wght@700;800&family=Rubik:wght@400;500&display=swap");

:root {
  --rs-bg: #FDF8FF;
  --rs-bg-image: none;
  --rs-surface: #F4ECFA;
  --rs-surface-2: #EADDFF;
  --rs-text: #1D1A24;
  --rs-text-muted: #4F4859;
  --rs-primary: #6A3FD0;
  --rs-on-primary: #FFFFFF;
  --rs-accent: #FFD8E8;
  --rs-on-accent: #5A1238;
  --rs-border: #CEC3DA;
  --rs-success: #1E7A45;
  --rs-warning: #875D00;
  --rs-danger: #B3261E;
  --rs-focus: #6A3FD0;
  --rs-font-display: "M PLUS Rounded 1c", system-ui, "Segoe UI", Arial, sans-serif;
  --rs-font-body: "Rubik", system-ui, "Segoe UI", Arial, sans-serif;
  --rs-font-mono: "IBM Plex Mono", "Rubik", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --rs-heading-weight: 800;
  --rs-body-weight: 400;
  --rs-heading-tracking: 0;
  --rs-heading-line: 1.15;
  --rs-line: 1.6;
  --rs-text-display: 59px;
  --rs-text-h1: 46px;
  --rs-text-h2: 35px;
  --rs-text-h3: 27px;
  --rs-text-lg: 21px;
  --rs-text-base: 16px;
  --rs-text-sm: 14px;
  --rs-text-xs: 12px;
  --rs-radius-sm: 12px;
  --rs-radius-md: 20px;
  --rs-radius-lg: 32px;
  --rs-radius-pill: 999px;
  --rs-btn-radius: 20px;
  --rs-input-radius: 20px;
  --rs-border-width: 0px;
  --rs-border-style: solid;
  --rs-shadow-card: none;
  --rs-shadow-raised: -2px 6px 18px rgba(106,63,208,0.14);
  --rs-shadow-button: none;
  --rs-shadow-button-hover: none;
  --rs-shadow-input: none;
  --rs-blur: 0px;
  --rs-duration: 350ms;
  --rs-easing: cubic-bezier(0.34, 1.56, 0.64, 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 { border-radius: var(--rs-radius-pill); } .rs-app .rs-btn:active { transform: scale(0.96); } .rs-app .rs-card--primary { border-radius: 40px 40px 40px 12px; }
```

## Credits

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