---
version: alpha
name: "Liquid Glass (RTL)"
description: "Light, clear glass floating over a colorful backdrop and bending the light beneath it. Shiny edges, a specular glint in the corner and a light, clean feel."
colors:
  primary: "#0058D6"
  on-primary: "#FFFFFF"
  secondary: "#FF5C8A"
  on-secondary: "#1A0610"
  neutral: "#EAF1FB"
  surface: "#FFFFFF8C"
  surface-variant: "#FFFFFF73"
  on-surface: "#0E1626"
  on-surface-variant: "#394559"
  outline: "#FFFFFFCC"
  success: "#157347"
  warning: "#955800"
  error: "#B42318"
typography:
  display-lg:
    fontFamily: "Bellefair"
    fontSize: 59px
    fontWeight: 400
    lineHeight: 1.15
  headline-lg:
    fontFamily: "Bellefair"
    fontSize: 46px
    fontWeight: 400
    lineHeight: 1.15
  headline-md:
    fontFamily: "Bellefair"
    fontSize: 35px
    fontWeight: 400
    lineHeight: 1.2
  title-md:
    fontFamily: "Bellefair"
    fontSize: 27px
    fontWeight: 400
    lineHeight: 1.25
  body-lg:
    fontFamily: "Noto Sans Hebrew"
    fontSize: 21px
    fontWeight: 400
    lineHeight: 1.65
  body-md:
    fontFamily: "Noto Sans Hebrew"
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.65
  label-md:
    fontFamily: "Noto Sans Hebrew"
    fontSize: 14px
    fontWeight: 600
    lineHeight: 1.4
rounded:
  sm: 14px
  md: 22px
  lg: 30px
  button: 22px
  input: 22px
  full: 999px
spacing:
  xs: 5px
  sm: 10px
  md: 20px
  lg: 30px
  xl: 60px
motion:
  standard:
    duration: 300ms
    timingFunction: "cubic-bezier(0.32, 0.72, 0, 1)"
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.label-md}"
    rounded: "{rounded.button}"
    height: 44px
    padding: 30px
  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: 30px
  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}"
---

# Liquid Glass — Hebrew / RTL design system

## Overview

Light, clear glass floating over a colorful backdrop and bending the light beneath it. Shiny edges, a specular glint in the corner and a light, clean feel.

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: modern mobile apps, media and photo players, consumer product pages.

## Colors

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

