memarzade-dev commited on
Commit
0b2ef84
·
verified ·
1 Parent(s): 69ef5a1

# Context
We’re beginning the implementation phase of our **Custom Advanced Design System**.
Our goal in this step is to generate all **Design Tokens** — color palette, typography, spacing, shadow, blur, radius, and transitions — that will serve as the visual foundation for the entire system.

These tokens must reflect a **premium, dark, iOS-style glass aesthetic**, with clean contrast, natural lighting, and tactile motion.

---

## Task
Generate a complete **Design Tokens configuration** for TailwindCSS or JSON format, ready to integrate into a React or Next.js project.
Every token should be thoughtfully crafted for **precision, realism, and elegance**.

### Token Categories
#### 🎨 Colors
Define a complete palette for:
- **Background Layers:** `bg-glass-1`, `bg-glass-2`, `bg-surface`, `bg-depth` (transparent dark gradients)
- **Text Colors:** `text-primary`, `text-secondary`, `text-muted`
- **Accents:** `accent-blue`, `accent-violet`, `accent-cyan`, `accent-green`
- **Status Tokens:** `success`, `warning`, `error`, `info`
- **Borders & Lines:** subtle, translucent rgba layers
- **Overlay Layers:** `overlay-light`, `overlay-dark` for glass depth

🧊 Example:
```

"colors": {
"bg-glass-1": "rgba(18, 18, 18, 0.8)",
"bg-glass-2": "rgba(30, 30, 30, 0.6)",
"accent-blue": "#2D9CDB",
"accent-violet": "#A855F7",
"accent-cyan": "#06B6D4",
"text-primary": "#FFFFFF",
"text-secondary": "rgba(255,255,255,0.75)",
"border-light": "rgba(255,255,255,0.1)",
"border-dark": "rgba(0,0,0,0.4)"
}

```

---

#### 🪶 Typography
Define a typography scale that feels modern and balanced:
```

"typography": {
"fontFamily": "'Inter', 'SF Pro Display', sans-serif",
"fontSizes": {
"display": "64px",
"headline": "36px",
"title": "24px",
"body": "16px",
"caption": "14px"
},
"lineHeights": {
"tight": "110%",
"normal": "130%",
"loose": "150%"
},
"weights": {
"regular": 400,
"medium": 500,
"semibold": 600,
"bold": 700
}
}

```

---

#### 🌫 Blur & Glass Depth
```

"blur": {
"sm": "6px",
"md": "12px",
"lg": "20px",
"xl": "32px"
},
"glassDepth": {
"base": "rgba(255,255,255,0.06)",
"highlight": "rgba(255,255,255,0.12)"
}

```

---

#### 🕶 Shadows (Elevation System)
Multi-layer RGBA shadows with soft diffusion, inspired by real lighting.
```

"shadows": {
"sm": "0 1px 2px rgba(0, 0, 0, 0.4)",
"md": "0 2px 8px rgba(0, 0, 0, 0.5)",
"lg": "0 8px 16px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05)",
"xl": "0 12px 32px rgba(0, 0, 0, 0.7), inset 0 2px 1px rgba(255, 255, 255, 0.06)"
}

```

---

#### 📏 Spacing & Radius
```

"spacing": {
"xs": "4px",
"sm": "8px",
"md": "12px",
"lg": "16px",
"xl": "24px",
"2xl": "32px"
},
"radius": {
"sm": "6px",
"md": "10px",
"lg": "16px",
"xl": "24px"
}

```

---

#### ⚡ Transitions & Easing
```

"motion": {
"duration": {
"fast": "150ms",
"base": "250ms",
"slow": "400ms"
},
"easing": {
"standard": "cubic-bezier(0.4, 0, 0.2, 1)",
"soft": "cubic-bezier(0.25, 0.1, 0.25, 1)",
"spring": "cubic-bezier(0.34, 1.56, 0.64, 1)"
}
}

```

---

## Deliverable
Provide the **full design token configuration** as either:
1. A valid **Tailwind config extension**,
2. Or a clean **JSON file** that can be imported as design tokens.

Ensure all colors, blur, shadows, and motion values align with the glassmorphism / iOS26 visual system.
Use consistent naming (e.g., `bg-glass-*`, `shadow-*`, `blur-*`).

When finished, confirm with:
✅ “Design Tokens Ready – visually balanced and consistent across system.”

---

## Visual Goal
The tokens must produce a look and feel that’s:
- Minimalist yet luxurious
- Glassy and atmospheric
- Inspired by Apple’s fluid depth and light
- Built for a dark environment with glowing contrast accents
```

3 files changed +113 -1
Files changed (3)
design-system.html+2-1
design-tokens.jsonAdded+110
index.html+1