---
version: alpha
name: "Retro Terminal (RTL)"
description: "An 80s green-phosphor computer screen: green on black, scanlines, dashed frames and a soft glow. Geeky, nostalgic and full of character."
colors:
  primary: "#39FF6A"
  on-primary: "#061006"
  secondary: "#FFB000"
  on-secondary: "#120C00"
  neutral: "#070B07"
  surface: "#0D150D"
  surface-variant: "#132013"
  on-surface: "#B4F5AC"
  on-surface-variant: "#77C26F"
  outline: "#2F6B2F"
  success: "#39FF6A"
  warning: "#FFB000"
  error: "#FF5C5C"
typography:
  display-lg:
    fontFamily: "Rubik"
    fontSize: 49px
    fontWeight: 700
    lineHeight: 1.15
  headline-lg:
    fontFamily: "Rubik"
    fontSize: 39px
    fontWeight: 700
    lineHeight: 1.15
  headline-md:
    fontFamily: "Rubik"
    fontSize: 31px
    fontWeight: 700
    lineHeight: 1.2
  title-md:
    fontFamily: "Rubik"
    fontSize: 25px
    fontWeight: 700
    lineHeight: 1.25
  body-lg:
    fontFamily: "Rubik"
    fontSize: 20px
    fontWeight: 400
    lineHeight: 1.6
  body-md:
    fontFamily: "Rubik"
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.6
  label-md:
    fontFamily: "Rubik"
    fontSize: 14px
    fontWeight: 600
    lineHeight: 1.4
rounded:
  sm: 0px
  md: 0px
  lg: 0px
  button: 0px
  input: 0px
  full: 999px
spacing:
  xs: 3px
  sm: 6px
  md: 13px
  lg: 19px
  xl: 38px
motion:
  standard:
    duration: 80ms
    timingFunction: "steps(3, end)"
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}"
---

# Retro Terminal — Hebrew / RTL design system

## Overview

An 80s green-phosphor computer screen: green on black, scanlines, dashed frames and a soft glow. Geeky, nostalgic and full of character.

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: developer products, hackathons and gaming, experimental landing pages.

## Colors

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

- **Primary (#39FF6A):** the main action color — primary buttons, links, active navigation, focus rings. Text on it is #061006.
- **Secondary / accent (#FFB000):** highlights, badges, the one featured card per screen. Text on it is #120C00.
- **Neutral / background (#070B07):** the page itself (with a decorative background: `repeating-linear-gradient(0deg, rgba(57,255,106,0.035) 0px, rgba(57,255,106,0.035) 1px, transparent 1px, transparent 3px), radial-gradient(1200px 800px at 50% 30%, rgba(57,255,106,0.07), transparent 70%)`).
- **Surface (#0D150D) and surface-variant (#132013):** cards, inputs, sidebars; the variant for secondary buttons, tabs and table hover.
- **On-surface (#B4F5AC) and on-surface-variant (#77C26F):** body text and secondary text. Both pass WCAG AA (4.5:1) on every surface.
- **Outline (#2F6B2F):** borders and dividers.
- **Status:** success #39FF6A, warning #FFB000, error #FF5C5C.

## Typography

- **Display / headings:** Rubik, weight 700.
- **Body:** Rubik, weight 400, line-height 1.6.
- **Mono:** IBM Plex Mono (Latin only — Hebrew inside mono text falls back to Rubik).
- Scale (ratio 1.25): 49px / 39px / 31px / 25px / 20px / 16px / 14px.
- Load fonts from Google Fonts — all of them include Hebrew glyphs: `https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;700&family=IBM+Plex+Mono:wght@400;600&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.
- Frame sections with dashed 1px borders; numbers, IDs and codes in IBM Plex Mono, Hebrew text in Rubik (no monospace font has good Hebrew).

## Elevation & Depth

- Card shadow: `0 0 0 1px rgba(57,255,106,0.08), 0 0 24px rgba(57,255,106,0.06)`
- Raised / hover shadow: `0 0 0 1px rgba(57,255,106,0.30), 0 0 32px rgba(57,255,106,0.18)`
- Button shadow: `0 0 12px rgba(57,255,106,0.35)`; on hover `0 0 22px rgba(57,255,106,0.65)`
- Depth is glow, not shadow: phosphor-green box-shadows with no offset. Faint horizontal scanlines run across the whole page.

## Shapes

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

## Motion & Micro-interaction

- Duration 80ms, easing `steps(3, end)`.
- 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 phosphor green on black, with amber only for warnings and one highlight.
- Do use thin dashed frames and sharp corners.
- Do use glow instead of shadow, plus faint scanlines in the background.
- Do put numbers and codes in mono; keep Hebrew in Rubik.
- Don't force Hebrew into a monospace font that has no Hebrew glyphs.
- Don't use fast flicker animations — they are tiring and inaccessible.
- Don't use more than two colors besides the green.

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

:root {
  --rs-bg: #070B07;
  --rs-bg-image: repeating-linear-gradient(0deg, rgba(57,255,106,0.035) 0px, rgba(57,255,106,0.035) 1px, transparent 1px, transparent 3px), radial-gradient(1200px 800px at 50% 30%, rgba(57,255,106,0.07), transparent 70%);
  --rs-surface: #0D150D;
  --rs-surface-2: #132013;
  --rs-text: #B4F5AC;
  --rs-text-muted: #77C26F;
  --rs-primary: #39FF6A;
  --rs-on-primary: #061006;
  --rs-accent: #FFB000;
  --rs-on-accent: #120C00;
  --rs-border: #2F6B2F;
  --rs-success: #39FF6A;
  --rs-warning: #FFB000;
  --rs-danger: #FF5C5C;
  --rs-focus: #39FF6A;
  --rs-font-display: "Rubik", system-ui, "Segoe UI", Arial, sans-serif;
  --rs-font-body: "Rubik", system-ui, "Segoe UI", Arial, sans-serif;
  --rs-font-mono: "IBM Plex Mono", "Rubik", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --rs-heading-weight: 700;
  --rs-body-weight: 400;
  --rs-heading-tracking: 0;
  --rs-heading-line: 1.15;
  --rs-line: 1.6;
  --rs-text-display: 49px;
  --rs-text-h1: 39px;
  --rs-text-h2: 31px;
  --rs-text-h3: 25px;
  --rs-text-lg: 20px;
  --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: 1px;
  --rs-border-style: dashed;
  --rs-shadow-card: 0 0 0 1px rgba(57,255,106,0.08), 0 0 24px rgba(57,255,106,0.06);
  --rs-shadow-raised: 0 0 0 1px rgba(57,255,106,0.30), 0 0 32px rgba(57,255,106,0.18);
  --rs-shadow-button: 0 0 12px rgba(57,255,106,0.35);
  --rs-shadow-button-hover: 0 0 22px rgba(57,255,106,0.65);
  --rs-shadow-input: none;
  --rs-blur: 0px;
  --rs-duration: 80ms;
  --rs-easing: steps(3, end);
  --rs-hover-transform: none;
  --rs-icon-stroke: 2;
  --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;
}
```
