---
version: alpha
name: "E-Ink / Paper (RTL)"
description: "Warm gray paper and black ink, with no color and no motion. A comfortable serif that invites long reading, like an e-reader."
colors:
  primary: "#1A1A1A"
  on-primary: "#F6F4EF"
  secondary: "#3A3A3A"
  on-secondary: "#F6F4EF"
  neutral: "#EFECE5"
  surface: "#F6F4EF"
  surface-variant: "#E4E0D6"
  on-surface: "#1A1A1A"
  on-surface-variant: "#4A4A4A"
  outline: "#B9B3A6"
  success: "#2B2B2B"
  warning: "#3D3D3D"
  error: "#1A1A1A"
typography:
  display-lg:
    fontFamily: "Libertinus Serif"
    fontSize: 45px
    fontWeight: 700
    lineHeight: 1.25
  headline-lg:
    fontFamily: "Libertinus Serif"
    fontSize: 37px
    fontWeight: 700
    lineHeight: 1.25
  headline-md:
    fontFamily: "Libertinus Serif"
    fontSize: 31px
    fontWeight: 700
    lineHeight: 1.2
  title-md:
    fontFamily: "Libertinus Serif"
    fontSize: 26px
    fontWeight: 700
    lineHeight: 1.25
  body-lg:
    fontFamily: "Libertinus Serif"
    fontSize: 22px
    fontWeight: 400
    lineHeight: 1.8
  body-md:
    fontFamily: "Libertinus Serif"
    fontSize: 18px
    fontWeight: 400
    lineHeight: 1.8
  label-md:
    fontFamily: "Libertinus Serif"
    fontSize: 16px
    fontWeight: 600
    lineHeight: 1.4
rounded:
  sm: 2px
  md: 2px
  lg: 4px
  button: 2px
  input: 2px
  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}"
---

# E-Ink / Paper — Hebrew / RTL design system

## Overview

Warm gray paper and black ink, with no color and no motion. A comfortable serif that invites long reading, like an e-reader.

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: libraries and written lessons, long-form article sites, document readers.

## Colors

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

- **Primary (#1A1A1A):** the main action color — primary buttons, links, active navigation, focus rings. Text on it is #F6F4EF.
- **Secondary / accent (#3A3A3A):** highlights, badges, the one featured card per screen. Text on it is #F6F4EF.
- **Neutral / background (#EFECE5):** the page itself.
- **Surface (#F6F4EF) and surface-variant (#E4E0D6):** cards, inputs, sidebars; the variant for secondary buttons, tabs and table hover.
- **On-surface (#1A1A1A) and on-surface-variant (#4A4A4A):** body text and secondary text. Both pass WCAG AA (4.5:1) on every surface.
- **Outline (#B9B3A6):** borders and dividers.
- **Status:** success #2B2B2B, warning #3D3D3D, error #1A1A1A.

## Typography

- **Display / headings:** Libertinus Serif, weight 700.
- **Body:** Libertinus Serif, weight 400, line-height 1.8.
- Scale (ratio 1.2): 45px / 37px / 31px / 26px / 22px / 18px / 16px.
- Load fonts from Google Fonts — all of them include Hebrew glyphs: `https://fonts.googleapis.com/css2?family=Libertinus+Serif:wght@400;600;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.
- Keep a single reading column of about 65 characters; change screens instantly, like turning a page.

## Elevation & Depth

- Card shadow: `none`
- Raised / hover shadow: `none`
- Button shadow: `none`; on hover `none`

## Shapes

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

## Motion & Micro-interaction

- Duration 0ms, easing `linear`.
- 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 black ink on warm paper, with no color at all.
- Do switch states instantly, with no animation or fade.
- Do use one narrow, comfortable reading column.
- Do use 18px body text with generous line height.
- Don't use shadows, blur or transparency.
- Don't use glaring white or pure black backgrounds.
- Don't signal states with color; use a mark and a word.

## 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=Libertinus+Serif:wght@400;600;700&display=swap");

:root {
  --rs-bg: #EFECE5;
  --rs-bg-image: none;
  --rs-surface: #F6F4EF;
  --rs-surface-2: #E4E0D6;
  --rs-text: #1A1A1A;
  --rs-text-muted: #4A4A4A;
  --rs-primary: #1A1A1A;
  --rs-on-primary: #F6F4EF;
  --rs-accent: #3A3A3A;
  --rs-on-accent: #F6F4EF;
  --rs-border: #B9B3A6;
  --rs-success: #2B2B2B;
  --rs-warning: #3D3D3D;
  --rs-danger: #1A1A1A;
  --rs-focus: #1A1A1A;
  --rs-font-display: "Libertinus Serif", "Times New Roman", serif;
  --rs-font-body: "Libertinus Serif", "Times New Roman", serif;
  --rs-font-mono: "IBM Plex Mono", "Libertinus Serif", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --rs-heading-weight: 700;
  --rs-body-weight: 400;
  --rs-heading-tracking: 0;
  --rs-heading-line: 1.25;
  --rs-line: 1.8;
  --rs-text-display: 45px;
  --rs-text-h1: 37px;
  --rs-text-h2: 31px;
  --rs-text-h3: 26px;
  --rs-text-lg: 22px;
  --rs-text-base: 18px;
  --rs-text-sm: 16px;
  --rs-text-xs: 14px;
  --rs-radius-sm: 2px;
  --rs-radius-md: 2px;
  --rs-radius-lg: 4px;
  --rs-radius-pill: 999px;
  --rs-btn-radius: 2px;
  --rs-input-radius: 2px;
  --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: 0ms;
  --rs-easing: linear;
  --rs-hover-transform: none;
  --rs-icon-stroke: 1.5;
  --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;
}
```

## Credits

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