---
version: alpha
name: "Web3 / DeFi (RTL)"
description: "A dark crypto dashboard with neon green and electric purple. Monospaced numbers, dense cards and a live-trading feel."
colors:
  primary: "#3CF58B"
  on-primary: "#07060D"
  secondary: "#A774FF"
  on-secondary: "#07060D"
  neutral: "#07060D"
  surface: "#100E1C"
  surface-variant: "#181528"
  on-surface: "#ECEAF7"
  on-surface-variant: "#9C97B8"
  outline: "#272340"
  success: "#3CF58B"
  warning: "#FFC94A"
  error: "#FF5A7A"
typography:
  display-lg:
    fontFamily: "Rubik"
    fontSize: 41px
    fontWeight: 700
    lineHeight: 1.15
  headline-lg:
    fontFamily: "Rubik"
    fontSize: 33px
    fontWeight: 700
    lineHeight: 1.15
  headline-md:
    fontFamily: "Rubik"
    fontSize: 27px
    fontWeight: 700
    lineHeight: 1.2
  title-md:
    fontFamily: "Rubik"
    fontSize: 22px
    fontWeight: 700
    lineHeight: 1.25
  body-lg:
    fontFamily: "Arimo"
    fontSize: 18px
    fontWeight: 400
    lineHeight: 1.55
  body-md:
    fontFamily: "Arimo"
    fontSize: 15px
    fontWeight: 400
    lineHeight: 1.55
  label-md:
    fontFamily: "Arimo"
    fontSize: 13px
    fontWeight: 600
    lineHeight: 1.4
rounded:
  sm: 6px
  md: 10px
  lg: 16px
  button: 10px
  input: 10px
  full: 999px
spacing:
  xs: 3px
  sm: 6px
  md: 13px
  lg: 19px
  xl: 38px
motion:
  standard:
    duration: 140ms
    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}"
---

# Web3 / DeFi — Hebrew / RTL design system

## Overview

A dark crypto dashboard with neon green and electric purple. Monospaced numbers, dense cards and a live-trading feel.

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: crypto wallets and exchanges, DeFi platforms, NFT dashboards.

## Colors

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

- **Primary (#3CF58B):** the main action color — primary buttons, links, active navigation, focus rings. Text on it is #07060D.
- **Secondary / accent (#A774FF):** highlights, badges, the one featured card per screen. Text on it is #07060D.
- **Neutral / background (#07060D):** the page itself (with a decorative background: `radial-gradient(700px 400px at 100% 0%, rgba(167,116,255,0.18), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(60,245,139,0.10), transparent 60%)`).
- **Surface (#100E1C) and surface-variant (#181528):** cards, inputs, sidebars; the variant for secondary buttons, tabs and table hover.
- **On-surface (#ECEAF7) and on-surface-variant (#9C97B8):** body text and secondary text. Both pass WCAG AA (4.5:1) on every surface.
- **Outline (#272340):** borders and dividers.
- **Status:** success #3CF58B, warning #FFC94A, error #FF5A7A.

## Typography

- **Display / headings:** Rubik, weight 700.
- **Body:** Arimo, weight 400, line-height 1.55.
- **Mono:** Cousine (Latin only — Hebrew inside mono text falls back to Arimo).
- Scale (ratio 1.22): 41px / 33px / 27px / 22px / 18px / 15px / 13px.
- Load fonts from Google Fonts — all of them include Hebrew glyphs: `https://fonts.googleapis.com/css2?family=Rubik:wght@600;700;800&family=Arimo:wght@400;500;700&family=Cousine:wght@400;700&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.
- Use a dense grid of small cards: balance and chart on top, token rows with monospaced, LTR-isolated numbers below.

## Elevation & Depth

- Card shadow: `inset 0 1px 0 rgba(167,116,255,0.12)`
- Raised / hover shadow: `0 0 0 1px #3A3360, -6px 14px 40px rgba(0,0,0,0.5)`
- Button shadow: `0 0 16px rgba(60,245,139,0.35)`; on hover `0 0 26px rgba(60,245,139,0.6)`
- Flat cards with a faint violet top edge; neon glow is reserved for the primary trade button.

## Shapes

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

## Motion & Micro-interaction

- Duration 140ms, easing `ease-out`.
- 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 set every number, amount and wallet address in a monospace font.
- Do isolate numbers and addresses as LTR inside Hebrew text.
- Do use green for gains and actions, purple for selection and focus.
- Do use small, dense cards packed with data.
- Don't truncate a wallet address without a way to copy it in full.
- Don't put neon glow on every component.
- Don't rely on red and green alone without an arrow or sign.

## 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@600;700;800&family=Arimo:wght@400;500;700&family=Cousine:wght@400;700&display=swap");

:root {
  --rs-bg: #07060D;
  --rs-bg-image: radial-gradient(700px 400px at 100% 0%, rgba(167,116,255,0.18), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(60,245,139,0.10), transparent 60%);
  --rs-surface: #100E1C;
  --rs-surface-2: #181528;
  --rs-text: #ECEAF7;
  --rs-text-muted: #9C97B8;
  --rs-primary: #3CF58B;
  --rs-on-primary: #07060D;
  --rs-accent: #A774FF;
  --rs-on-accent: #07060D;
  --rs-border: #272340;
  --rs-success: #3CF58B;
  --rs-warning: #FFC94A;
  --rs-danger: #FF5A7A;
  --rs-focus: #A774FF;
  --rs-font-display: "Rubik", system-ui, "Segoe UI", Arial, sans-serif;
  --rs-font-body: "Arimo", system-ui, "Segoe UI", Arial, sans-serif;
  --rs-font-mono: "Cousine", "Arimo", 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.55;
  --rs-text-display: 41px;
  --rs-text-h1: 33px;
  --rs-text-h2: 27px;
  --rs-text-h3: 22px;
  --rs-text-lg: 18px;
  --rs-text-base: 15px;
  --rs-text-sm: 13px;
  --rs-text-xs: 11px;
  --rs-radius-sm: 6px;
  --rs-radius-md: 10px;
  --rs-radius-lg: 16px;
  --rs-radius-pill: 999px;
  --rs-btn-radius: 10px;
  --rs-input-radius: 10px;
  --rs-border-width: 1px;
  --rs-border-style: solid;
  --rs-shadow-card: inset 0 1px 0 rgba(167,116,255,0.12);
  --rs-shadow-raised: 0 0 0 1px #3A3360, -6px 14px 40px rgba(0,0,0,0.5);
  --rs-shadow-button: 0 0 16px rgba(60,245,139,0.35);
  --rs-shadow-button-hover: 0 0 26px rgba(60,245,139,0.6);
  --rs-shadow-input: none;
  --rs-blur: 0px;
  --rs-duration: 140ms;
  --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;
}

/* style-specific details (selectors are from theme.css) */
.rs-app .rs-num, .rs-app .rs-stat-value { font-family: var(--rs-font-mono); font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
```

## Credits

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