Last active
May 14, 2026 12:15
-
-
Save up1/2b0be84825f42d3fc16db8544cd33fe1 to your computer and use it in GitHub Desktop.
Design.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| name: Neon Tokyo — Daybreak | |
| colors: | |
| surface: '#fcf8ff' | |
| surface-dim: '#d9d7f4' | |
| surface-bright: '#fcf8ff' | |
| surface-container-lowest: '#ffffff' | |
| surface-container-low: '#f5f2ff' | |
| surface-container: '#efecff' | |
| surface-container-high: '#e8e5ff' | |
| surface-container-highest: '#e2e0fd' | |
| typography: | |
| headline-xl: | |
| fontFamily: Sora | |
| fontSize: 40px | |
| fontWeight: '700' | |
| lineHeight: '1.2' | |
| headline-md: | |
| fontFamily: Sora | |
| fontSize: 24px | |
| fontWeight: '600' | |
| lineHeight: '1.3' | |
| body-md: | |
| fontFamily: Inter | |
| fontSize: 16px | |
| fontWeight: '400' | |
| lineHeight: '1.5' | |
| rounded: | |
| sm: 0.125rem | |
| DEFAULT: 0.25rem | |
| md: 0.375rem | |
| lg: 0.5rem | |
| xl: 0.75rem | |
| full: 9999px | |
| spacing: | |
| base: 8px | |
| xs: 4px | |
| sm: 12px | |
| md: 16px | |
| lg: 24px | |
| xl: 40px | |
| --- | |
| # Neon Tokyo — Daybreak | |
| ## North Star: "Electric Daylight" | |
| Cyberpunk-inspired, but adapted for the light. Clean white backgrounds with high-contrast neon accents. Futuristic, technical, and high-visibility. | |
| ## Colors | |
| - **Primary (`#ff2d78`):** Hot pink neon — CTAs, focus states, active elements. | |
| - **Secondary (`#00ffcc`):** Cyan neon — links, secondary actions, data highlights. | |
| - **Tertiary (`#ffe04a`):** Warm neon yellow — badges, warnings, emphasis. | |
| - **Background:** Pure white or extremely light gray. | |
| - **Neutral (`#28283e`):** Deep navy/charcoal for text and structural lines. | |
| - Use neon colors as vibrant accents to guide the eye across the light canvas. | |
| ## Glow Effects (Core Pattern) | |
| - **Neon Aura:** Instead of dark glows, use `box-shadow: 0 4px 12px rgba(255, 45, 120, 0.15)` for a soft color tint on light surfaces. | |
| - **Button Interaction:** `box-shadow: 0 0 12px rgba(255, 45, 120, 0.3)` on hover. | |
| - **Border Focus:** `border: 2px solid #ff2d78` to clearly define interactive elements. | |
| - Keep glows subtle; they should look like light reflecting off a white surface, not a light source in a dark room. | |
| ## Typography | |
| - **Headlines:** Sora — geometric and futuristic. Use bold weight for strong hierarchy. | |
| - **Body:** Inter — high legibility for long-form content on light backgrounds. | |
| - **Labels:** Space Grotesk — technical, monospaced feel for metadata. | |
| ## Elevation | |
| - Surface hierarchy via subtle neutral shifts (White base → Light Gray containers). | |
| - Use thin, crisp borders (`1px`) to define sections. | |
| - Depth is conveyed through colored "auras" rather than traditional heavy black shadows. | |
| ## Components | |
| - **Buttons:** White background with a bold neon border, or solid neon fill with high-contrast text. | |
| - **Cards:** White surface with a thin neutral border (20% opacity). | |
| - **Inputs:** White fill, neutral border, switches to a primary neon border with a soft aura on focus. | |
| ## Rules | |
| - Maximum 2 neon accent colors per view to maintain a clean "Daybreak" aesthetic. | |
| - Neon on light is encouraged for high-energy interaction points. | |
| - Ensure all text on neon backgrounds meets accessibility standards (use dark neutral text on yellow/cyan if needed). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ติดตั้ง | |
| $npm install @google/design.md | |
| // Lint | |
| $npx @google/design.md lint DESIGN.md | |
| // Export | |
| $npx @google/design.md export --format json-tailwind DESIGN.md > tailwind.theme.json | |
| $npx @google/design.md export --format css-tailwind DESIGN.md > theme.css |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment