---
version: alpha
name: "Editorial (RTL)"
description: "Like a weekend magazine: huge serif headlines, cream paper, thin black rules and sharp corners, with a single rust accent. Typography is the design."
colors:
  primary: "#1C1917"
  on-primary: "#F6F1E7"
  secondary: "#B4441F"
  on-secondary: "#FFFFFF"
  neutral: "#F6F1E7"
  surface: "#FFFDF8"
  surface-variant: "#EDE5D3"
  on-surface: "#1C1917"
  on-surface-variant: "#57534E"
  outline: "#1C1917"
  success: "#3F6212"
  warning: "#92400E"
  error: "#9F1239"
typography:
  display-lg:
    fontFamily: "Frank Ruhl Libre"
    fontSize: 97px
    fontWeight: 900
    lineHeight: 1.05
  headline-lg:
    fontFamily: "Frank Ruhl Libre"
    fontSize: 69px
    fontWeight: 900
    lineHeight: 1.05
  headline-md:
    fontFamily: "Frank Ruhl Libre"
    fontSize: 49px
    fontWeight: 900
    lineHeight: 1.2
  title-md:
    fontFamily: "Frank Ruhl Libre"
    fontSize: 35px
    fontWeight: 900
    lineHeight: 1.25
  body-lg:
    fontFamily: "David Libre"
    fontSize: 25px
    fontWeight: 400
    lineHeight: 1.7
  body-md:
    fontFamily: "David Libre"
    fontSize: 18px
    fontWeight: 400
    lineHeight: 1.7
  label-md:
    fontFamily: "David Libre"
    fontSize: 16px
    fontWeight: 600
    lineHeight: 1.4
rounded:
  sm: 0px
  md: 0px
  lg: 0px
  button: 0px
  input: 0px
  full: 999px
spacing:
  xs: 5px
  sm: 10px
  md: 20px
  lg: 30px
  xl: 60px
motion:
  standard:
    duration: 180ms
    timingFunction: "ease"
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}"
---

# Editorial — Hebrew / RTL design system

## Overview

Like a weekend magazine: huge serif headlines, cream paper, thin black rules and sharp corners, with a single rust accent. Typography is the design.

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: magazines and blogs, studios and portfolios, boutique brands.

## Colors

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

- **Primary (#1C1917):** the main action color — primary buttons, links, active navigation, focus rings. Text on it is #F6F1E7.
- **Secondary / accent (#B4441F):** highlights, badges, the one featured card per screen. Text on it is #FFFFFF.
- **Neutral / background (#F6F1E7):** the page itself.
- **Surface (#FFFDF8) and surface-variant (#EDE5D3):** cards, inputs, sidebars; the variant for secondary buttons, tabs and table hover.
- **On-surface (#1C1917) and on-surface-variant (#57534E):** body text and secondary text. Both pass WCAG AA (4.5:1) on every surface.
- **Outline (#1C1917):** borders and dividers.
- **Status:** success #3F6212, warning #92400E, error #9F1239.

## Typography

- **Display / headings:** Frank Ruhl Libre, weight 900, letter-spacing -0.01em.
- **Body:** David Libre, weight 400, line-height 1.7.
- Scale (ratio 1.4): 97px / 69px / 49px / 35px / 25px / 18px / 16px.
- Load fonts from Google Fonts — all of them include Hebrew glyphs: `https://fonts.googleapis.com/css2?family=Frank+Ruhl+Libre:wght@500;700;900&family=David+Libre:wght@400;500;700&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.
- Use asymmetric column grids and big type contrast (display headline next to small body); let rules, not boxes, divide content.

## Elevation & Depth

- Card shadow: `none`
- Raised / hover shadow: `none`
- Button shadow: `none`; on hover `none`
- Completely flat. Structure comes from 1px black rules, column grids and the size contrast between headline and body.

## Shapes

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

## Motion & Micro-interaction

- Duration 180ms, easing `ease`.
- Hover behaviour: **none** (color change only).
- 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 create huge contrast between headline and body — display headlines at weight 900.
- Do separate with thin black rules instead of shadowed cards.
- Do keep every corner sharp.
- Do use the rust accent for one important thing per screen.
- Don't use shadows, gradients or rounded corners.
- Don't set body text in a sans-serif — it breaks the character.
- Don't let text lines run longer than about 70 characters.

## 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=Frank+Ruhl+Libre:wght@500;700;900&family=David+Libre:wght@400;500;700&display=swap");

:root {
  --rs-bg: #F6F1E7;
  --rs-bg-image: none;
  --rs-surface: #FFFDF8;
  --rs-surface-2: #EDE5D3;
  --rs-text: #1C1917;
  --rs-text-muted: #57534E;
  --rs-primary: #1C1917;
  --rs-on-primary: #F6F1E7;
  --rs-accent: #B4441F;
  --rs-on-accent: #FFFFFF;
  --rs-border: #1C1917;
  --rs-success: #3F6212;
  --rs-warning: #92400E;
  --rs-danger: #9F1239;
  --rs-focus: #1C1917;
  --rs-font-display: "Frank Ruhl Libre", "Times New Roman", serif;
  --rs-font-body: "David Libre", "Times New Roman", serif;
  --rs-font-mono: "IBM Plex Mono", "David Libre", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --rs-heading-weight: 900;
  --rs-body-weight: 400;
  --rs-heading-tracking: -0.01em;
  --rs-heading-line: 1.05;
  --rs-line: 1.7;
  --rs-text-display: 97px;
  --rs-text-h1: 69px;
  --rs-text-h2: 49px;
  --rs-text-h3: 35px;
  --rs-text-lg: 25px;
  --rs-text-base: 18px;
  --rs-text-sm: 16px;
  --rs-text-xs: 14px;
  --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: 1px;
  --rs-border-style: solid;
  --rs-shadow-card: none;
  --rs-shadow-raised: none;
  --rs-shadow-button: none;
  --rs-shadow-button-hover: none;
  --rs-shadow-input: none;
  --rs-blur: 0px;
  --rs-duration: 180ms;
  --rs-easing: ease;
  --rs-hover-transform: none;
  --rs-icon-stroke: 1.25;
  --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;
}
```
