---
version: alpha
name: "Dark Dashboard (RTL)"
description: "Dark, dense and precise. Lots of data without noise, tabular numbers, color only where it means something. Feels like a developer or analyst tool."
colors:
  primary: "#60A5FA"
  on-primary: "#0A0C10"
  secondary: "#34D399"
  on-secondary: "#0A0C10"
  neutral: "#0A0C10"
  surface: "#12161C"
  surface-variant: "#1A1F27"
  on-surface: "#E6EDF3"
  on-surface-variant: "#8D99A8"
  outline: "#262C36"
  success: "#3FB950"
  warning: "#D29922"
  error: "#F85149"
typography:
  display-lg:
    fontFamily: "IBM Plex Sans Hebrew"
    fontSize: 37px
    fontWeight: 600
    lineHeight: 1.2
  headline-lg:
    fontFamily: "IBM Plex Sans Hebrew"
    fontSize: 31px
    fontWeight: 600
    lineHeight: 1.2
  headline-md:
    fontFamily: "IBM Plex Sans Hebrew"
    fontSize: 26px
    fontWeight: 600
    lineHeight: 1.2
  title-md:
    fontFamily: "IBM Plex Sans Hebrew"
    fontSize: 22px
    fontWeight: 600
    lineHeight: 1.25
  body-lg:
    fontFamily: "IBM Plex Sans Hebrew"
    fontSize: 18px
    fontWeight: 400
    lineHeight: 1.55
  body-md:
    fontFamily: "IBM Plex Sans Hebrew"
    fontSize: 15px
    fontWeight: 400
    lineHeight: 1.55
  label-md:
    fontFamily: "IBM Plex Sans Hebrew"
    fontSize: 13px
    fontWeight: 600
    lineHeight: 1.4
rounded:
  sm: 4px
  md: 6px
  lg: 10px
  button: 6px
  input: 6px
  full: 999px
spacing:
  xs: 3px
  sm: 6px
  md: 13px
  lg: 19px
  xl: 38px
motion:
  standard:
    duration: 120ms
    timingFunction: "ease-out"
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.label-md}"
    rounded: "{rounded.button}"
    height: 44px
    padding: 19px
  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: 19px
  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}"
---

# Dark Dashboard — Hebrew / RTL design system

## Overview

Dark, dense and precise. Lots of data without noise, tabular numbers, color only where it means something. Feels like a developer or analyst tool.

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: dashboards and analytics, developer tools, monitoring systems.

## Colors

A dark theme: the page background is the darkest layer; surfaces get lighter as they come forward.

- **Primary (#60A5FA):** the main action color — primary buttons, links, active navigation, focus rings. Text on it is #0A0C10.
- **Secondary / accent (#34D399):** highlights, badges, the one featured card per screen. Text on it is #0A0C10.
- **Neutral / background (#0A0C10):** the page itself.
- **Surface (#12161C) and surface-variant (#1A1F27):** cards, inputs, sidebars; the variant for secondary buttons, tabs and table hover.
- **On-surface (#E6EDF3) and on-surface-variant (#8D99A8):** body text and secondary text. Both pass WCAG AA (4.5:1) on every surface.
- **Outline (#262C36):** borders and dividers.
- **Status:** success #3FB950, warning #D29922, error #F85149.

## Typography

- **Display / headings:** IBM Plex Sans Hebrew, weight 600.
- **Body:** IBM Plex Sans Hebrew, weight 400, line-height 1.55.
- **Mono:** IBM Plex Mono (Latin only — Hebrew inside mono text falls back to IBM Plex Sans Hebrew).
- Scale (ratio 1.2): 37px / 31px / 26px / 22px / 18px / 15px / 13px.
- Load fonts from Google Fonts — all of them include Hebrew glyphs: `https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Hebrew:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap`

## Layout

- Density: **compact**. Spacing scale: 3px, 6px, 10px, 13px, 19px, 26px, 38px, 58px.
- 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.
- Prefer 12-column grids and compact rows (36–40px); put KPIs in a single row of four.

## Elevation & Depth

- Card shadow: `none`
- Raised / hover shadow: `0 0 0 1px #3A4250`
- Button shadow: `none`; on hover `none`
- No shadows. Hierarchy comes from three background steps (page, surface, surface-variant) and 1px borders.

## Shapes

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

## Motion & Micro-interaction

- Duration 120ms, easing `ease-out`.
- 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 use exactly three background steps: page, surface, surface-variant.
- Do show numbers in tabular figures, end-aligned in columns.
- Do reserve color for status and movement: green up, red down.
- Do use compact rows and 14–15px text.
- Don't use drop shadows — on dark backgrounds they only muddy the UI.
- Don't use pure white text; use a very light gray instead.
- Don't use more than two brand colors in a single chart.

## 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=IBM+Plex+Sans+Hebrew:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap");

:root {
  --rs-bg: #0A0C10;
  --rs-bg-image: none;
  --rs-surface: #12161C;
  --rs-surface-2: #1A1F27;
  --rs-text: #E6EDF3;
  --rs-text-muted: #8D99A8;
  --rs-primary: #60A5FA;
  --rs-on-primary: #0A0C10;
  --rs-accent: #34D399;
  --rs-on-accent: #0A0C10;
  --rs-border: #262C36;
  --rs-success: #3FB950;
  --rs-warning: #D29922;
  --rs-danger: #F85149;
  --rs-focus: #60A5FA;
  --rs-font-display: "IBM Plex Sans Hebrew", system-ui, "Segoe UI", Arial, sans-serif;
  --rs-font-body: "IBM Plex Sans Hebrew", system-ui, "Segoe UI", Arial, sans-serif;
  --rs-font-mono: "IBM Plex Mono", "IBM Plex Sans Hebrew", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --rs-heading-weight: 600;
  --rs-body-weight: 400;
  --rs-heading-tracking: 0;
  --rs-heading-line: 1.2;
  --rs-line: 1.55;
  --rs-text-display: 37px;
  --rs-text-h1: 31px;
  --rs-text-h2: 26px;
  --rs-text-h3: 22px;
  --rs-text-lg: 18px;
  --rs-text-base: 15px;
  --rs-text-sm: 13px;
  --rs-text-xs: 11px;
  --rs-radius-sm: 4px;
  --rs-radius-md: 6px;
  --rs-radius-lg: 10px;
  --rs-radius-pill: 999px;
  --rs-btn-radius: 6px;
  --rs-input-radius: 6px;
  --rs-border-width: 1px;
  --rs-border-style: solid;
  --rs-shadow-card: none;
  --rs-shadow-raised: 0 0 0 1px #3A4250;
  --rs-shadow-button: none;
  --rs-shadow-button-hover: none;
  --rs-shadow-input: none;
  --rs-blur: 0px;
  --rs-duration: 120ms;
  --rs-easing: ease-out;
  --rs-hover-transform: none;
  --rs-icon-stroke: 1.75;
  --rs-space-1: 3px;
  --rs-space-2: 6px;
  --rs-space-3: 10px;
  --rs-space-4: 13px;
  --rs-space-5: 19px;
  --rs-space-6: 26px;
  --rs-space-7: 38px;
  --rs-space-8: 58px;
}
```
