ממשק מרחביSpatial UI
חלונות אפורים-שקופים שמרחפים בחלל רגוע, בפינות עגולות מאוד ועם הילה רכה סביב מה שבמוקד. שקט, מרווח ונקי מצבע.
- רקע
- כהה
- גופנים
- Assistant
- צפיפות
- מאווררת
- פלטה
מתאים ל: אפליקציות למציאות רבודה ומשקפיים · בית חכם ומסכי מכונית · נגני מדיה וחוויות סוחפות
עובד לעברית ול-RTL מתוך UI UX Pro Max (רישיון MIT)
ה-DNA של הסגנון
צבעים · טיפוגרפיה · צורה · כלליםצבעים וניגודיות
- ראשי
#F5F5F7 - טקסט על ראשי
#1C1C1E - הדגשה
#64D2FF - טקסט על הדגשה
#0B1A22 - רקע
#1C1D21 - משטח
rgba(128,128,136,0.30) - משטח משני
rgba(255,255,255,0.08) - טקסט
#FFFFFF - טקסט משני
#D2D3D8 - גבול
rgba(255,255,255,0.14) - הצלחה
#5EE6A0 - אזהרה
#FFD166 - שגיאה
#FF9C94
| טקסט | על רקע | יחס | סף |
|---|---|---|---|
| טקסט | רקע | 16.84:1 | ✓ 4.5 |
| טקסט | משטח | 11.17:1 | ✓ 4.5 |
| טקסט | משטח משני | 8.71:1 | ✓ 4.5 |
| טקסט משני | רקע | 11.27:1 | ✓ 4.5 |
| טקסט משני | משטח | 7.48:1 | ✓ 4.5 |
| טקסט משני | משטח משני | 5.83:1 | ✓ 4.5 |
| טקסט על ראשי | ראשי | 15.63:1 | ✓ 4.5 |
| טקסט על הדגשה | הדגשה | 10.3:1 | ✓ 4.5 |
| ראשי | רקע | 15.47:1 | ✓ 3 |
| ראשי | משטח | 10.26:1 | ✓ 3 |
| שגיאה | משטח | 5.55:1 | ✓ 4.5 |
| הצלחה | משטח | 7.08:1 | ✓ 3 |
טיפוגרפיה
כותרות: Assistant · משקל 600
גופן הטקסט הרץ צריך להיות נוח לקריאה ארוכה. כאן משתמשים ב-Assistant בגובה שורה 1.65, כי לעברית צריך קצת יותר אוויר בין השורות.
סולם: 50px / 40px / 32px / 26px / 21px / 17px / 15px
גופנים: Assistant — כולם מ-Google Fonts וכוללים עברית.
צורה ותנועה
- רדיוס
18px / 26px / 40px - גבול
1px solid - צפיפות
airy - מעבר עכבר
glow · 280ms
תעשה
- חלונות אפורים-שקופים עם טשטוש חזק.
- פינות גדולות מאוד — 26px ומעלה.
- מוקד מסומן בהילה לבנה ובהגדלה קלה.
- מרווחים נדיבים בין חלונות, כדי שירחפו.
אל תעשה
- לא צבעים רוויים על משטחים גדולים.
- לא אזורי לחיצה קטנים מ-44px.
- לא קווי מתאר חדים או פינות ישרות.
העתקה לפרויקט
DESIGN.md · CSS · Tailwind · shadcn- מורידים את
DESIGN.mdושומרים בתיקייה הראשית של הפרויקט. - אופציונלי: מורידים גם את
theme.css— יש בו את כל המשתנים ורכיבים מוכנים (.rs-btn,.rs-card,.rs-input). - מדביקים לסוכן את ההוראה הזו:
Read DESIGN.md in the project root and apply the "Spatial UI" Hebrew RTL design system to the whole app: <html lang="he" dir="rtl">, logical CSS only, the exact tokens, fonts and component rules from the file. Source: https://rtl-styles.pages.dev/md/spatial.md
פורמט DESIGN.md של Google (גרסת alpha): טוקנים ב-YAML ואחריהם הסברים, כללי "תעשה ואל תעשה" וכללי RTL. שומרים בשם DESIGN.md בתיקייה הראשית של הפרויקט.
---
version: alpha
name: "Spatial UI (RTL)"
description: "Grey translucent windows floating in a calm space, with very large radii and a soft halo around whatever is in focus. Quiet, spacious and almost colorless."
colors:
primary: "#F5F5F7"
on-primary: "#1C1C1E"
secondary: "#64D2FF"
on-secondary: "#0B1A22"
neutral: "#1C1D21"
surface: "#8080884D"
surface-variant: "#FFFFFF14"
on-surface: "#FFFFFF"
on-surface-variant: "#D2D3D8"
outline: "#FFFFFF24"
success: "#5EE6A0"
warning: "#FFD166"
error: "#FF9C94"
typography:
display-lg:
fontFamily: "Assistant"
fontSize: 50px
fontWeight: 600
lineHeight: 1.2
headline-lg:
fontFamily: "Assistant"
fontSize: 40px
fontWeight: 600
lineHeight: 1.2
headline-md:
fontFamily: "Assistant"
fontSize: 32px
fontWeight: 600
lineHeight: 1.2
title-md:
fontFamily: "Assistant"
fontSize: 26px
fontWeight: 600
lineHeight: 1.25
body-lg:
fontFamily: "Assistant"
fontSize: 21px
fontWeight: 400
lineHeight: 1.65
body-md:
fontFamily: "Assistant"
fontSize: 17px
fontWeight: 400
lineHeight: 1.65
label-md:
fontFamily: "Assistant"
fontSize: 15px
fontWeight: 600
lineHeight: 1.4
rounded:
sm: 18px
md: 26px
lg: 40px
button: 26px
input: 26px
full: 999px
spacing:
xs: 5px
sm: 10px
md: 20px
lg: 30px
xl: 60px
motion:
standard:
duration: 280ms
timingFunction: "cubic-bezier(0.25, 0.9, 0.3, 1)"
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}"
---
# Spatial UI — Hebrew / RTL design system
## Overview
Grey translucent windows floating in a calm space, with very large radii and a soft halo around whatever is in focus. Quiet, spacious and almost colorless.
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: AR and headset apps, smart-home and in-car screens, media players and immersive experiences.
## Colors
A dark theme: the page background is the darkest layer; surfaces get lighter as they come forward.
- **Primary (#F5F5F7):** the main action color — primary buttons, links, active navigation, focus rings. Text on it is #1C1C1E.
- **Secondary / accent (#64D2FF):** highlights, badges, the one featured card per screen. Text on it is #0B1A22.
- **Neutral / background (#1C1D21):** the page itself (with a decorative background: `radial-gradient(1200px 700px at 70% -10%, rgba(255,236,210,0.14), transparent 60%), radial-gradient(900px 600px at 0% 100%, rgba(140,170,200,0.16), transparent 60%), linear-gradient(to bottom, #2A2B30, #16171A)`).
- **Surface (#8080884D) and surface-variant (#FFFFFF14):** cards, inputs, sidebars; the variant for secondary buttons, tabs and table hover.
- **On-surface (#FFFFFF) and on-surface-variant (#D2D3D8):** body text and secondary text. Both pass WCAG AA (4.5:1) on every surface.
- **Outline (#FFFFFF24):** borders and dividers.
- **Status:** success #5EE6A0, warning #FFD166, error #FF9C94.
## Typography
- **Display / headings:** Assistant, weight 600.
- **Body:** Assistant, weight 400, line-height 1.65.
- Scale (ratio 1.24): 50px / 40px / 32px / 26px / 21px / 17px / 15px.
- Load fonts from Google Fonts — all of them include Hebrew glyphs: `https://fonts.googleapis.com/css2?family=Assistant:wght@300;400;600&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.
- Arrange content as a few large floating windows with generous gaps, one primary window centered and secondary ones set back.
## Elevation & Depth
- Card shadow: `inset -1px 1px 0 rgba(255,255,255,0.16), -10px 24px 60px rgba(0,0,0,0.40)`
- Raised / hover shadow: `inset -1px 1px 0 rgba(255,255,255,0.22), -16px 36px 90px rgba(0,0,0,0.50)`
- Button shadow: `0 0 0 1px rgba(255,255,255,0.10), -4px 10px 24px rgba(0,0,0,0.35)`; on hover `0 0 0 1px rgba(255,255,255,0.25), 0 0 28px rgba(255,255,255,0.28), -4px 10px 24px rgba(0,0,0,0.35)`
- Translucent surfaces use `backdrop-filter: blur(30px)`.
- Panels are neutral grey glass with a heavy blur, a faint top-right rim and a large, soft, far-away shadow; focus is shown by a white halo and a slight scale-up, never by color.
## Shapes
- Corner radius: small 18px, medium 26px, large 40px (cards). Buttons 26px, inputs 26px. Pills and badges are fully rounded.
- Border: 1px solid in the outline color.
## Motion & Micro-interaction
- Duration 280ms, easing `cubic-bezier(0.25, 0.9, 0.3, 1)`.
- 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 grey translucent windows with a heavy blur.
- Do use very large radii — 26px and up.
- Do mark focus with a white halo and a slight scale-up.
- Do leave generous gaps between windows so they float.
- Don't put saturated color on large surfaces.
- Don't make hit targets smaller than 44px.
- Don't use hard outlines or square corners.
## 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=Assistant:wght@300;400;600&display=swap");
:root {
--rs-bg: #1C1D21;
--rs-bg-image: radial-gradient(1200px 700px at 70% -10%, rgba(255,236,210,0.14), transparent 60%), radial-gradient(900px 600px at 0% 100%, rgba(140,170,200,0.16), transparent 60%), linear-gradient(to bottom, #2A2B30, #16171A);
--rs-surface: rgba(128,128,136,0.30);
--rs-surface-2: rgba(255,255,255,0.08);
--rs-text: #FFFFFF;
--rs-text-muted: #D2D3D8;
--rs-primary: #F5F5F7;
--rs-on-primary: #1C1C1E;
--rs-accent: #64D2FF;
--rs-on-accent: #0B1A22;
--rs-border: rgba(255,255,255,0.14);
--rs-success: #5EE6A0;
--rs-warning: #FFD166;
--rs-danger: #FF9C94;
--rs-focus: #FFFFFF;
--rs-font-display: "Assistant", system-ui, "Segoe UI", Arial, sans-serif;
--rs-font-body: "Assistant", system-ui, "Segoe UI", Arial, sans-serif;
--rs-font-mono: "IBM Plex Mono", "Assistant", 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.65;
--rs-text-display: 50px;
--rs-text-h1: 40px;
--rs-text-h2: 32px;
--rs-text-h3: 26px;
--rs-text-lg: 21px;
--rs-text-base: 17px;
--rs-text-sm: 15px;
--rs-text-xs: 13px;
--rs-radius-sm: 18px;
--rs-radius-md: 26px;
--rs-radius-lg: 40px;
--rs-radius-pill: 999px;
--rs-btn-radius: 26px;
--rs-input-radius: 26px;
--rs-border-width: 1px;
--rs-border-style: solid;
--rs-shadow-card: inset -1px 1px 0 rgba(255,255,255,0.16), -10px 24px 60px rgba(0,0,0,0.40);
--rs-shadow-raised: inset -1px 1px 0 rgba(255,255,255,0.22), -16px 36px 90px rgba(0,0,0,0.50);
--rs-shadow-button: 0 0 0 1px rgba(255,255,255,0.10), -4px 10px 24px rgba(0,0,0,0.35);
--rs-shadow-button-hover: 0 0 0 1px rgba(255,255,255,0.25), 0 0 28px rgba(255,255,255,0.28), -4px 10px 24px rgba(0,0,0,0.35);
--rs-shadow-input: inset 0 1px 3px rgba(0,0,0,0.30);
--rs-blur: 30px;
--rs-duration: 280ms;
--rs-easing: cubic-bezier(0.25, 0.9, 0.3, 1);
--rs-hover-transform: none;
--rs-icon-stroke: 1.5;
--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;
}
/* style-specific details (selectors are from theme.css) */
.rs-app .rs-card--interactive { transition: transform var(--rs-duration) var(--rs-easing), box-shadow var(--rs-duration) var(--rs-easing); } .rs-app .rs-card--interactive:hover { transform: scale(1.015); box-shadow: var(--rs-shadow-raised), 0 0 0 1px rgba(255,255,255,0.22); } .rs-app .rs-btn:hover, .rs-app .rs-chip:hover { transform: scale(1.04); } @media (prefers-reduced-motion: reduce) { .rs-app .rs-card--interactive:hover, .rs-app .rs-btn:hover, .rs-app .rs-chip:hover { transform: none; } }
```
## Credits
Adapted to Hebrew / RTL from UI UX Pro Max (https://github.com/nextlevelbuilder/ui-ux-pro-max-skill), MIT license.
ל-Lovable, ל-v0, ל-Bolt או לכל צ׳אט: מדביקים בתחילת השיחה, לפני שמבקשים מסך.
Build this UI in Hebrew, right-to-left, using the "Spatial UI" design style. Apply it consistently to every screen and component.
STYLE: Grey translucent windows floating in a calm space, with very large radii and a soft halo around whatever is in focus. Quiet, spacious and almost colorless.
DIRECTION & LANGUAGE
- <html lang="he" dir="rtl">. All copy in Hebrew. Use only logical CSS (margin-inline, padding-inline, inset-inline-start, text-align:start; Tailwind ms/me/ps/pe/start/end). Never ml/mr/pl/pr/left/right.
- Mirror directional icons (arrows, chevrons) in RTL; never mirror search/cart/bell/check.
- Numbers, prices (₪1,240), phones (050-1234567) and dates (DD/MM/YYYY) stay LTR via <bdi> or unicode-bidi:isolate.
- Phone/email inputs: dir="ltr" but right-aligned.
TOKENS
- Fonts (Google Fonts, Hebrew): headings "Assistant" weight 600; body "Assistant", line-height 1.65.
- Background #1C1D21 with radial-gradient(1200px 700px at 70% -10%, rgba(255,236,210,0.14), transparent 60%), radial-gradient(900px 600px at 0% 100%, rgba(140,170,200,0.16), transparent 60%), linear-gradient(to bottom, #2A2B30, #16171A); surface rgba(128,128,136,0.30); surface-2 rgba(255,255,255,0.08); text #FFFFFF; muted text #D2D3D8; border rgba(255,255,255,0.14).
- Primary #F5F5F7 (text on it #1C1C1E); accent #64D2FF (text on it #0B1A22); success #5EE6A0; warning #FFD166; error #FF9C94.
- Radius 18px (small) / 26px (medium) / 40px (cards); buttons 26px; inputs 26px. Border 1px solid.
- Card shadow: inset -1px 1px 0 rgba(255,255,255,0.16), -10px 24px 60px rgba(0,0,0,0.40). Button shadow: 0 0 0 1px rgba(255,255,255,0.10), -4px 10px 24px rgba(0,0,0,0.35).
- Surfaces are translucent with backdrop-filter: blur(30px).
- Motion 280ms cubic-bezier(0.25, 0.9, 0.3, 1); hover = glow.
DO
- Use grey translucent windows with a heavy blur.
- Use very large radii — 26px and up.
- Mark focus with a white halo and a slight scale-up.
- Leave generous gaps between windows so they float.
DON'T
- Put saturated color on large surfaces.
- Make hit targets smaller than 44px.
- Use hard outlines or square corners.
- Don't use uppercase or letter-spacing for Hebrew hierarchy; don't let Hebrew fall back to a system font.
CSS רגיל, בלי framework: משתנים ורכיבים מוכנים. שמים על <body> את המחלקה rs-app.
/* Spatial UI — RTL Styles theme (Hebrew / right-to-left)
Usage: <html lang="he" dir="rtl"> … <body class="rs-app">
Fonts: Assistant (Google Fonts, all include Hebrew) */
@import url("https://fonts.googleapis.com/css2?family=Assistant:wght@300;400;600&display=swap");
:root {
--rs-bg: #1C1D21;
--rs-bg-image: radial-gradient(1200px 700px at 70% -10%, rgba(255,236,210,0.14), transparent 60%), radial-gradient(900px 600px at 0% 100%, rgba(140,170,200,0.16), transparent 60%), linear-gradient(to bottom, #2A2B30, #16171A);
--rs-surface: rgba(128,128,136,0.30);
--rs-surface-2: rgba(255,255,255,0.08);
--rs-text: #FFFFFF;
--rs-text-muted: #D2D3D8;
--rs-primary: #F5F5F7;
--rs-on-primary: #1C1C1E;
--rs-accent: #64D2FF;
--rs-on-accent: #0B1A22;
--rs-border: rgba(255,255,255,0.14);
--rs-success: #5EE6A0;
--rs-warning: #FFD166;
--rs-danger: #FF9C94;
--rs-focus: #FFFFFF;
--rs-font-display: "Assistant", system-ui, "Segoe UI", Arial, sans-serif;
--rs-font-body: "Assistant", system-ui, "Segoe UI", Arial, sans-serif;
--rs-font-mono: "IBM Plex Mono", "Assistant", 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.65;
--rs-text-display: 50px;
--rs-text-h1: 40px;
--rs-text-h2: 32px;
--rs-text-h3: 26px;
--rs-text-lg: 21px;
--rs-text-base: 17px;
--rs-text-sm: 15px;
--rs-text-xs: 13px;
--rs-radius-sm: 18px;
--rs-radius-md: 26px;
--rs-radius-lg: 40px;
--rs-radius-pill: 999px;
--rs-btn-radius: 26px;
--rs-input-radius: 26px;
--rs-border-width: 1px;
--rs-border-style: solid;
--rs-shadow-card: inset -1px 1px 0 rgba(255,255,255,0.16), -10px 24px 60px rgba(0,0,0,0.40);
--rs-shadow-raised: inset -1px 1px 0 rgba(255,255,255,0.22), -16px 36px 90px rgba(0,0,0,0.50);
--rs-shadow-button: 0 0 0 1px rgba(255,255,255,0.10), -4px 10px 24px rgba(0,0,0,0.35);
--rs-shadow-button-hover: 0 0 0 1px rgba(255,255,255,0.25), 0 0 28px rgba(255,255,255,0.28), -4px 10px 24px rgba(0,0,0,0.35);
--rs-shadow-input: inset 0 1px 3px rgba(0,0,0,0.30);
--rs-blur: 30px;
--rs-duration: 280ms;
--rs-easing: cubic-bezier(0.25, 0.9, 0.3, 1);
--rs-hover-transform: none;
--rs-icon-stroke: 1.5;
--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;
}
/* RTL Styles — component layer.
Everything reads from --rs-* custom properties, so the same markup takes on any style.
Only logical properties (inline/block) are used, so it is correct in RTL and LTR alike. */
*, *::before, *::after { box-sizing: border-box; }
.rs-app {
margin: 0;
min-height: 100vh;
background-color: var(--rs-bg);
background-image: var(--rs-bg-image);
background-attachment: fixed;
color: var(--rs-text);
font-family: var(--rs-font-body);
font-weight: var(--rs-body-weight);
font-size: var(--rs-text-base);
line-height: var(--rs-line);
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
}
.rs-app :where(h1, h2, h3, h4, .rs-h) {
font-family: var(--rs-font-display);
font-weight: var(--rs-heading-weight);
letter-spacing: var(--rs-heading-tracking);
line-height: var(--rs-heading-line);
margin: 0;
text-wrap: balance;
}
.rs-app h1 { font-size: var(--rs-text-h1); }
.rs-app h2 { font-size: var(--rs-text-h2); }
.rs-app h3 { font-size: var(--rs-text-h3); }
.rs-app h4 { font-size: var(--rs-text-lg); }
.rs-app p { margin: 0; text-wrap: pretty; }
.rs-display { font-size: var(--rs-text-display) !important; }
.rs-muted { color: var(--rs-text-muted); }
.rs-sm { font-size: var(--rs-text-sm); }
.rs-xs { font-size: var(--rs-text-xs); }
.rs-mono { font-family: var(--rs-font-mono); }
/* Numbers, prices, phones and codes keep LTR order inside Hebrew text. */
.rs-num { direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
.rs-app a { color: var(--rs-primary); text-underline-offset: 3px; }
.rs-app :focus-visible {
outline: 3px solid var(--rs-focus);
outline-offset: 2px;
}
/* Icons: stroke-based, inherit color. Directional icons flip in RTL. */
.rs-icon {
inline-size: 1.25em; block-size: 1.25em; flex: none;
stroke: currentColor; fill: none;
stroke-width: var(--rs-icon-stroke);
stroke-linecap: round; stroke-linejoin: round;
}
[dir="rtl"] .rs-flip { transform: scaleX(-1); }
/* Surfaces */
.rs-card {
background: var(--rs-surface);
border: var(--rs-border-width) var(--rs-border-style) var(--rs-border);
border-radius: var(--rs-radius-lg);
box-shadow: var(--rs-shadow-card);
padding: var(--rs-space-5);
-webkit-backdrop-filter: blur(var(--rs-blur));
backdrop-filter: blur(var(--rs-blur));
}
.rs-card--flat { box-shadow: none; }
.rs-card--alt { background: var(--rs-surface-2); }
.rs-card--primary { background: var(--rs-primary); color: var(--rs-on-primary); border-color: var(--rs-primary); }
.rs-card--accent { background: var(--rs-accent); color: var(--rs-on-accent); border-color: var(--rs-accent); }
.rs-card--primary .rs-muted, .rs-card--accent .rs-muted { color: inherit; opacity: .85; }
.rs-card--interactive {
transition: transform var(--rs-duration) var(--rs-easing), box-shadow var(--rs-duration) var(--rs-easing);
}
.rs-card--interactive:hover { transform: var(--rs-hover-transform); box-shadow: var(--rs-shadow-raised); }
.rs-divider { border: 0; border-block-start: var(--rs-border-width) var(--rs-border-style) var(--rs-border); margin: var(--rs-space-4) 0; }
/* Buttons */
.rs-btn {
display: inline-flex; align-items: center; justify-content: center; gap: var(--rs-space-2);
min-block-size: 44px;
padding-block: var(--rs-space-2);
padding-inline: var(--rs-space-5);
font: inherit; font-weight: 600; font-family: var(--rs-font-body);
line-height: 1.2;
color: var(--rs-on-primary);
background: var(--rs-primary);
border: var(--rs-border-width) var(--rs-border-style) var(--rs-btn-border, var(--rs-primary));
border-radius: var(--rs-btn-radius, var(--rs-radius-md));
box-shadow: var(--rs-shadow-button);
cursor: pointer;
text-decoration: none;
white-space: nowrap;
transition: transform var(--rs-duration) var(--rs-easing), box-shadow var(--rs-duration) var(--rs-easing), background-color var(--rs-duration) var(--rs-easing), filter var(--rs-duration) var(--rs-easing);
}
.rs-app a.rs-btn { color: var(--rs-on-primary); }
.rs-btn:hover { transform: var(--rs-hover-transform); box-shadow: var(--rs-shadow-button-hover); filter: brightness(1.05); }
.rs-btn:active { transform: none; filter: brightness(.97); }
.rs-btn:disabled, .rs-btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }
.rs-btn--accent { background: var(--rs-accent); color: var(--rs-on-accent); --rs-btn-border: var(--rs-accent); }
.rs-app a.rs-btn--accent { color: var(--rs-on-accent); }
.rs-btn--secondary { background: var(--rs-surface-2); color: var(--rs-text); --rs-btn-border: var(--rs-border); }
.rs-app a.rs-btn--secondary { color: var(--rs-text); }
.rs-btn--ghost { background: transparent; color: var(--rs-text); --rs-btn-border: transparent; box-shadow: none; }
.rs-app a.rs-btn--ghost { color: var(--rs-text); }
.rs-btn--ghost:hover { background: var(--rs-surface-2); box-shadow: none; }
.rs-btn--danger { background: var(--rs-danger); color: #fff; --rs-btn-border: var(--rs-danger); }
.rs-btn--sm { min-block-size: 34px; padding-inline: var(--rs-space-3); font-size: var(--rs-text-sm); }
.rs-btn--lg { min-block-size: 52px; padding-inline: var(--rs-space-6); font-size: var(--rs-text-lg); }
.rs-btn--icon { padding-inline: 0; inline-size: 44px; }
.rs-btn--block { inline-size: 100%; }
/* Forms */
.rs-field { display: grid; gap: var(--rs-space-2); }
.rs-label { font-weight: 600; font-size: var(--rs-text-sm); }
.rs-help { font-size: var(--rs-text-xs); color: var(--rs-text-muted); }
.rs-error-text { font-size: var(--rs-text-xs); color: var(--rs-danger); font-weight: 600; }
.rs-input, .rs-select, .rs-textarea {
inline-size: 100%;
min-block-size: 44px;
padding-block: var(--rs-space-2);
padding-inline: var(--rs-space-3);
font: inherit;
color: var(--rs-text);
background: var(--rs-surface);
border: var(--rs-border-width) var(--rs-border-style) var(--rs-border);
border-radius: var(--rs-input-radius, var(--rs-radius-md));
box-shadow: var(--rs-shadow-input);
transition: border-color var(--rs-duration) var(--rs-easing), box-shadow var(--rs-duration) var(--rs-easing);
}
.rs-input::placeholder, .rs-textarea::placeholder { color: var(--rs-text-muted); opacity: .8; }
.rs-input:focus, .rs-select:focus, .rs-textarea:focus { outline: none; border-color: var(--rs-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--rs-primary) 30%, transparent); }
.rs-input[aria-invalid="true"] { border-color: var(--rs-danger); }
/* Phone, email and URL inputs are typed left-to-right, but stay right-aligned in an RTL form. */
.rs-input[dir="ltr"] { text-align: end; }
[dir="rtl"] .rs-input[dir="ltr"] { text-align: right; }
.rs-textarea { min-block-size: 110px; resize: vertical; }
.rs-check { display: flex; align-items: flex-start; gap: var(--rs-space-2); font-size: var(--rs-text-sm); cursor: pointer; }
.rs-check input { accent-color: var(--rs-primary); inline-size: 18px; block-size: 18px; margin: 3px 0 0; flex: none; }
.rs-input-group { display: flex; align-items: center; gap: var(--rs-space-2); padding-inline: var(--rs-space-3);
background: var(--rs-surface); border: var(--rs-border-width) var(--rs-border-style) var(--rs-border);
border-radius: var(--rs-input-radius, var(--rs-radius-md)); min-block-size: 44px; color: var(--rs-text-muted); }
.rs-input-group input { flex: 1; min-inline-size: 0; border: 0; background: none; font: inherit; color: var(--rs-text); min-block-size: 40px; outline: none; }
.rs-input-group:focus-within { border-color: var(--rs-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--rs-primary) 30%, transparent); }
/* Radio cards / segmented choice */
.rs-choice { display: grid; gap: var(--rs-space-3); grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.rs-choice label { position: relative; display: grid; gap: var(--rs-space-1); padding: var(--rs-space-4);
background: var(--rs-surface); border: var(--rs-border-width) var(--rs-border-style) var(--rs-border);
border-radius: var(--rs-radius-md); cursor: pointer; }
.rs-choice input { position: absolute; opacity: 0; pointer-events: none; }
.rs-choice input:checked + span { color: var(--rs-primary); }
.rs-choice label:has(input:checked) { border-color: var(--rs-primary); box-shadow: 0 0 0 2px var(--rs-primary) inset; }
.rs-choice label:has(input:focus-visible) { outline: 3px solid var(--rs-focus); outline-offset: 2px; }
/* Switch */
.rs-switch { position: relative; inline-size: 44px; block-size: 26px; appearance: none; margin: 0;
background: var(--rs-surface-2); border: var(--rs-border-width) var(--rs-border-style) var(--rs-border);
border-radius: 999px; cursor: pointer; transition: background var(--rs-duration) var(--rs-easing); flex: none; }
.rs-switch::after { content: ""; position: absolute; inset-block-start: 50%; inset-inline-start: 3px;
inline-size: 18px; block-size: 18px; border-radius: 50%; background: var(--rs-text-muted);
transform: translateY(-50%); transition: inset-inline-start var(--rs-duration) var(--rs-easing), background var(--rs-duration); }
.rs-switch:checked { background: var(--rs-primary); border-color: var(--rs-primary); }
.rs-switch:checked::after { inset-inline-start: calc(100% - 21px); background: var(--rs-on-primary); }
/* Badges & chips */
.rs-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px;
font-size: var(--rs-text-xs); font-weight: 600; line-height: 1.6;
border-radius: var(--rs-radius-pill); background: var(--rs-surface-2); color: var(--rs-text);
border: var(--rs-border-width) var(--rs-border-style) var(--rs-badge-border, transparent); white-space: nowrap;
justify-self: start; inline-size: fit-content; }
.rs-badge--primary { background: var(--rs-primary); color: var(--rs-on-primary); }
.rs-badge--accent { background: var(--rs-accent); color: var(--rs-on-accent); }
.rs-badge--success { background: color-mix(in srgb, var(--rs-success) 16%, var(--rs-surface)); color: var(--rs-text); --rs-badge-border: color-mix(in srgb, var(--rs-success) 45%, transparent); }
.rs-badge--warning { background: color-mix(in srgb, var(--rs-warning) 18%, var(--rs-surface)); color: var(--rs-text); --rs-badge-border: color-mix(in srgb, var(--rs-warning) 45%, transparent); }
.rs-badge--danger { background: color-mix(in srgb, var(--rs-danger) 14%, var(--rs-surface)); color: var(--rs-text); --rs-badge-border: color-mix(in srgb, var(--rs-danger) 45%, transparent); }
.rs-dot { inline-size: 8px; block-size: 8px; border-radius: 50%; background: currentColor; flex: none; }
.rs-badge--success .rs-dot { background: var(--rs-success); }
.rs-badge--warning .rs-dot { background: var(--rs-warning); }
.rs-badge--danger .rs-dot { background: var(--rs-danger); }
.rs-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; font: inherit; font-size: var(--rs-text-sm);
color: var(--rs-text); background: var(--rs-surface); cursor: pointer;
border: var(--rs-border-width) var(--rs-border-style) var(--rs-border); border-radius: var(--rs-radius-pill); }
.rs-chip[aria-pressed="true"] { background: var(--rs-primary); color: var(--rs-on-primary); border-color: var(--rs-primary); }
/* Alerts */
.rs-alert { display: flex; gap: var(--rs-space-3); align-items: flex-start; padding: var(--rs-space-3) var(--rs-space-4);
border-radius: var(--rs-radius-md); border: var(--rs-border-width) var(--rs-border-style) var(--rs-border);
border-inline-start-width: 4px; background: var(--rs-surface); font-size: var(--rs-text-sm); }
.rs-alert--success { border-inline-start-color: var(--rs-success); }
.rs-alert--danger { border-inline-start-color: var(--rs-danger); }
.rs-alert--warning { border-inline-start-color: var(--rs-warning); }
/* Tables */
.rs-table-wrap { overflow-x: auto; }
.rs-table { inline-size: 100%; border-collapse: collapse; font-size: var(--rs-text-sm); }
.rs-table th { text-align: start; font-weight: 600; color: var(--rs-text-muted); font-size: var(--rs-text-xs);
padding: var(--rs-space-2) var(--rs-space-3); border-block-end: var(--rs-border-width) var(--rs-border-style) var(--rs-border); white-space: nowrap; }
.rs-table td { padding: var(--rs-space-3); border-block-end: 1px solid color-mix(in srgb, var(--rs-border) 70%, transparent); white-space: nowrap; }
.rs-table tr:last-child td { border-block-end: 0; }
.rs-table tbody tr:hover { background: color-mix(in srgb, var(--rs-surface-2) 60%, transparent); }
.rs-table .rs-end { text-align: end; }
/* Navigation */
.rs-nav { display: flex; align-items: center; gap: var(--rs-space-4); }
.rs-nav-link { color: var(--rs-text-muted); text-decoration: none; font-weight: 500; font-size: var(--rs-text-sm);
padding: var(--rs-space-2) var(--rs-space-3); border-radius: var(--rs-radius-sm); display: flex; align-items: center; gap: var(--rs-space-2); }
.rs-app a.rs-nav-link { color: var(--rs-text-muted); }
.rs-app a.rs-nav-link:hover { color: var(--rs-text); background: var(--rs-surface-2); }
.rs-app a.rs-nav-link[aria-current="page"] { color: var(--rs-primary); background: color-mix(in srgb, var(--rs-primary) 12%, transparent); font-weight: 600; }
.rs-tabs { display: flex; gap: var(--rs-space-1); padding: 4px; background: var(--rs-surface-2);
border-radius: var(--rs-radius-md); inline-size: fit-content; }
.rs-tab { border: 0; background: none; font: inherit; font-size: var(--rs-text-sm); padding: 6px 14px; color: var(--rs-text-muted);
border-radius: var(--rs-radius-sm); cursor: pointer; }
.rs-tab[aria-selected="true"] { background: var(--rs-surface); color: var(--rs-text); font-weight: 600; box-shadow: var(--rs-shadow-button); }
/* Avatar, progress, stat */
.rs-avatar { inline-size: 36px; block-size: 36px; border-radius: 50%; display: grid; place-items: center; flex: none;
background: var(--rs-accent); color: var(--rs-on-accent); font-weight: 700; font-size: var(--rs-text-sm); }
.rs-progress { block-size: 8px; background: var(--rs-surface-2); border-radius: 999px; overflow: hidden; }
.rs-progress > span { display: block; block-size: 100%; background: var(--rs-primary); border-radius: inherit; }
.rs-stat-value { font-family: var(--rs-font-display); font-weight: var(--rs-heading-weight); font-size: var(--rs-text-h2); line-height: 1.1; }
.rs-trend-up { color: var(--rs-success); font-weight: 600; }
.rs-trend-down { color: var(--rs-danger); font-weight: 600; }
@media (prefers-reduced-motion: reduce) {
.rs-app *, .rs-app *::before, .rs-app *::after { transition: none !important; animation: none !important; }
}
/* Very large display sizes must still fit a 375px phone (long Hebrew words don't hyphenate). */
@media (max-width: 600px) {
.rs-app h1 { font-size: min(var(--rs-text-h1), 11vw); }
.rs-display { font-size: min(var(--rs-text-display), 12.5vw) !important; }
}
/* Spatial UI: style-specific details */
.rs-app .rs-card--interactive { transition: transform var(--rs-duration) var(--rs-easing), box-shadow var(--rs-duration) var(--rs-easing); } .rs-app .rs-card--interactive:hover { transform: scale(1.015); box-shadow: var(--rs-shadow-raised), 0 0 0 1px rgba(255,255,255,0.22); } .rs-app .rs-btn:hover, .rs-app .rs-chip:hover { transform: scale(1.04); } @media (prefers-reduced-motion: reduce) { .rs-app .rs-card--interactive:hover, .rs-app .rs-btn:hover, .rs-app .rs-chip:hover { transform: none; } }
ל-Tailwind CSS v4: מחליף את קובץ ה-CSS הראשי. ב-RTL משתמשים ב-ms/me/ps/pe במקום ml/mr/pl/pr.
/* Spatial UI — Tailwind CSS v4 theme, Hebrew / RTL.
Put this in your main CSS file (instead of a bare @import "tailwindcss").
In RTL use logical utilities: ms-* me-* ps-* pe-* start-* end-* text-start text-end. */
@import url("https://fonts.googleapis.com/css2?family=Assistant:wght@300;400;600&display=swap");
@import "tailwindcss";
@theme {
--color-bg: #1C1D21;
--color-surface: rgba(128,128,136,0.30);
--color-surface-2: rgba(255,255,255,0.08);
--color-fg: #FFFFFF;
--color-muted: #D2D3D8;
--color-primary: #F5F5F7;
--color-on-primary: #1C1C1E;
--color-accent: #64D2FF;
--color-on-accent: #0B1A22;
--color-line: rgba(255,255,255,0.14);
--color-success: #5EE6A0;
--color-warning: #FFD166;
--color-danger: #FF9C94;
--font-display: "Assistant", system-ui, "Segoe UI", Arial, sans-serif;
--font-sans: "Assistant", system-ui, "Segoe UI", Arial, sans-serif;
--font-mono: "IBM Plex Mono", "Assistant", ui-monospace, "Cascadia Mono", Consolas, monospace;
--text-display: 50px;
--text-h1: 40px;
--text-h2: 32px;
--text-h3: 26px;
--radius-sm: 18px;
--radius-md: 26px;
--radius-lg: 40px;
--radius-button: 26px;
--radius-input: 26px;
--shadow-card: inset -1px 1px 0 rgba(255,255,255,0.16), -10px 24px 60px rgba(0,0,0,0.40);
--shadow-raised: inset -1px 1px 0 rgba(255,255,255,0.22), -16px 36px 90px rgba(0,0,0,0.50);
--shadow-button: 0 0 0 1px rgba(255,255,255,0.10), -4px 10px 24px rgba(0,0,0,0.35);
}
@layer base {
html { direction: rtl; }
body {
background-color: var(--color-bg);
background-image: radial-gradient(1200px 700px at 70% -10%, rgba(255,236,210,0.14), transparent 60%), radial-gradient(900px 600px at 0% 100%, rgba(140,170,200,0.16), transparent 60%), linear-gradient(to bottom, #2A2B30, #16171A);
background-attachment: fixed;
color: var(--color-fg);
font-family: var(--font-sans);
line-height: 1.65;
}
h1, h2, h3, h4 {
font-family: var(--font-display);
font-weight: 600;
letter-spacing: 0;
line-height: 1.2;
}
:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 2px; }
}
/* Card / button recipes for this style:
card: bg-surface border-[1px] border-line rounded-lg shadow-card backdrop-blur-[30px] p-6
button: bg-primary text-on-primary rounded-button shadow-button px-5 min-h-11 font-semibold border-[1px] border-primary
input: bg-surface border-[1px] border-line rounded-input px-3 min-h-11 */
בפרויקט שכבר מוגדר בו shadcn/ui, מריצים בטרמינל:
npx shadcn@latest add https://rtl-styles.pages.dev/r/spatial.json
הפקודה מוסיפה את הצבעים, הרדיוס, הגופנים והגדרת direction: rtl. קובץ הפריט המלא:
{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "rtl-spatial",
"type": "registry:theme",
"title": "Spatial UI (RTL / Hebrew)",
"description": "Grey translucent windows floating in a calm space, with very large radii and a soft halo around whatever is in focus. Quiet, spacious and almost colorless.",
"cssVars": {
"theme": {
"font-sans": "\"Assistant\", system-ui, \"Segoe UI\", Arial, sans-serif",
"font-heading": "\"Assistant\", system-ui, \"Segoe UI\", Arial, sans-serif",
"font-mono": "\"IBM Plex Mono\", ui-monospace, \"Cascadia Mono\", Consolas, monospace"
},
"light": {
"background": "#1C1D21",
"foreground": "#FFFFFF",
"card": "rgba(128,128,136,0.30)",
"card-foreground": "#FFFFFF",
"popover": "#3A3B40",
"popover-foreground": "#FFFFFF",
"primary": "#F5F5F7",
"primary-foreground": "#1C1C1E",
"secondary": "rgba(255,255,255,0.08)",
"secondary-foreground": "#FFFFFF",
"muted": "rgba(255,255,255,0.08)",
"muted-foreground": "#D2D3D8",
"accent": "#64D2FF",
"accent-foreground": "#0B1A22",
"destructive": "#FF9C94",
"border": "rgba(255,255,255,0.14)",
"input": "rgba(255,255,255,0.14)",
"ring": "#FFFFFF",
"chart-1": "#F5F5F7",
"chart-2": "#64D2FF",
"chart-3": "#5EE6A0",
"chart-4": "#FFD166",
"chart-5": "#FF9C94",
"radius": "26px"
},
"dark": {
"background": "#1C1D21",
"foreground": "#FFFFFF",
"card": "rgba(128,128,136,0.30)",
"card-foreground": "#FFFFFF",
"popover": "#3A3B40",
"popover-foreground": "#FFFFFF",
"primary": "#F5F5F7",
"primary-foreground": "#1C1C1E",
"secondary": "rgba(255,255,255,0.08)",
"secondary-foreground": "#FFFFFF",
"muted": "rgba(255,255,255,0.08)",
"muted-foreground": "#D2D3D8",
"accent": "#64D2FF",
"accent-foreground": "#0B1A22",
"destructive": "#FF9C94",
"border": "rgba(255,255,255,0.14)",
"input": "rgba(255,255,255,0.14)",
"ring": "#FFFFFF",
"chart-1": "#F5F5F7",
"chart-2": "#64D2FF",
"chart-3": "#5EE6A0",
"chart-4": "#FFD166",
"chart-5": "#FF9C94",
"radius": "26px"
}
},
"css": {
"@import url(\"https://fonts.googleapis.com/css2?family=Assistant:wght@300;400;600&display=swap\")": {},
"@layer base": {
"html": {
"direction": "rtl"
},
"h1, h2, h3, h4": {
"font-family": "var(--font-heading)",
"font-weight": "600",
"letter-spacing": "0"
}
}
}
}
ההגדרה המקורית של הסגנון. ממנה נוצרים כל שאר הפורמטים.
{
"$schema": "https://rtl-styles/schema/style.json",
"name": "Spatial UI",
"nameHe": "ממשק מרחבי",
"direction": "rtl",
"lang": "he",
"scheme": "dark",
"fontsUrl": "https://fonts.googleapis.com/css2?family=Assistant:wght@300;400;600&display=swap",
"cssVariables": {
"--rs-bg": "#1C1D21",
"--rs-bg-image": "radial-gradient(1200px 700px at 70% -10%, rgba(255,236,210,0.14), transparent 60%), radial-gradient(900px 600px at 0% 100%, rgba(140,170,200,0.16), transparent 60%), linear-gradient(to bottom, #2A2B30, #16171A)",
"--rs-surface": "rgba(128,128,136,0.30)",
"--rs-surface-2": "rgba(255,255,255,0.08)",
"--rs-text": "#FFFFFF",
"--rs-text-muted": "#D2D3D8",
"--rs-primary": "#F5F5F7",
"--rs-on-primary": "#1C1C1E",
"--rs-accent": "#64D2FF",
"--rs-on-accent": "#0B1A22",
"--rs-border": "rgba(255,255,255,0.14)",
"--rs-success": "#5EE6A0",
"--rs-warning": "#FFD166",
"--rs-danger": "#FF9C94",
"--rs-focus": "#FFFFFF",
"--rs-font-display": "\"Assistant\", system-ui, \"Segoe UI\", Arial, sans-serif",
"--rs-font-body": "\"Assistant\", system-ui, \"Segoe UI\", Arial, sans-serif",
"--rs-font-mono": "\"IBM Plex Mono\", \"Assistant\", 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.65",
"--rs-text-display": "50px",
"--rs-text-h1": "40px",
"--rs-text-h2": "32px",
"--rs-text-h3": "26px",
"--rs-text-lg": "21px",
"--rs-text-base": "17px",
"--rs-text-sm": "15px",
"--rs-text-xs": "13px",
"--rs-radius-sm": "18px",
"--rs-radius-md": "26px",
"--rs-radius-lg": "40px",
"--rs-radius-pill": "999px",
"--rs-btn-radius": "26px",
"--rs-input-radius": "26px",
"--rs-border-width": "1px",
"--rs-border-style": "solid",
"--rs-shadow-card": "inset -1px 1px 0 rgba(255,255,255,0.16), -10px 24px 60px rgba(0,0,0,0.40)",
"--rs-shadow-raised": "inset -1px 1px 0 rgba(255,255,255,0.22), -16px 36px 90px rgba(0,0,0,0.50)",
"--rs-shadow-button": "0 0 0 1px rgba(255,255,255,0.10), -4px 10px 24px rgba(0,0,0,0.35)",
"--rs-shadow-button-hover": "0 0 0 1px rgba(255,255,255,0.25), 0 0 28px rgba(255,255,255,0.28), -4px 10px 24px rgba(0,0,0,0.35)",
"--rs-shadow-input": "inset 0 1px 3px rgba(0,0,0,0.30)",
"--rs-blur": "30px",
"--rs-duration": "280ms",
"--rs-easing": "cubic-bezier(0.25, 0.9, 0.3, 1)",
"--rs-hover-transform": "none",
"--rs-icon-stroke": "1.5",
"--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"
},
"source": {
"slug": "spatial",
"order": 26,
"name": "ממשק מרחבי",
"nameEn": "Spatial UI",
"family": "מודרני ותלת-ממדי",
"scheme": "dark",
"vibe": "חלונות אפורים-שקופים שמרחפים בחלל רגוע, בפינות עגולות מאוד ועם הילה רכה סביב מה שבמוקד. שקט, מרווח ונקי מצבע.",
"vibeEn": "Grey translucent windows floating in a calm space, with very large radii and a soft halo around whatever is in focus. Quiet, spacious and almost colorless.",
"bestFor": [
"אפליקציות למציאות רבודה ומשקפיים",
"בית חכם ומסכי מכונית",
"נגני מדיה וחוויות סוחפות"
],
"bestForEn": [
"AR and headset apps",
"smart-home and in-car screens",
"media players and immersive experiences"
],
"tags": [
"כהה",
"מרחף",
"רגוע"
],
"fonts": {
"display": {
"family": "Assistant",
"weights": [
300,
400,
600
],
"kind": "sans"
},
"body": {
"family": "Assistant",
"weights": [
300,
400,
600
],
"kind": "sans"
}
},
"colors": {
"bg": "#1C1D21",
"surface": "rgba(128,128,136,0.30)",
"surface2": "rgba(255,255,255,0.08)",
"text": "#FFFFFF",
"textMuted": "#D2D3D8",
"primary": "#F5F5F7",
"onPrimary": "#1C1C1E",
"accent": "#64D2FF",
"onAccent": "#0B1A22",
"border": "rgba(255,255,255,0.14)",
"success": "#5EE6A0",
"warning": "#FFD166",
"danger": "#FF9C94",
"focus": "#FFFFFF"
},
"background": "radial-gradient(1200px 700px at 70% -10%, rgba(255,236,210,0.14), transparent 60%), radial-gradient(900px 600px at 0% 100%, rgba(140,170,200,0.16), transparent 60%), linear-gradient(to bottom, #2A2B30, #16171A)",
"type": {
"headingWeight": 600,
"bodyWeight": 400,
"headingTracking": "0",
"headingLine": 1.2,
"lineHeight": 1.65,
"baseSize": 17,
"scale": 1.24
},
"shape": {
"radiusSm": "18px",
"radiusMd": "26px",
"radiusLg": "40px",
"borderWidth": "1px"
},
"elevation": {
"card": "inset -1px 1px 0 rgba(255,255,255,0.16), -10px 24px 60px rgba(0,0,0,0.40)",
"raised": "inset -1px 1px 0 rgba(255,255,255,0.22), -16px 36px 90px rgba(0,0,0,0.50)",
"button": "0 0 0 1px rgba(255,255,255,0.10), -4px 10px 24px rgba(0,0,0,0.35)",
"buttonHover": "0 0 0 1px rgba(255,255,255,0.25), 0 0 28px rgba(255,255,255,0.28), -4px 10px 24px rgba(0,0,0,0.35)",
"input": "inset 0 1px 3px rgba(0,0,0,0.30)"
},
"effects": {
"blur": "30px",
"iconStroke": 1.5
},
"motion": {
"duration": "280ms",
"easing": "cubic-bezier(0.25, 0.9, 0.3, 1)",
"hover": "glow"
},
"density": "airy",
"elevationNoteEn": "Panels are neutral grey glass with a heavy blur, a faint top-right rim and a large, soft, far-away shadow; focus is shown by a white halo and a slight scale-up, never by color.",
"layoutEn": [
"Arrange content as a few large floating windows with generous gaps, one primary window centered and secondary ones set back."
],
"extraCss": ".rs-app .rs-card--interactive { transition: transform var(--rs-duration) var(--rs-easing), box-shadow var(--rs-duration) var(--rs-easing); } .rs-app .rs-card--interactive:hover { transform: scale(1.015); box-shadow: var(--rs-shadow-raised), 0 0 0 1px rgba(255,255,255,0.22); } .rs-app .rs-btn:hover, .rs-app .rs-chip:hover { transform: scale(1.04); } @media (prefers-reduced-motion: reduce) { .rs-app .rs-card--interactive:hover, .rs-app .rs-btn:hover, .rs-app .rs-chip:hover { transform: none; } }",
"rules": {
"do": [
{
"he": "חלונות אפורים-שקופים עם טשטוש חזק.",
"en": "Use grey translucent windows with a heavy blur."
},
{
"he": "פינות גדולות מאוד — 26px ומעלה.",
"en": "Use very large radii — 26px and up."
},
{
"he": "מוקד מסומן בהילה לבנה ובהגדלה קלה.",
"en": "Mark focus with a white halo and a slight scale-up."
},
{
"he": "מרווחים נדיבים בין חלונות, כדי שירחפו.",
"en": "Leave generous gaps between windows so they float."
}
],
"dont": [
{
"he": "לא צבעים רוויים על משטחים גדולים.",
"en": "Put saturated color on large surfaces."
},
{
"he": "לא אזורי לחיצה קטנים מ-44px.",
"en": "Make hit targets smaller than 44px."
},
{
"he": "לא קווי מתאר חדים או פינות ישרות.",
"en": "Use hard outlines or square corners."
}
]
},
"source": {
"name": "UI UX Pro Max",
"url": "https://github.com/nextlevelbuilder/ui-ux-pro-max-skill",
"license": "MIT"
}
}
}