---
version: alpha
name: "Tactile Digital / Deformable UI (RTL)"
description: "Chubby jelly buttons that squish when pressed and spring back. Big shapes, juicy colors and the feeling that everything can be touched."
colors:
  primary: "#D21F67"
  on-primary: "#FFFFFF"
  secondary: "#7DD3FC"
  on-secondary: "#0B2A3D"
  neutral: "#FFF0F6"
  surface: "#FFFFFF"
  surface-variant: "#FFE2EE"
  on-surface: "#2A1530"
  on-surface-variant: "#5E3F5C"
  outline: "#D21F6733"
  success: "#18794E"
  warning: "#975A00"
  error: "#B4232A"
typography:
  display-lg:
    fontFamily: "Rubik Bubbles"
    fontSize: 54px
    fontWeight: 400
    lineHeight: 1.2
  headline-lg:
    fontFamily: "Rubik Bubbles"
    fontSize: 43px
    fontWeight: 400
    lineHeight: 1.2
  headline-md:
    fontFamily: "Rubik Bubbles"
    fontSize: 34px
    fontWeight: 400
    lineHeight: 1.2
  title-md:
    fontFamily: "Rubik Bubbles"
    fontSize: 27px
    fontWeight: 400
    lineHeight: 1.25
  body-lg:
    fontFamily: "Playpen Sans Hebrew"
    fontSize: 21px
    fontWeight: 400
    lineHeight: 1.7
  body-md:
    fontFamily: "Playpen Sans Hebrew"
    fontSize: 17px
    fontWeight: 400
    lineHeight: 1.7
  label-md:
    fontFamily: "Playpen Sans Hebrew"
    fontSize: 15px
    fontWeight: 600
    lineHeight: 1.4
rounded:
  sm: 16px
  md: 24px
  lg: 34px
  button: 24px
  input: 24px
  full: 999px
spacing:
  xs: 5px
  sm: 10px
  md: 20px
  lg: 30px
  xl: 60px
motion:
  standard:
    duration: 280ms
    timingFunction: "cubic-bezier(0.34, 1.8, 0.5, 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}"
---

# Tactile Digital / Deformable UI — Hebrew / RTL design system

## Overview

Chubby jelly buttons that squish when pressed and spring back. Big shapes, juicy colors and the feeling that everything can be touched.

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: kids apps and games, youthful consumer products, playful mobile experiences.

## Colors

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