- **Primary (#0058D6):** the main action color — primary buttons, links, active navigation, focus rings. Text on it is #FFFFFF.
- **Secondary / accent (#FF5C8A):** highlights, badges, the one featured card per screen. Text on it is #1A0610.
- **Neutral / background (#EAF1FB):** the page itself (with a decorative background: `radial-gradient(700px 500px at 90% 0%, rgba(255,140,190,0.55), transparent 60%), radial-gradient(700px 520px at 5% 30%, rgba(90,200,250,0.55), transparent 60%), radial-gradient(800px 600px at 60% 110%, rgba(255,200,90,0.45), transparent 60%), radial-gradient(600px 500px at 30% 70%, rgba(150,120,255,0.35), transparent 65%)`).
- **Surface (#FFFFFF8C) and surface-variant (#FFFFFF73):** cards, inputs, sidebars; the variant for secondary buttons, tabs and table hover.
- **On-surface (#0E1626) and on-surface-variant (#394559):** body text and secondary text. Both pass WCAG AA (4.5:1) on every surface.
- **Outline (#FFFFFFCC):** borders and dividers.
- **Status:** success #157347, warning #955800, error #B42318.

## Typography

- **Display / headings:** Bellefair, weight 400.
- **Body:** Noto Sans Hebrew, weight 400, line-height 1.65.
- 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=Bellefair&family=Noto+Sans+Hebrew:wght@300;400;500;600&display=swap`

## Layout

- Density: **airy**. Spacing scale: 5px, 10px, 15px, 20px, 30px, 40px, 60px, 90px.
- 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.
- Float glass panels over the colorful blooms and keep content panels solid enough that text never sits directly on a busy area.

## Elevation & Depth

- Card shadow: `inset -1px 1px 0 rgba(255,255,255,0.95), inset 1px -1px 0 rgba(255,255,255,0.35), -6px 14px 34px rgba(30,60,120,0.14)`
- Raised / hover shadow: `inset -1px 1px 0 rgba(255,255,255,1), inset 1px -1px 0 rgba(255,255,255,0.4), -10px 24px 50px rgba(30,60,120,0.20)`
- Button shadow: `inset 0 1px 0 rgba(255,255,255,0.5), -3px 8px 18px rgba(0,88,214,0.30)`; on hover `inset 0 1px 0 rgba(255,255,255,0.6), -4px 12px 26px rgba(0,88,214,0.40)`
- Translucent surfaces use `backdrop-filter: blur(24px)`.
- Clear white glass (about 50%) with a strong backdrop blur and saturation boost, a bright top-right specular rim and a faint bottom-left rim; a soft, cool shadow lifts it off the colorful backdrop.

## Shapes

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

## Motion & Micro-interaction

- Duration 300ms, easing `cubic-bezier(0.32, 0.72, 0, 1)`.
- Hover behaviour: **glow** (a soft glow appears, no movement).
- 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 roughly 50% white glass with blur and a saturation boost.
- Do add a bright glint on the top-right edge of every surface.
- Do use a backdrop of vivid color blooms so there is something to refract.
- Do keep text dark and test it against the most colorful area.
- Don't stack glass on glass on glass.
- Don't darken the glass — this is the light variant.
- Don't put thin small text over a busy blurred area.

## 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=Bellefair&family=Noto+Sans+Hebrew:wght@300;400;500;600&display=swap");

:root {
  --rs-bg: #EAF1FB;
  --rs-bg-image: radial-gradient(700px 500px at 90% 0%, rgba(255,140,190,0.55), transparent 60%), radial-gradient(700px 520px at 5% 30%, rgba(90,200,250,0.55), transparent 60%), radial-gradient(800px 600px at 60% 110%, rgba(255,200,90,0.45), transparent 60%), radial-gradient(600px 500px at 30% 70%, rgba(150,120,255,0.35), transparent 65%);
  --rs-surface: rgba(255,255,255,0.55);
  --rs-surface-2: rgba(255,255,255,0.45);
  --rs-text: #0E1626;
  --rs-text-muted: #394559;
  --rs-primary: #0058D6;
  --rs-on-primary: #FFFFFF;
  --rs-accent: #FF5C8A;
  --rs-on-accent: #1A0610;
  --rs-border: rgba(255,255,255,0.8);
  --rs-success: #157347;
  --rs-warning: #955800;
  --rs-danger: #B42318;
  --rs-focus: #0058D6;
  --rs-font-display: "Bellefair", "Times New Roman", serif;
  --rs-font-body: "Noto Sans Hebrew", system-ui, "Segoe UI", Arial, sans-serif;
  --rs-font-mono: "IBM Plex Mono", "Noto Sans Hebrew", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --rs-heading-weight: 400;
  --rs-body-weight: 400;
  --rs-heading-tracking: 0;
  --rs-heading-line: 1.15;
  --rs-line: 1.65;
  --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: 14px;
  --rs-radius-md: 22px;
  --rs-radius-lg: 30px;
  --rs-radius-pill: 999px;
  --rs-btn-radius: 22px;
  --rs-input-radius: 22px;
  --rs-border-width: 1px;
  --rs-border-style: solid;
  --rs-shadow-card: inset -1px 1px 0 rgba(255,255,255,0.95), inset 1px -1px 0 rgba(255,255,255,0.35), -6px 14px 34px rgba(30,60,120,0.14);
  --rs-shadow-raised: inset -1px 1px 0 rgba(255,255,255,1), inset 1px -1px 0 rgba(255,255,255,0.4), -10px 24px 50px rgba(30,60,120,0.20);
  --rs-shadow-button: inset 0 1px 0 rgba(255,255,255,0.5), -3px 8px 18px rgba(0,88,214,0.30);
  --rs-shadow-button-hover: inset 0 1px 0 rgba(255,255,255,0.6), -4px 12px 26px rgba(0,88,214,0.40);
  --rs-shadow-input: inset -1px 2px 4px rgba(30,60,120,0.10);
  --rs-blur: 24px;
  --rs-duration: 300ms;
  --rs-easing: cubic-bezier(0.32, 0.72, 0, 1);
  --rs-hover-transform: none;
  --rs-icon-stroke: 1.5;
  --rs-space-1: 5px;
  --rs-space-2: 10px;
  --rs-space-3: 15px;
  --rs-space-4: 20px;
  --rs-space-5: 30px;
  --rs-space-6: 40px;
  --rs-space-7: 60px;
  --rs-space-8: 90px;
}

/* style-specific details (selectors are from theme.css) */
.rs-app .rs-card, .rs-app .rs-nav { -webkit-backdrop-filter: blur(var(--rs-blur)) saturate(1.8); backdrop-filter: blur(var(--rs-blur)) saturate(1.8); background-image: linear-gradient(to bottom left, rgba(255,255,255,0.7), rgba(255,255,255,0) 40%); } .rs-app .rs-btn { background-image: linear-gradient(to bottom, rgba(255,255,255,0.28), rgba(255,255,255,0) 55%); } .rs-app .rs-btn--ghost { background-image: none; }
```

## Credits

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