---
version: alpha
name: "Bauhaus (RTL)"
description: "Primary red, yellow and blue with black, circles and squares on a functional grid. Form follows function — just like the 1919 school."
colors:
  primary: "#D02020"
  on-primary: "#FFFFFF"
  secondary: "#1040C0"
  on-secondary: "#FFFFFF"
  neutral: "#F0F0F0"
  surface: "#FFFFFF"
  surface-variant: "#F0C020"
  on-surface: "#121212"
  on-surface-variant: "#3A3A3A"
  outline: "#121212"
  success: "#1B7A3A"
  warning: "#9A5A00"
  error: "#B01818"
typography:
  display-lg:
    fontFamily: "Miriam Libre"
    fontSize: 72px
    fontWeight: 700
    lineHeight: 1.05
  headline-lg:
    fontFamily: "Miriam Libre"
    fontSize: 53px
    fontWeight: 700
    lineHeight: 1.05
  headline-md:
    fontFamily: "Miriam Libre"
    fontSize: 39px
    fontWeight: 700
    lineHeight: 1.2
  title-md:
    fontFamily: "Miriam Libre"
    fontSize: 29px
    fontWeight: 700
    lineHeight: 1.25
  body-lg:
    fontFamily: "Noto Sans Hebrew"
    fontSize: 22px
    fontWeight: 400
    lineHeight: 1.6
  body-md:
    fontFamily: "Noto Sans Hebrew"
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.6
  label-md:
    fontFamily: "Noto Sans Hebrew"
    fontSize: 14px
    fontWeight: 600
    lineHeight: 1.4
rounded:
  sm: 0px
  md: 0px
  lg: 0px
  button: 0px
  input: 0px
  full: 999px
spacing:
  xs: 4px
  sm: 8px
  md: 16px
  lg: 24px
  xl: 48px
motion:
  standard:
    duration: 0ms
    timingFunction: "linear"
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}"
---

# Bauhaus — Hebrew / RTL design system

## Overview

Primary red, yellow and blue with black, circles and squares on a functional grid. Form follows function — just like the 1919 school.

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: museums and architecture, design-led brands, app onboarding flows.

## Colors

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

- **Primary (#D02020):** the main action color — primary buttons, links, active navigation, focus rings. Text on it is #FFFFFF.
- **Secondary / accent (#1040C0):** highlights, badges, the one featured card per screen. Text on it is #FFFFFF.
- **Neutral / background (#F0F0F0):** the page itself.
- **Surface (#FFFFFF) and surface-variant (#F0C020):** cards, inputs, sidebars; the variant for secondary buttons, tabs and table hover.
- **On-surface (#121212) and on-surface-variant (#3A3A3A):** body text and secondary text. Both pass WCAG AA (4.5:1) on every surface.
- **Outline (#121212):** borders and dividers.
- **Status:** success #1B7A3A, warning #9A5A00, error #B01818.

## Typography

- **Display / headings:** Miriam Libre, weight 700.
- **Body:** Noto Sans Hebrew, weight 400, line-height 1.6.
- Scale (ratio 1.35): 72px / 53px / 39px / 29px / 22px / 16px / 14px.
- Load fonts from Google Fonts — all of them include Hebrew glyphs: `https://fonts.googleapis.com/css2?family=Miriam+Libre:wght@700&family=Noto+Sans+Hebrew:wght@400;500;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 a strict modular grid of square blocks, color-block whole sections in one primary, and mark each card with a single circle, square or triangle.

## Elevation & Depth

- Card shadow: `none`
- Raised / hover shadow: `-6px 6px 0 #121212`
- Button shadow: `-4px 4px 0 #121212`; on hover `0 0 0 #121212`
- Square cards are flat with a geometric marker in the corner; only buttons and hovered cards cast a hard black offset (down-left in RTL), and buttons press flat instantly.

## Shapes

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

## Motion & Micro-interaction

- Duration 0ms, easing `linear`.
- Hover behaviour: **press** (buttons move into their hard shadow, the shadow shrinks).
- 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 primaries only: red, yellow, blue, plus black and white.
- Do mark each card with one geometric shape — circle, square or triangle.
- Do square corners on cards, pill shape on buttons.
- Do use a strict modular grid and color-block whole sections.
- Don't use gradients, soft shadows or in-between tints.
- Don't add decoration — every shape needs a job.
- Don't put white text on yellow.

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

:root {
  --rs-bg: #F0F0F0;
  --rs-bg-image: none;
  --rs-surface: #FFFFFF;
  --rs-surface-2: #F0C020;
  --rs-text: #121212;
  --rs-text-muted: #3A3A3A;
  --rs-primary: #D02020;
  --rs-on-primary: #FFFFFF;
  --rs-accent: #1040C0;
  --rs-on-accent: #FFFFFF;
  --rs-border: #121212;
  --rs-success: #1B7A3A;
  --rs-warning: #9A5A00;
  --rs-danger: #B01818;
  --rs-focus: #1040C0;
  --rs-font-display: "Miriam Libre", system-ui, "Segoe UI", Arial, sans-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: 700;
  --rs-body-weight: 400;
  --rs-heading-tracking: 0;
  --rs-heading-line: 1.05;
  --rs-line: 1.6;
  --rs-text-display: 72px;
  --rs-text-h1: 53px;
  --rs-text-h2: 39px;
  --rs-text-h3: 29px;
  --rs-text-lg: 22px;
  --rs-text-base: 16px;
  --rs-text-sm: 14px;
  --rs-text-xs: 12px;
  --rs-radius-sm: 0px;
  --rs-radius-md: 0px;
  --rs-radius-lg: 0px;
  --rs-radius-pill: 999px;
  --rs-btn-radius: 0px;
  --rs-input-radius: 0px;
  --rs-border-width: 2px;
  --rs-border-style: solid;
  --rs-shadow-card: none;
  --rs-shadow-raised: -6px 6px 0 #121212;
  --rs-shadow-button: -4px 4px 0 #121212;
  --rs-shadow-button-hover: 0 0 0 #121212;
  --rs-shadow-input: none;
  --rs-blur: 0px;
  --rs-duration: 0ms;
  --rs-easing: linear;
  --rs-hover-transform: translate(-3px, 3px);
  --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-btn{border-radius:999px}.rs-card{position:relative}.rs-card::after{content:"";position:absolute;inset-block-start:-12px;inset-inline-end:-12px;inline-size:26px;block-size:26px;border-radius:50%;background:#D02020;border:2px solid #121212;pointer-events:none}.rs-card:nth-child(3n+2)::after{border-radius:0;background:#1040C0}.rs-card:nth-child(3n)::after{border:0;border-radius:0;background:#F0C020;clip-path:polygon(50% 0, 100% 100%, 0 100%)}.rs-card--primary::after{background:#F0C020}.rs-card--flat::after{display:none}
```

## Credits

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