- **Primary (#D21F67):** the main action color — primary buttons, links, active navigation, focus rings. Text on it is #FFFFFF.
- **Secondary / accent (#7DD3FC):** highlights, badges, the one featured card per screen. Text on it is #0B2A3D.
- **Neutral / background (#FFF0F6):** the page itself (with a decorative background: `radial-gradient(500px 360px at 95% 5%, rgba(125,211,252,0.35), transparent 70%), radial-gradient(520px 380px at 5% 95%, rgba(255,186,73,0.25), transparent 70%)`).
- **Surface (#FFFFFF) and surface-variant (#FFE2EE):** cards, inputs, sidebars; the variant for secondary buttons, tabs and table hover.
- **On-surface (#2A1530) and on-surface-variant (#5E3F5C):** body text and secondary text. Both pass WCAG AA (4.5:1) on every surface.
- **Outline (#D21F6733):** borders and dividers.
- **Status:** success #18794E, warning #975A00, error #B4232A.

## Typography

- **Display / headings:** Rubik Bubbles, weight 400.
- **Body:** Playpen Sans Hebrew, weight 400, line-height 1.7.
- Scale (ratio 1.26): 54px / 43px / 34px / 27px / 21px / 17px / 15px.
- Load fonts from Google Fonts — all of them include Hebrew glyphs: `https://fonts.googleapis.com/css2?family=Rubik+Bubbles&family=Playpen+Sans+Hebrew:wght@400;500;700&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.
- Make every tap target big — 48px and up — and leave room around buttons so the squash and bounce never touch a neighbour.

## Elevation & Depth

- Card shadow: `-5px 8px 0 rgba(42,21,48,0.07), -10px 18px 30px rgba(210,31,103,0.12)`
- Raised / hover shadow: `-7px 11px 0 rgba(42,21,48,0.09), -14px 26px 40px rgba(210,31,103,0.16)`
- Button shadow: `inset 0 3px 0 rgba(255,255,255,0.35), inset 0 -4px 0 rgba(0,0,0,0.12), 0 6px 0 rgba(42,21,48,0.30), -4px 12px 16px rgba(42,21,48,0.18)`; on hover `inset 0 3px 0 rgba(255,255,255,0.4), inset 0 -4px 0 rgba(0,0,0,0.12), 0 8px 0 rgba(42,21,48,0.30), -6px 16px 22px rgba(42,21,48,0.22)`
- Buttons sit on a solid 6px ledge (a hard bottom shadow) with a light inner top lip; on press the ledge collapses and the button squashes, then springs back with an overshooting curve.

## Shapes

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

## Motion & Micro-interaction

- Duration 280ms, easing `cubic-bezier(0.34, 1.8, 0.5, 1)`.
- Hover behaviour: **lift** (cards and buttons rise 2px).
- 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 seat buttons on a solid ledge that collapses on press.
- Do use spring motion with a slight overshoot on release.
- Do use large tap targets and very round corners.
- Do respect reduced motion — no squash for users who opt out.
- Don't use the bubble font for running text — headings only.
- Don't bounce the whole screen — only what was pressed.
- Don't use it for serious or financial systems.

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

:root {
  --rs-bg: #FFF0F6;
  --rs-bg-image: radial-gradient(500px 360px at 95% 5%, rgba(125,211,252,0.35), transparent 70%), radial-gradient(520px 380px at 5% 95%, rgba(255,186,73,0.25), transparent 70%);
  --rs-surface: #FFFFFF;
  --rs-surface-2: #FFE2EE;
  --rs-text: #2A1530;
  --rs-text-muted: #5E3F5C;
  --rs-primary: #D21F67;
  --rs-on-primary: #FFFFFF;
  --rs-accent: #7DD3FC;
  --rs-on-accent: #0B2A3D;
  --rs-border: rgba(210,31,103,0.20);
  --rs-success: #18794E;
  --rs-warning: #975A00;
  --rs-danger: #B4232A;
  --rs-focus: #D21F67;
  --rs-font-display: "Rubik Bubbles", system-ui, "Segoe UI", Arial, sans-serif;
  --rs-font-body: "Playpen Sans Hebrew", system-ui, "Segoe UI", Arial, sans-serif;
  --rs-font-mono: "IBM Plex Mono", "Playpen Sans Hebrew", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --rs-heading-weight: 400;
  --rs-body-weight: 400;
  --rs-heading-tracking: 0;
  --rs-heading-line: 1.2;
  --rs-line: 1.7;
  --rs-text-display: 54px;
  --rs-text-h1: 43px;
  --rs-text-h2: 34px;
  --rs-text-h3: 27px;
  --rs-text-lg: 21px;
  --rs-text-base: 17px;
  --rs-text-sm: 15px;
  --rs-text-xs: 13px;
  --rs-radius-sm: 16px;
  --rs-radius-md: 24px;
  --rs-radius-lg: 34px;
  --rs-radius-pill: 999px;
  --rs-btn-radius: 24px;
  --rs-input-radius: 24px;
  --rs-border-width: 2px;
  --rs-border-style: solid;
  --rs-shadow-card: -5px 8px 0 rgba(42,21,48,0.07), -10px 18px 30px rgba(210,31,103,0.12);
  --rs-shadow-raised: -7px 11px 0 rgba(42,21,48,0.09), -14px 26px 40px rgba(210,31,103,0.16);
  --rs-shadow-button: inset 0 3px 0 rgba(255,255,255,0.35), inset 0 -4px 0 rgba(0,0,0,0.12), 0 6px 0 rgba(42,21,48,0.30), -4px 12px 16px rgba(42,21,48,0.18);
  --rs-shadow-button-hover: inset 0 3px 0 rgba(255,255,255,0.4), inset 0 -4px 0 rgba(0,0,0,0.12), 0 8px 0 rgba(42,21,48,0.30), -6px 16px 22px rgba(42,21,48,0.22);
  --rs-shadow-input: inset -2px 3px 0 rgba(42,21,48,0.06);
  --rs-blur: 0px;
  --rs-duration: 280ms;
  --rs-easing: cubic-bezier(0.34, 1.8, 0.5, 1);
  --rs-hover-transform: translateY(-2px);
  --rs-icon-stroke: 2.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-btn { font-weight: 700; } .rs-app .rs-btn:active { transform: translateY(5px) scale(1.04, 0.92); box-shadow: inset 0 2px 0 rgba(255,255,255,0.3), 0 1px 0 rgba(42,21,48,0.30); } .rs-app .rs-chip:active, .rs-app .rs-tab:active { transform: scale(0.94); } @media (prefers-reduced-motion: reduce) { .rs-app .rs-btn:active, .rs-app .rs-chip:active, .rs-app .rs-tab:active { transform: none; } }
```

## Credits

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