[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6Q4CTZM1C0QZK7RE27DNA72":3,"skill-same:01M6Q4CTZM1C0QZK7RE27DNA72":83},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":46,"repositoryHtmlUrl":47,"repositoryHomepageUrl":6,"ownerHtmlUrl":48,"ownerBlogUrl":6,"ownerDescription":49,"updatedAt":50,"install":51,"resources":64},"01M6Q4CTZM1C0QZK7RE27DNA72","terminal-ui-design-system",null,"Create terminal-inspired UI interfaces with macOS-style window decorations, monospace typography, and a warm color palette. Use this skill when building developer tools, code marketplaces, technical documentation sites, or any interface that benefits from a terminal\u002Fcommand-line aesthetic. Provides complete design system specifications including color palette, typography, spacing, components, and CSS implementation details.","Kernel8901\u002Fai-agent-skills-classification","Kernel8901","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F72647553?v=4","01M6KV388J2H5PNC8D8P940BJD","01M6KV38CS5B3AY63RKZB410YM",7,"MIT","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F视觉与设计\u002Fterminal-ui-website-design\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"design","terminal","terminal ui design system","design system","terminal ui","ui","ui design system","system","terminal ui design","ui design","window","command-line","interface","palette","command","code","create","documentation","components","css","2026-11-10 10:12:30",false,"---\nname: terminal-ui-design-system\ndescription: Create terminal-inspired UI interfaces with macOS-style window decorations, monospace typography, and a warm color palette. Use this skill when building developer tools, code marketplaces, technical documentation sites, or any interface that benefits from a terminal\u002Fcommand-line aesthetic. Provides complete design system specifications including color palette, typography, spacing, components, and CSS implementation details.\n---\n\n# Terminal UI Design System\n\nA comprehensive design system for creating terminal-inspired user interfaces with macOS-style window decorations, monospace typography, and a warm, developer-friendly color palette. This design system is optimized for developer tools, code marketplaces, technical documentation, and any interface that benefits from a command-line aesthetic.\n\n## Design Philosophy\n\n**Core Principles:**\n- **Terminal Aesthetic**: Mimics macOS terminal windows with colored dots, monospace fonts, and command-line syntax\n- **Developer-First**: Uses syntax highlighting colors, code-like structures, and terminal metaphors\n- **Warm & Approachable**: Warm terracotta primary color (#cc7a60) creates a friendly, non-intimidating feel\n- **High Contrast**: Clear visual hierarchy with distinct text colors and backgrounds\n- **Functional Beauty**: Every design element serves a purpose while maintaining visual appeal\n\n## Color System\n\n### Primary Palette\n\n**Main Brand Color:**\n- `--primary: #cc7a60` - Warm terracotta\u002Forange-brown, used for primary actions, accents, and highlights\n- `--primary-foreground: #fff` - White text on primary backgrounds\n- `--primary-dark: #b56850` - Darker shade for hover states\n- `--primary-light: #d8907a` - Lighter shade for subtle accents\n- `--ring: #cc7a60` - Focus ring color (same as primary)\n\n**Warm Accent:**\n- `--warm-red: #c85a3f` - Used for code block borders and warm accents\n\n### Semantic Colors\n\n**Backgrounds:**\n- `--background: #fff` - Pure white for main backgrounds\n- `--bg-main: #f8f8f8` - Light gray for page background (with subtle grid pattern)\n- `--bg-card: #fff` - White for card components\n- `--bg-code: #fafafa` - Very light gray for code blocks and window headers\n- `--secondary: #f9fafb` - Light gray for secondary backgrounds\n- `--muted: #f3f4f6` - Muted gray for subtle backgrounds\n\n**Text Colors:**\n- `--foreground: #111827` - Near-black for primary text (excellent readability)\n- `--text-primary: #111827` - Primary text color\n- `--text-secondary: #666666` - Medium gray for secondary text\n- `--text-muted: #5b6370` - Muted gray for less important text\n- `--muted-foreground: #5b6370` - Foreground on muted backgrounds\n\n**Borders:**\n- `--border: #8b929e` - Medium gray for main borders\n- `--border-light: #e5e7eb` - Light gray for subtle dividers\n- `--input: #8b929e` - Input border color\n\n**Status Colors:**\n- `--success: #22c55e` - Green for success states\n- `--warning: #f59e0b` - Amber for warnings\n- `--danger: #ef4444` - Red for errors\u002Fdestructive actions\n- `--accent: #f59e0b` - Amber accent color\n\n### Syntax Highlighting Colors\n\n**Code Syntax:**\n- `--syntax-keyword: #cc7a60` - Primary color for keywords (const, export, etc.)\n- `--syntax-string: #22c55e` - Green for strings\n- `--syntax-number: #cc7a60` - Primary color for numbers\n- `--syntax-comment: #6a9955` - Muted green for comments\n- `--syntax-function: #dcdcaa` - Light yellow for function names\n\n**Command Prefix:**\n- Command prefix (`$`) uses fluorescent green: `#39ff14` - Creates terminal-like appearance\n\n**Code Elements:**\n- `--text-comment: #6a9955` - Comment text color\n\n### macOS Window Dots\n\n**Terminal Window Controls:**\n- `--dot-red: #ff5f57` - Close button (macOS red)\n- `--dot-yellow: #febc2e` - Minimize button (macOS yellow)\n- `--dot-green: #28c840` - Maximize button (macOS green)\n\n### Color Usage Guidelines\n\n**Primary Color (#cc7a60) Usage:**\n- Command keywords in navigation\n- Prompt symbols (`>`)\n- Active states and highlights\n- Focus rings\n- Hover borders\n- Primary buttons when active\n- Chart lines and data visualization\n\n**Fluorescent Green (#39ff14) Usage:**\n- Command prefix (`$`) - creates authentic terminal feel\n- Only used for dollar signs, never for other elements\n\n**Green (#22c55e) Usage:**\n- Success indicators\n- Status dots (online\u002Fready)\n- String literals in code\n- Positive actions\n\n**Blue (#3b82f6) Usage:**\n- Command keywords (cd, watch, man, api)\n- Code keywords (const, let, var)\n- Links and interactive elements\n\n## Typography System\n\n### Font Families\n\n**Primary Font Stack:**\n```css\n--font-mono: \"JetBrains Mono\", \"JetBrains Mono Fallback\", 'Fira Code', 'Consolas', monospace;\n```\n- **Primary**: JetBrains Mono (400-800 weights)\n- **Fallbacks**: Fira Code, Consolas, system monospace\n- Used for: All UI text, navigation, buttons, code blocks\n\n**Sans-serif Fallback:**\n```css\n--font-sans: ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n```\n- Used as fallback only, monospace is preferred\n\n### Font Size Scale\n\n**Base Unit System:**\n- `--text-xs: 0.75rem` (12px) - Small labels, hints, window status\n- `--text-sm: 0.875rem` (14px) - Secondary text, descriptions\n- `--text-base: 1rem` (16px) - Body text, default size\n- `--text-lg: 1.125rem` (18px) - Slightly emphasized text\n- `--text-xl: 1.25rem` (20px) - Subheadings\n- `--text-2xl: 1.5rem` (24px) - Section titles\n- `--text-3xl: 1.875rem` (30px) - Large numbers, stats\n- `--text-4xl: 2.25rem` (36px) - Hero numbers\n- `--text-5xl: 3rem` (48px) - Large headings\n- `--text-6xl: 3.75rem` (60px) - Extra large headings\n\n**Font Weights:**\n- `--font-weight-normal: 400` - Body text\n- `--font-weight-medium: 500` - Medium emphasis\n- `--font-weight-semibold: 600` - Semibold (keywords, labels)\n- `--font-weight-bold: 700` - Bold (headings, important text)\n- `--font-weight-extrabold: 800` - Extra bold (hero text)\n\n**Line Heights:**\n- `--leading-tight: 1.25` - Tight spacing for headings\n- `--leading-relaxed: 1.625` - Relaxed spacing for body text\n\n### Typography Usage\n\n**Headings:**\n- Hero titles: 3.5rem, weight 700, line-height 1.1\n- Section titles: 2.5rem, weight 700\n- FAQ titles: 2rem, weight 700\n\n**Body Text:**\n- Default: 1rem, weight 400, line-height 1.5\n- Secondary: 0.875rem, color `--text-secondary`\n- Muted: 0.75rem, color `--text-muted`\n\n**Code\u002FCommand Text:**\n- Always use monospace font\n- Command prefix: fluorescent green (#39ff14)\n- Keywords: primary color (#cc7a60) or blue (#3b82f6)\n- Flags\u002Farguments: default foreground color\n\n## Spacing System\n\n**Base Unit:** `--spacing: 0.25rem` (4px)\n\n**Spacing Scale:**\n- `--spacing-xs: 4px` (0.25rem) - Tight spacing, icon padding\n- `--spacing-sm: 8px` (0.5rem) - Small gaps, button padding\n- `--spacing-md: 16px` (1rem) - Standard spacing, card padding\n- `--spacing-lg: 24px` (1.5rem) - Large gaps, section spacing\n- `--spacing-xl: 32px` (2rem) - Extra large gaps, major sections\n- `--spacing-2xl: 48px` (3rem) - Maximum spacing, page sections\n\n**Usage Guidelines:**\n- Use consistent spacing multiples (4px base)\n- Card padding: `--spacing-md` to `--spacing-lg`\n- Section margins: `--spacing-xl` to `--spacing-2xl`\n- Button padding: `--spacing-sm` to `--spacing-md`\n- Gap between related elements: `--spacing-sm` to `--spacing-md`\n\n## Border Radius System\n\n**Radius Scale:**\n- `--radius-xs: 2px` (0.125rem) - Minimal rounding\n- `--radius-sm: 4px` (0.25rem) - Small elements\n- `--radius-md: 6px` (0.375rem) - Buttons, inputs\n- `--radius-lg: 8px` (0.5rem) - Cards, windows (most common)\n- `--radius-xl: 12px` (0.75rem) - Large cards\n- `--radius-2xl: 16px` (1rem) - Extra large elements\n- `--radius: 10px` (0.625rem) - Default radius\n\n**Usage:**\n- Terminal windows: `--radius-lg` (8px)\n- Buttons: `--radius-lg` (8px)\n- Cards: `--radius-lg` (8px)\n- Inputs: `--radius-md` (6px)\n- Avatar: `9999px` (fully rounded)\n\n## Shadow System\n\n**Shadow Scale:**\n- `--shadow-sm: 0 1px 2px rgba(0,0,0,0.05)` - Subtle elevation\n- `--shadow-md: 0 4px 6px rgba(0,0,0,0.07)` - Medium elevation (cards on hover)\n- `--shadow-lg: 0 10px 25px rgba(0,0,0,0.1)` - Large elevation (floating buttons)\n\n**Usage:**\n- Default cards: `--shadow-sm`\n- Hover states: `--shadow-md`\n- Floating elements: `--shadow-lg`\n- Primary-colored shadows: `rgba(204, 122, 96, 0.1)` for primary-themed elements\n\n## Component Specifications\n\n### Terminal Window Component\n\n**Structure:**\n```html\n\u003Cdiv class=\"terminal-window\">\n  \u003Cdiv class=\"window-header\">\n    \u003Cdiv class=\"window-dots\">\n      \u003Cspan class=\"dot red\">\u003C\u002Fspan>\n      \u003Cspan class=\"dot yellow\">\u003C\u002Fspan>\n      \u003Cspan class=\"dot green\">\u003C\u002Fspan>\n    \u003C\u002Fdiv>\n    \u003Cspan class=\"window-title\">filename.ext\u003C\u002Fspan>\n    \u003Cspan class=\"window-status\">ready\u003C\u002Fspan>\n  \u003C\u002Fdiv>\n  \u003Cdiv class=\"window-content\">\n    \u003C!-- Content -->\n  \u003C\u002Fdiv>\n\u003C\u002Fdiv>\n```\n\n**Styling:**\n- Background: `--bg-card` (#fff)\n- Border: `1px solid --border` (#8b929e)\n- Border radius: `--radius-lg` (8px)\n- Box shadow: `--shadow-sm`\n- Header background: `--bg-code` (#fafafa)\n- Header border-bottom: `1px solid --border-light` (#e5e7eb)\n- Header padding: `--spacing-sm --spacing-md` (8px 16px)\n- Content padding: `--spacing-lg` (24px)\n\n**Window Dots:**\n- Size: `12px × 12px`\n- Gap: `6px`\n- Colors: Red (#ff5f57), Yellow (#febc2e), Green (#28c840)\n- Fully rounded (border-radius: 50%)\n\n**Window Title:**\n- Font size: `0.85rem`\n- Color: `--text-secondary` (#666666)\n- Font: Monospace\n\n**Window Status:**\n- Font size: `0.75rem`\n- Color: `--text-muted` (#5b6370)\n- Position: Right side of header\n\n### Navigation Bar\n\n**Structure:**\n```html\n\u003Cnav class=\"navbar\">\n  \u003Cdiv class=\"navbar-container\">\n    \u003Cdiv class=\"navbar-content\">\n      \u003C!-- Logo, commands, actions -->\n    \u003C\u002Fdiv>\n  \u003C\u002Fdiv>\n\u003C\u002Fnav>\n```\n\n**Styling:**\n- Position: `sticky`, `top: 0`\n- Background: `rgba(255, 255, 255, 0.8)` with `backdrop-filter: blur(8px)`\n- Border-bottom: `1px solid --border`\n- Height: `64px` (desktop), `56px` (mobile)\n- Max width: `80rem` (1280px), centered\n\n**Logo:**\n- Status indicator: Green dot (8px) + \"ready\" text\n- Path prefix: `~\u002F` in primary color (#cc7a60)\n- Path name: Bold, foreground color\n- Cursor blink: 2px width, primary color, animated\n\n**Navigation Commands:**\n- Display: Flex, gap `--spacing-md`\n- Button style: Monospace font, small padding (6px 12px)\n- Border: `1px solid --border`\n- Border radius: `--radius-lg`\n- Active state: Primary border color with pulse animation\n- Hover: Border color changes to primary with 50% opacity\n\n**Command Button Structure:**\n```html\n\u003Cbutton class=\"nav-cmd\">\n  \u003Cspan class=\"cmd-prefix\">$\u003C\u002Fspan>\n  \u003Cspan class=\"cmd-keyword\">ai\u003C\u002Fspan>\n  \u003Cspan class=\"cmd-flag\">--search\u003C\u002Fspan>\n\u003C\u002Fbutton>\n```\n\n**Command Colors:**\n- Prefix (`$`): Fluorescent green (#39ff14)\n- Keyword: Primary color (#cc7a60) or blue (#3b82f6)\n- Flag: Default foreground color\n\n### Card Components\n\n**Skill Card:**\n- Background: `--bg-card` (#fff in light, #111 in dark)\n- Border: `1px solid --border`\n- Border radius: `--radius-xl` (12px)\n- Height: `100%` with flex column layout\n- Hover: Border changes to primary with 50% opacity, shadow increases (`0 25px 50px -12px rgba(204, 122, 96, 0.1)`), `translateY(-4px)`\n- Active: `translateY(0) scale(0.99)`\n- Transition: `all 0.3s ease`\n- **Line Numbers**: Absolute positioned on left, `2rem` width, subtle background\n- **Avatar**: 24px × 24px, bordered, scales on hover\n- **Star Icon**: 10px × 10px, warning color\n- **Like Button**: SVG heart icon, changes color on hover\n\n**Category Card:**\n- Same base styling as skill card\n- **Color Themes**: Cyan, Blue, Purple, Amber variants\n- **Folder Icon**: SVG icon, color varies by theme, scales on hover\n- **Category Dot**: Small indicator dot, changes on hover\n- **Arrow Icon**: Appears on hover, positioned bottom-right\n- **JSON Display**: Key-value pairs with theme-colored hover effects\n- **Command Line**: Footer with command-style text\n\n**Mention Card:**\n- Same base styling\n- Blockquote styling with quotation marks\n- Source attribution with border-top separator\n\n### Button Components\n\n**Primary Button (Active):**\n- Background: `--primary` (#cc7a60)\n- Color: `--primary-foreground` (#fff)\n- Border: `1px solid --primary`\n- Border radius: `--radius-lg`\n- Padding: `6px 12px` (small) or `--spacing-md --spacing-lg` (medium)\n- Font: Monospace, `--text-xs` or `--text-sm`\n\n**Secondary Button:**\n- Background: `--bg-card`\n- Border: `1px solid --border`\n- Color: `--foreground`\n- Hover: Border color changes to primary with 50% opacity\n- Active: `transform: scale(0.95)`\n\n**Icon Button:**\n- Square or rounded\n- Padding: `6px 12px`\n- Icon size: `14px` or `16px`\n- Same hover\u002Factive states as secondary button\n\n### Input Components\n\n**Search Input:**\n- Background: Transparent\n- Border: None\n- Font: Monospace\n- Placeholder: `--text-muted` color\n- Focus: No visible border (minimal design)\n\n**Text Input:**\n- Background: `--bg-card`\n- Border: `1px solid --border`\n- Border radius: `--radius-sm` or `--radius-md`\n- Padding: `--spacing-sm`\n- Font: Monospace\n\n### Code Display Components\n\n**Code Block:**\n- Background: `rgba(255, 255, 255, 0.5)` with backdrop blur\n- Border: `1px solid --border`\n- Border radius: `--radius-lg`\n- Padding: `--spacing-md`\n- Font: Monospace\n- Line height: `--leading-relaxed`\n\n**Code Line:**\n- Display: Flex, align baseline\n- Gap: `--spacing-sm`\n- Syntax colors applied to different elements\n\n**Description Block (Comment Style):**\n- Border-left: `4px solid rgba(204, 122, 96, 0.5)`\n- Background: `rgba(204, 122, 96, 0.05)`\n- Padding-left: `--spacing-md`\n- Border-radius: Right side only (`--radius-lg`)\n- Font: Monospace\n\n### Grid Layouts\n\n**Skills Grid:**\n- Display: Grid\n- Columns: `repeat(3, 1fr)` (desktop), `repeat(2, 1fr)` (tablet), `1fr` (mobile)\n- Gap: `--spacing-lg` (24px)\n\n**Categories Grid:**\n- Display: Grid\n- Columns: `repeat(4, 1fr)` (desktop), `repeat(2, 1fr)` (tablet), `1fr` (mobile)\n- Gap: `--spacing-lg`\n\n**Mentions Grid:**\n- Display: Grid\n- Columns: `1fr 1fr` (desktop), `1fr` (mobile)\n- Gap: `--spacing-lg`\n\n## Animation System\n\n### Transitions\n\n**Default Transition:**\n- Duration: `0.15s` or `0.2s`\n- Timing: `cubic-bezier(.4,0,.2,1)` (ease-in-out)\n- Properties: `all` or specific properties\n\n**Common Transitions:**\n- Hover states: `all 0.2s ease`\n- Active states: `transform 0.2s ease`\n- Color changes: `color 0.2s ease` or `background-color 0.2s ease`\n\n### Keyframe Animations\n\n**Blink Animation (Cursor):**\n```css\n@keyframes blink {\n  0%, 50% { opacity: 1; }\n  51%, 100% { opacity: 0; }\n}\n```\n- Duration: `1s`\n- Iteration: `infinite`\n- Used for: Cursor blink effect\n\n**Pulse Border Animation:**\n```css\n@keyframes pulse-border {\n  0%, 100% { border-color: rgba(204, 122, 96, 0.5); }\n  50% { border-color: var(--ring); }\n}\n```\n- Duration: `2s`\n- Timing: `ease-in-out`\n- Iteration: `infinite`\n- Used for: Active navigation items\n\n**Fade In Up Animation:**\n```css\n@keyframes fadeInUp {\n  from {\n    opacity: 0;\n    transform: translateY(20px);\n  }\n  to {\n    opacity: 1;\n    transform: translateY(0);\n  }\n}\n```\n- Duration: `0.5s`\n- Timing: `ease`\n- Used for: Card entrance animations\n- Staggered delays: 0.1s increments for grid items\n\n### Interactive States\n\n**Hover States:**\n- Buttons: Border color changes, background lightens\n- Cards: Border changes to primary, shadow increases, slight lift\n- Links: Color changes to primary\n- Scale: No scaling on hover (maintains stability)\n\n**Active States:**\n- Buttons: `transform: scale(0.95)` - subtle press effect\n- Duration: `0.2s`\n\n**Focus States:**\n- Outline: `2px solid --ring` with `2px` offset\n- Used for: Accessibility, keyboard navigation\n\n## Background Patterns\n\n### Grid Pattern (Page Background)\n\n```css\nbackground-image: \n  linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),\n  linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);\nbackground-size: 20px 20px;\n```\n\n- Very subtle grid (2% opacity black)\n- 20px × 20px grid cells\n- Creates texture without distraction\n- Applied to `body` background\n\n### Gradient Backgrounds\n\n**Avatar Gradient:**\n```css\nbackground: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);\n```\n- Warm peach gradient\n- 135-degree angle\n- Used for: User avatars\n\n**Chart Gradient:**\n```css\nlinearGradient: #cc7a60 with opacity stops (0%: 0.6, 100%: 0)\n```\n- Primary color gradient\n- Used for: Area charts, data visualization\n\n## Responsive Design\n\n### Breakpoints\n\n**Mobile:** `\u003C 640px`\n- Single column layouts\n- Reduced font sizes\n- Simplified navigation\n- Stacked grids\n\n**Tablet:** `640px - 1024px`\n- Two column layouts\n- Medium font sizes\n- Collapsed navigation menu\n\n**Desktop:** `1024px - 1200px`\n- Three column layouts\n- Full navigation visible\n- Standard spacing\n\n**Large Desktop:** `> 1200px`\n- Four column layouts (where applicable)\n- Maximum content width: `1400px`\n- Generous spacing\n\n### Responsive Adjustments\n\n**Navigation:**\n- Desktop (>1024px): Full command menu visible\n- Tablet\u002FMobile: Hamburger menu, simplified layout\n- Status indicator: Hidden on mobile, visible on tablet+\n\n**Hero Section:**\n- Desktop: Two column grid (text + chart)\n- Mobile: Single column, stacked\n\n**Grids:**\n- Skills: 3 → 2 → 1 columns\n- Categories: 4 → 2 → 1 columns\n- Mentions: 2 → 1 columns\n\n**Typography:**\n- Hero title: 3.5rem → 2.5rem (mobile)\n- Section titles: 2.5rem → 2rem (mobile)\n- Body text: Maintains readability\n\n## Implementation Guidelines\n\n### CSS Variable Usage\n\n**Always use CSS variables** for:\n- Colors (never hardcode hex values)\n- Spacing (use spacing scale)\n- Typography (use text size scale)\n- Border radius (use radius scale)\n- Shadows (use shadow scale)\n\n**Example:**\n```css\n.button {\n  background: var(--bg-card);\n  color: var(--foreground);\n  padding: var(--spacing-sm) var(--spacing-md);\n  border: 1px solid var(--border);\n  border-radius: var(--radius-lg);\n  box-shadow: var(--shadow-sm);\n}\n```\n\n### Component Structure\n\n**Terminal Window Pattern:**\n1. Container with border and radius\n2. Header with dots, title, status\n3. Content area with padding\n4. Consistent spacing throughout\n\n**Command-Line Pattern:**\n1. Prefix (`$`) in fluorescent green\n2. Keyword in primary or blue\n3. Flags\u002Farguments in default color\n4. Monospace font throughout\n\n### Color Application Rules\n\n**Primary Color (#cc7a60):**\n- Use for: Active states, highlights, keywords, prompts\n- Avoid: Large background areas (too intense)\n- Opacity variants: Use `rgba(204, 122, 96, 0.5)` for borders, `rgba(204, 122, 96, 0.05)` for backgrounds\n\n**Fluorescent Green (#39ff14):**\n- Use ONLY for: Command prefix (`$`)\n- Never use for: Other text, backgrounds, or accents\n\n**Green (#22c55e):**\n- Use for: Success states, positive indicators, string literals\n- Avoid: Primary actions (use primary color instead)\n\n### Typography Rules\n\n**Always use monospace font** for:\n- Navigation elements\n- Buttons\n- Code blocks\n- Command-line interfaces\n- Window titles\n- Status text\n\n**Font weight guidelines:**\n- Body text: 400 (normal)\n- Labels\u002Fkeywords: 600 (semibold)\n- Headings: 700 (bold)\n- Hero text: 700-800 (bold-extrabold)\n\n### Spacing Consistency\n\n**Use spacing scale:**\n- Never use arbitrary values (e.g., `13px`, `27px`)\n- Stick to: 4px, 8px, 16px, 24px, 32px, 48px\n- For gaps between related items: `--spacing-sm` to `--spacing-md`\n- For section separation: `--spacing-xl` to `--spacing-2xl`\n\n### Animation Best Practices\n\n**Keep animations subtle:**\n- Duration: 0.15s - 0.3s maximum\n- Easing: Use provided cubic-bezier curves\n- Avoid: Bouncy animations, long durations\n- Prefer: Fade, translate, scale (small amounts)\n\n**Performance:**\n- Use `transform` and `opacity` for animations (GPU accelerated)\n- Avoid animating `width`, `height`, `margin`, `padding`\n\n## Common Patterns\n\n### Terminal Window Card\n\n```html\n\u003Cdiv class=\"terminal-window\">\n  \u003Cdiv class=\"window-header\">\n    \u003Cdiv class=\"window-dots\">\n      \u003Cspan class=\"dot red\">\u003C\u002Fspan>\n      \u003Cspan class=\"dot yellow\">\u003C\u002Fspan>\n      \u003Cspan class=\"dot green\">\u003C\u002Fspan>\n    \u003C\u002Fdiv>\n    \u003Cspan class=\"window-title\">filename.ext\u003C\u002Fspan>\n    \u003Cspan class=\"window-status\">ready\u003C\u002Fspan>\n  \u003C\u002Fdiv>\n  \u003Cdiv class=\"window-content\">\n    \u003C!-- Content here -->\n  \u003C\u002Fdiv>\n\u003C\u002Fdiv>\n```\n\n### Command Button\n\n```html\n\u003Cbutton class=\"nav-cmd\">\n  \u003Cspan class=\"cmd-prefix\">$\u003C\u002Fspan>\n  \u003Cspan class=\"cmd-keyword\">command\u003C\u002Fspan>\n  \u003Cspan class=\"cmd-flag\">--flag\u003C\u002Fspan>\n\u003C\u002Fbutton>\n```\n\n### Code Block Display\n\n```html\n\u003Cdiv class=\"stats-code-block\">\n  \u003Cdiv class=\"code-line\">\n    \u003Cspan class=\"keyword\">const\u003C\u002Fspan>\n    \u003Cspan class=\"variable-name\">variable\u003C\u002Fspan>\n    \u003Cspan class=\"operator\">=\u003C\u002Fspan>\n    \u003Cspan class=\"number\">123\u003C\u002Fspan>\n    \u003Cspan class=\"operator\">;\u003C\u002Fspan>\n  \u003C\u002Fdiv>\n  \u003Cdiv class=\"code-comment\">\n    \u003Cspan class=\"comment-symbol\">\u002F\u002F \u003C\u002Fspan>Comment text\n  \u003C\u002Fdiv>\n\u003C\u002Fdiv>\n```\n\n### Description Block (Comment Style)\n\n```html\n\u003Cdiv class=\"description-block\">\n  \u003Cdiv class=\"comment-start\">\u002F**\u003C\u002Fdiv>\n  \u003Cdiv class=\"comment-text\">\n    \u003Cspan class=\"comment-asterisk\"> * \u003C\u002Fspan>Description text\n  \u003C\u002Fdiv>\n  \u003Cdiv class=\"comment-end\"> *\u002F\u003C\u002Fdiv>\n\u003C\u002Fdiv>\n```\n\n## Accessibility Considerations\n\n**Color Contrast:**\n- Primary text (#111827) on white: WCAG AAA compliant\n- Secondary text (#666666) on white: WCAG AA compliant\n- Primary color (#cc7a60) on white: WCAG AA compliant for large text\n\n**Focus States:**\n- All interactive elements have visible focus indicators\n- Focus ring: 2px solid primary color with 2px offset\n\n**Keyboard Navigation:**\n- All interactive elements are keyboard accessible\n- Tab order follows visual hierarchy\n- Enter\u002FSpace activate buttons\n\n**Screen Readers:**\n- Semantic HTML structure\n- ARIA labels where needed\n- Status indicators use appropriate roles\n\n## Dark Mode Implementation\n\nThe design system includes a complete dark mode implementation using `[data-theme=\"dark\"]` attribute selector. Dark mode is fully integrated with smooth transitions and maintains all design principles.\n\n### Dark Mode Color System\n\n**Primary Colors (Dark Mode):**\n- `--primary: #d99178` - Lighter terracotta for better contrast on dark backgrounds\n- `--primary-foreground: #0a0a0a` - Dark text on primary backgrounds\n- `--primary-dark: #c57f66` - Darker shade for hover states\n- `--primary-light: #e5a890` - Lighter shade for subtle accents\n- `--ring: #d99178` - Focus ring color (lighter primary)\n\n**Backgrounds (Dark Mode):**\n- `--background: #0a0a0a` - Deep black for main backgrounds\n- `--bg-main: #0a0a0a` - Dark background with subtle white grid pattern\n- `--bg-card: #111` - Slightly lighter black for card components\n- `--bg-code: #18181b` - Dark gray for code blocks and window headers\n- `--secondary: #1a1a1a` - Dark gray for secondary backgrounds\n- `--muted: #262626` - Muted dark gray for subtle backgrounds\n\n**Text Colors (Dark Mode):**\n- `--foreground: #ededed` - Light gray for primary text\n- `--text-primary: #ededed` - Primary text color\n- `--text-secondary: #a3a3a3` - Medium gray for secondary text\n- `--text-muted: #a3a3a3` - Muted gray for less important text\n- `--muted-foreground: #a3a3a3` - Foreground on muted backgrounds\n\n**Borders (Dark Mode):**\n- `--border: #606068` - Lighter gray for visibility on dark backgrounds\n- `--border-light: #27272a` - Subtle dark gray for dividers\n\n**Syntax Highlighting (Dark Mode):**\n- `--syntax-keyword: #d99178` - Lighter primary for keywords\n- `--syntax-string: #22c55e` - Green (same as light mode)\n- `--syntax-number: #d99178` - Lighter primary for numbers\n- `--syntax-comment: #6a9955` - Muted green (same as light mode)\n- Blue keywords: `#60a5fa` (blue-400) - Brighter blue for better contrast\n- Purple keywords: `#c084fc` (purple-400) - Brighter purple for better contrast\n\n**Shadows (Dark Mode):**\n- `--shadow-sm: 0 1px 2px rgba(0,0,0,0.3)` - Stronger shadows for depth\n- `--shadow-md: 0 4px 6px rgba(0,0,0,0.4)` - Medium shadows\n- `--shadow-lg: 0 10px 25px rgba(0,0,0,0.5)` - Large shadows\n\n### Dark Mode Background Pattern\n\nDark mode uses a subtle white grid pattern instead of black:\n\n```css\n[data-theme=\"dark\"] body {\n  background-image: \n    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),\n    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);\n}\n```\n\n### Theme Toggle Implementation\n\n**HTML Structure:**\n```html\n\u003Cbutton class=\"theme-toggle-btn theme-toggle\" title=\"切换主题\" aria-label=\"切换主题\">\n  \u003Csvg class=\"icon-sun theme-icon\">\u003C!-- Sun icon -->\u003C\u002Fsvg>\n  \u003Csvg class=\"icon-moon theme-icon\" style=\"display: none;\">\u003C!-- Moon icon -->\u003C\u002Fsvg>\n\u003C\u002Fbutton>\n```\n\n**JavaScript Implementation:**\n- Uses `localStorage` to persist theme preference\n- Detects system preference on first load\n- Smoothly transitions between themes\n- Updates icon visibility (sun\u002Fmoon)\n- Listens to system theme changes (when no manual preference set)\n\n**Key Features:**\n- Automatic system preference detection\n- Manual override with localStorage persistence\n- Smooth CSS transitions (0.2s ease-in-out)\n- Icon state management (sun for light, moon for dark)\n\n### Dark Mode Component Adaptations\n\n**Navigation Bar:**\n- Background: `rgba(10, 10, 10, 0.8)` with backdrop blur\n- Status indicator: Darker background with adjusted border\n\n**Terminal Windows:**\n- Card background: `#111` (slightly lighter than main background)\n- Window headers: `rgba(38, 38, 38, 0.3)` for subtle contrast\n- All borders use darker mode colors\n\n**Skill Cards:**\n- Line numbers background: `rgba(38, 38, 38, 0.2)`\n- Footer background: `rgba(38, 38, 38, 0.2)`\n- Hover effects maintain same behavior with adjusted colors\n\n**Category Cards:**\n- Each category has theme-specific hover colors:\n  - Cyan: `#22d3ee` (dark) vs `#06b6d4` (light)\n  - Blue: `#60a5fa` (dark) vs `#3b82f6` (light)\n  - Purple: `#c084fc` (dark) vs `#a855f7` (light)\n  - Amber: `#fbbf24` (dark) vs `#f59e0b` (light)\n\n**Charts:**\n- Grid lines: `#27272a` with 0.5 opacity\n- Chart container: `rgba(17, 17, 17, 0.3)`\n- All text colors adapt to dark mode\n\n**FAB Button:**\n- Light mode: Dark background `#1a1a1a` with white icon\n- Dark mode: White background with dark icon (inverted)\n\n### Dark Mode Best Practices\n\n**Color Contrast:**\n- All text maintains WCAG AA compliance in dark mode\n- Primary color is lightened for better visibility\n- Borders are lighter for clear definition\n\n**Transitions:**\n- All color changes use `transition: color 0.2s ease-in-out`\n- Background changes use `transition: background-color 0.2s ease-in-out`\n- Smooth theme switching without jarring changes\n\n**Implementation Pattern:**\n```css\n\u002F* Light mode (default) *\u002F\n.component {\n  background: var(--bg-card);\n  color: var(--foreground);\n}\n\n\u002F* Dark mode *\u002F\n[data-theme=\"dark\"] .component {\n  background: var(--bg-card); \u002F* Automatically uses dark value *\u002F\n  color: var(--foreground); \u002F* Automatically uses dark value *\u002F\n}\n```\n\n**Maintains:**\n- Same spacing system\n- Same typography scale\n- Same component structure\n- Same animation timing\n- Enhanced shadows for depth perception\n\n## Performance Optimization\n\n**CSS Variables:**\n- All colors\u002Fspacing use CSS variables for easy theming\n- Variables defined in `:root` for global access\n\n**Animations:**\n- Use `transform` and `opacity` (GPU accelerated)\n- Avoid layout-triggering properties\n- Keep durations short (0.15s - 0.3s)\n\n**Font Loading:**\n- Preconnect to Google Fonts\n- Use `font-display: swap` for better performance\n- Provide fallback fonts in stack\n\n## Browser Support\n\n**Modern Browsers:**\n- Chrome\u002FEdge: Full support\n- Firefox: Full support\n- Safari: Full support (with `-webkit-` prefixes for backdrop-filter)\n\n**Features Used:**\n- CSS Grid: Full support in modern browsers\n- CSS Variables: Full support\n- Backdrop Filter: Requires `-webkit-` prefix for Safari\n- Flexbox: Full support\n\n## Design Tokens Summary\n\n**Quick Reference:**\n\n```css\n\u002F* Colors - Light Mode *\u002F\nPrimary: #cc7a60\nFluorescent Green: #39ff14 (command prefix only)\nSuccess: #22c55e\nBlue: #3b82f6\nForeground: #111827\nBorder: #8b929e\n\n\u002F* Colors - Dark Mode *\u002F\nPrimary: #d99178\nForeground: #ededed\nBackground: #0a0a0a\nCard: #111\nBorder: #606068\nBlue: #60a5fa (brighter for contrast)\n\n\u002F* Spacing *\u002F\nxs: 4px, sm: 8px, md: 16px, lg: 24px, xl: 32px, 2xl: 48px\n\n\u002F* Typography *\u002F\nFont: JetBrains Mono\nSizes: 0.75rem - 3.75rem scale\nWeights: 400, 500, 600, 700, 800\n\n\u002F* Radius *\u002F\nxs: 2px, sm: 4px, md: 6px, lg: 8px, xl: 12px, 2xl: 16px\n\n\u002F* Shadows - Light Mode *\u002F\nsm: 0 1px 2px rgba(0,0,0,0.05)\nmd: 0 4px 6px rgba(0,0,0,0.07)\nlg: 0 10px 25px rgba(0,0,0,0.1)\n\n\u002F* Shadows - Dark Mode *\u002F\nsm: 0 1px 2px rgba(0,0,0,0.3)\nmd: 0 4px 6px rgba(0,0,0,0.4)\nlg: 0 10px 25px rgba(0,0,0,0.5)\n```\n\n## Theme Toggle JavaScript Implementation\n\n**Complete Implementation:**\n```javascript\n(function() {\n  const themeToggles = document.querySelectorAll('.theme-toggle');\n  const html = document.documentElement;\n  \n  \u002F\u002F Get initial theme from localStorage or system preference\n  function getInitialTheme() {\n    const savedTheme = localStorage.getItem('theme');\n    if (savedTheme) {\n      return savedTheme;\n    }\n    \u002F\u002F Check system preference\n    if (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) {\n      return 'dark';\n    }\n    return 'light';\n  }\n  \n  \u002F\u002F Set theme and update icons\n  function setTheme(theme) {\n    if (theme === 'dark') {\n      html.setAttribute('data-theme', 'dark');\n      document.querySelectorAll('.icon-sun').forEach(icon => {\n        icon.style.display = 'none';\n      });\n      document.querySelectorAll('.icon-moon').forEach(icon => {\n        icon.style.display = 'block';\n      });\n    } else {\n      html.removeAttribute('data-theme');\n      document.querySelectorAll('.icon-sun').forEach(icon => {\n        icon.style.display = 'block';\n      });\n      document.querySelectorAll('.icon-moon').forEach(icon => {\n        icon.style.display = 'none';\n      });\n    }\n    localStorage.setItem('theme', theme);\n  }\n  \n  \u002F\u002F Toggle theme\n  function toggleTheme() {\n    const currentTheme = html.getAttribute('data-theme');\n    const newTheme = currentTheme === 'dark' ? 'light' : 'dark';\n    setTheme(newTheme);\n  }\n  \n  \u002F\u002F Initialize\n  const initialTheme = getInitialTheme();\n  setTheme(initialTheme);\n  \n  \u002F\u002F Add event listeners\n  themeToggles.forEach(button => {\n    button.addEventListener('click', toggleTheme);\n  });\n  \n  \u002F\u002F Listen to system theme changes (only if no manual preference)\n  if (window.matchMedia) {\n    const mediaQuery = window.matchMedia('(prefers-color-scheme: dark)');\n    mediaQuery.addEventListener('change', (e) => {\n      if (!localStorage.getItem('theme')) {\n        setTheme(e.matches ? 'dark' : 'light');\n      }\n    });\n  }\n})();\n```\n\n**Key Features:**\n- Persists theme preference in localStorage\n- Detects system preference on first load\n- Smoothly transitions between themes\n- Updates icon visibility automatically\n- Listens to system theme changes (when no manual override)\n\n## Usage Examples\n\nWhen implementing this design system:\n\n1. **Start with CSS variables** - Import or define all color\u002Fspacing variables (including dark mode)\n2. **Use terminal window pattern** - Wrap content in terminal-window component\n3. **Apply monospace font** - Use JetBrains Mono for all UI text\n4. **Follow spacing scale** - Use defined spacing values consistently\n5. **Use semantic colors** - Apply colors based on meaning, not appearance\n6. **Implement theme toggle** - Add theme toggle button and JavaScript\n7. **Maintain consistency** - Reuse component patterns throughout\n8. **Test responsiveness** - Ensure layouts work at all breakpoints\n9. **Test both themes** - Verify light and dark modes work correctly\n10. **Optimize animations** - Keep transitions smooth and performant\n\nThis design system creates a cohesive, developer-friendly interface that feels both modern and familiar to users comfortable with terminal interfaces. The complete dark mode implementation ensures the interface works beautifully in any lighting condition.\n","# Terminal UI Design System\n\nA comprehensive design system for creating terminal-inspired user interfaces with macOS-style window decorations, monospace typography, and a warm, developer-friendly color palette. This design system is optimized for developer tools, code marketplaces, technical documentation, and any interface that benefits from a command-line aesthetic.\n\n## Design Philosophy\n\n**Core Principles:**\n- **Terminal Aesthetic**: Mimics macOS terminal windows with colored dots, monospace fonts, and command-line syntax\n- **Developer-First**: Uses syntax highlighting colors, code-like structures, and terminal metaphors\n- **Warm & Approachable**: Warm terracotta primary color (#cc7a60) creates a friendly, non-intimidating feel\n- **High Contrast**: Clear visual hierarchy with distinct text colors and backgrounds\n- **Functional Beauty**: Every design element serves a purpose while maintaining visual appeal\n\n## Color System\n\n### Primary Palette\n\n**Main Brand Color:**\n- `--primary: #cc7a60` - Warm terracotta\u002Forange-brown, used for primary actions, accents, and highlights\n- `--primary-foreground: #fff` - White text on primary backgrounds\n- `--primary-dark: #b56850` - Darker shade for hover states\n- `--primary-light: #d8907a` - Lighter shade for subtle accents\n- `--ring: #cc7a60` - Focus ring color (same as primary)\n\n**Warm Accent:**\n- `--warm-red: #c85a3f` - Used for code block borders and warm accents\n\n### Semantic Colors\n\n**Backgrounds:**\n- `--background: #fff` - Pure white for main backgrounds\n- `--bg-main: #f8f8f8` - Light gray for page background (with subtle grid pattern)\n- `--bg-card: #fff` - White for card components\n- `--bg-code: #fafafa` - Very light gray for code blocks and window headers\n- `--secondary: #f9fafb` - Light gray for secondary backgrounds\n- `--muted: #f3f4f6` - Muted gray for subtle backgrounds\n\n**Text Colors:**\n- `--foreground: #111827` - Near-black for primary text (excellent readability)\n- `--text-primary: #111827` - Primary text color\n- `--text-secondary: #666666` - Medium gray for secondary text\n- `--text-muted: #5b6370` - Muted gray for less important text\n- `--muted-foreground: #5b6370` - Foreground on muted backgrounds\n\n**Borders:**\n- `--border: #8b929e` - Medium gray for main borders\n- `--border-light: #e5e7eb` - Light gray for subtle dividers\n- `--input: #8b929e` - Input border color\n\n**Status Colors:**\n- `--success: #22c55e` - Green for success states\n- `--warning: #f59e0b` - Amber for warnings\n- `--danger: #ef4444` - Red for errors\u002Fdestructive actions\n- `--accent: #f59e0b` - Amber accent color\n\n### Syntax Highlighting Colors\n\n**Code Syntax:**\n- `--syntax-keyword: #cc7a60` - Primary color for keywords (const, export, etc.)\n- `--syntax-string: #22c55e` - Green for strings\n- `--syntax-number: #cc7a60` - Primary color for numbers\n- `--syntax-comment: #6a9955` - Muted green for comments\n- `--syntax-function: #dcdcaa` - Light yellow for function names\n\n**Command Prefix:**\n- Command prefix (`$`) uses fluorescent green: `#39ff14` - Creates terminal-like appearance\n\n**Code Elements:**\n- `--text-comment: #6a9955` - Comment text color\n\n### macOS Window Dots\n\n**Terminal Window Controls:**\n- `--dot-red: #ff5f57` - Close button (macOS red)\n- `--dot-yellow: #febc2e` - Minimize button (macOS yellow)\n- `--dot-green: #28c840` - Maximize button (macOS green)\n\n### Color Usage Guidelines\n\n**Primary Color (#cc7a60) Usage:**\n- Command keywords in navigation\n- Prompt symbols (`>`)\n- Active states and highlights\n- Focus rings\n- Hover borders\n- Primary buttons when active\n- Chart lines and data visualization\n\n**Fluorescent Green (#39ff14) Usage:**\n- Command prefix (`$`) - creates authentic terminal feel\n- Only used for dollar signs, never for other elements\n\n**Green (#22c55e) Usage:**\n- Success indicators\n- Status dots (online\u002Fready)\n- String literals in code\n- Positive actions\n\n**Blue (#3b82f6) Usage:**\n- Command keywords (cd, watch, man, api)\n- Code keywords (const, let, var)\n- Links and interactive elements\n\n## Typography System\n\n### Font Families\n\n**Primary Font Stack:**\n```css\n--font-mono: \"JetBrains Mono\", \"JetBrains Mono Fallback\", 'Fira Code', 'Consolas', monospace;\n```\n- **Primary**: JetBrains Mono (400-800 weights)\n- **Fallbacks**: Fira Code, Consolas, system monospace\n- Used for: All UI text, navigation, buttons, code blocks\n\n**Sans-serif Fallback:**\n```css\n--font-sans: ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n```\n- Used as fallback only, monospace is preferred\n\n### Font Size Scale\n\n**Base Unit System:**\n- `--text-xs: 0.75rem` (12px) - Small labels, hints, window status\n- `--text-sm: 0.875rem` (14px) - Secondary text, descriptions\n- `--text-base: 1rem` (16px) - Body text, default size\n- `--text-lg: 1.125rem` (18px) - Slightly emphasized text\n- `--text-xl: 1.25rem` (20px) - Subheadings\n- `--text-2xl: 1.5rem` (24px) - Section titles\n- `--text-3xl: 1.875rem` (30px) - Large numbers, stats\n- `--text-4xl: 2.25rem` (36px) - Hero numbers\n- `--text-5xl: 3rem` (48px) - Large headings\n- `--text-6xl: 3.75rem` (60px) - Extra large headings\n\n**Font Weights:**\n- `--font-weight-normal: 400` - Body text\n- `--font-weight-medium: 500` - Medium emphasis\n- `--font-weight-semibold: 600` - Semibold (keywords, labels)\n- `--font-weight-bold: 700` - Bold (headings, important text)\n- `--font-weight-extrabold: 800` - Extra bold (hero text)\n\n**Line Heights:**\n- `--leading-tight: 1.25` - Tight spacing for headings\n- `--leading-relaxed: 1.625` - Relaxed spacing for body text\n\n### Typography Usage\n\n**Headings:**\n- Hero titles: 3.5rem, weight 700, line-height 1.1\n- Section titles: 2.5rem, weight 700\n- FAQ titles: 2rem, weight 700\n\n**Body Text:**\n- Default: 1rem, weight 400, line-height 1.5\n- Secondary: 0.875rem, color `--text-secondary`\n- Muted: 0.75rem, color `--text-muted`\n\n**Code\u002FCommand Text:**\n- Always use monospace font\n- Command prefix: fluorescent green (#39ff14)\n- Keywords: primary color (#cc7a60) or blue (#3b82f6)\n- Flags\u002Farguments: default foreground color\n\n## Spacing System\n\n**Base Unit:** `--spacing: 0.25rem` (4px)\n\n**Spacing Scale:**\n- `--spacing-xs: 4px` (0.25rem) - Tight spacing, icon padding\n- `--spacing-sm: 8px` (0.5rem) - Small gaps, button padding\n- `--spacing-md: 16px` (1rem) - Standard spacing, card padding\n- `--spacing-lg: 24px` (1.5rem) - Large gaps, section spacing\n- `--spacing-xl: 32px` (2rem) - Extra large gaps, major sections\n- `--spacing-2xl: 48px` (3rem) - Maximum spacing, page sections\n\n**Usage Guidelines:**\n- Use consistent spacing multiples (4px base)\n- Card padding: `--spacing-md` to `--spacing-lg`\n- Section margins: `--spacing-xl` to `--spacing-2xl`\n- Button padding: `--spacing-sm` to `--spacing-md`\n- Gap between related elements: `--spacing-sm` to `--spacing-md`\n\n## Border Radius System\n\n**Radius Scale:**\n- `--radius-xs: 2px` (0.125rem) - Minimal rounding\n- `--radius-sm: 4px` (0.25rem) - Small elements\n- `--radius-md: 6px` (0.375rem) - Buttons, inputs\n- `--radius-lg: 8px` (0.5rem) - Cards, windows (most common)\n- `--radius-xl: 12px` (0.75rem) - Large cards\n- `--radius-2xl: 16px` (1rem) - Extra large elements\n- `--radius: 10px` (0.625rem) - Default radius\n\n**Usage:**\n- Terminal windows: `--radius-lg` (8px)\n- Buttons: `--radius-lg` (8px)\n- Cards: `--radius-lg` (8px)\n- Inputs: `--radius-md` (6px)\n- Avatar: `9999px` (fully rounded)\n\n## Shadow System\n\n**Shadow Scale:**\n- `--shadow-sm: 0 1px 2px rgba(0,0,0,0.05)` - Subtle elevation\n- `--shadow-md: 0 4px 6px rgba(0,0,0,0.07)` - Medium elevation (cards on hover)\n- `--shadow-lg: 0 10px 25px rgba(0,0,0,0.1)` - Large elevation (floating buttons)\n\n**Usage:**\n- Default cards: `--shadow-sm`\n- Hover states: `--shadow-md`\n- Floating elements: `--shadow-lg`\n- Primary-colored shadows: `rgba(204, 122, 96, 0.1)` for primary-themed elements\n\n## Component Specifications\n\n### Terminal Window Component\n\n**Structure:**\n```html\n\u003Cdiv class=\"terminal-window\">\n  \u003Cdiv class=\"window-header\">\n    \u003Cdiv class=\"window-dots\">\n      \u003Cspan class=\"dot red\">\u003C\u002Fspan>\n      \u003Cspan class=\"dot yellow\">\u003C\u002Fspan>\n      \u003Cspan class=\"dot green\">\u003C\u002Fspan>\n    \u003C\u002Fdiv>\n    \u003Cspan class=\"window-title\">filename.ext\u003C\u002Fspan>\n    \u003Cspan class=\"window-status\">ready\u003C\u002Fspan>\n  \u003C\u002Fdiv>\n  \u003Cdiv class=\"window-content\">\n    \u003C!-- Content -->\n  \u003C\u002Fdiv>\n\u003C\u002Fdiv>\n```\n\n**Styling:**\n- Background: `--bg-card` (#fff)\n- Border: `1px solid --border` (#8b929e)\n- Border radius: `--radius-lg` (8px)\n- Box shadow: `--shadow-sm`\n- Header background: `--bg-code` (#fafafa)\n- Header border-bottom: `1px solid --border-light` (#e5e7eb)\n- Header padding: `--spacing-sm --spacing-md` (8px 16px)\n- Content padding: `--spacing-lg` (24px)\n\n**Window Dots:**\n- Size: `12px × 12px`\n- Gap: `6px`\n- Colors: Red (#ff5f57), Yellow (#febc2e), Green (#28c840)\n- Fully rounded (border-radius: 50%)\n\n**Window Title:**\n- Font size: `0.85rem`\n- Color: `--text-secondary` (#666666)\n- Font: Monospace\n\n**Window Status:**\n- Font size: `0.75rem`\n- Color: `--text-muted` (#5b6370)\n- Position: Right side of header\n\n### Navigation Bar\n\n**Structure:**\n```html\n\u003Cnav class=\"navbar\">\n  \u003Cdiv class=\"navbar-container\">\n    \u003Cdiv class=\"navbar-content\">\n      \u003C!-- Logo, commands, actions -->\n    \u003C\u002Fdiv>\n  \u003C\u002Fdiv>\n\u003C\u002Fnav>\n```\n\n**Styling:**\n- Position: `sticky`, `top: 0`\n- Background: `rgba(255, 255, 255, 0.8)` with `backdrop-filter: blur(8px)`\n- Border-bottom: `1px solid --border`\n- Height: `64px` (desktop), `56px` (mobile)\n- Max width: `80rem` (1280px), centered\n\n**Logo:**\n- Status indicator: Green dot (8px) + \"ready\" text\n- Path prefix: `~\u002F` in primary color (#cc7a60)\n- Path name: Bold, foreground color\n- Cursor blink: 2px width, primary color, animated\n\n**Navigation Commands:**\n- Display: Flex, gap `--spacing-md`\n- Button style: Monospace font, small padding (6px 12px)\n- Border: `1px solid --border`\n- Border radius: `--radius-lg`\n- Active state: Primary border color with pulse animation\n- Hover: Border color changes to primary with 50% opacity\n\n**Command Button Structure:**\n```html\n\u003Cbutton class=\"nav-cmd\">\n  \u003Cspan class=\"cmd-prefix\">$\u003C\u002Fspan>\n  \u003Cspan class=\"cmd-keyword\">ai\u003C\u002Fspan>\n  \u003Cspan class=\"cmd-flag\">--search\u003C\u002Fspan>\n\u003C\u002Fbutton>\n```\n\n**Command Colors:**\n- Prefix (`$`): Fluorescent green (#39ff14)\n- Keyword: Primary color (#cc7a60) or blue (#3b82f6)\n- Flag: Default foreground color\n\n### Card Components\n\n**Skill Card:**\n- Background: `--bg-card` (#fff in light, #111 in dark)\n- Border: `1px solid --border`\n- Border radius: `--radius-xl` (12px)\n- Height: `100%` with flex column layout\n- Hover: Border changes to primary with 50% opacity, shadow increases (`0 25px 50px -12px rgba(204, 122, 96, 0.1)`), `translateY(-4px)`\n- Active: `translateY(0) scale(0.99)`\n- Transition: `all 0.3s ease`\n- **Line Numbers**: Absolute positioned on left, `2rem` width, subtle background\n- **Avatar**: 24px × 24px, bordered, scales on hover\n- **Star Icon**: 10px × 10px, warning color\n- **Like Button**: SVG heart icon, changes color on hover\n\n**Category Card:**\n- Same base styling as skill card\n- **Color Themes**: Cyan, Blue, Purple, Amber variants\n- **Folder Icon**: SVG icon, color varies by theme, scales on hover\n- **Category Dot**: Small indicator dot, changes on hover\n- **Arrow Icon**: Appears on hover, positioned bottom-right\n- **JSON Display**: Key-value pairs with theme-colored hover effects\n- **Command Line**: Footer with command-style text\n\n**Mention Card:**\n- Same base styling\n- Blockquote styling with quotation marks\n- Source attribution with border-top separator\n\n### Button Components\n\n**Primary Button (Active):**\n- Background: `--primary` (#cc7a60)\n- Color: `--primary-foreground` (#fff)\n- Border: `1px solid --primary`\n- Border radius: `--radius-lg`\n- Padding: `6px 12px` (small) or `--spacing-md --spacing-lg` (medium)\n- Font: Monospace, `--text-xs` or `--text-sm`\n\n**Secondary Button:**\n- Background: `--bg-card`\n- Border: `1px solid --border`\n- Color: `--foreground`\n- Hover: Border color changes to primary with 50% opacity\n- Active: `transform: scale(0.95)`\n\n**Icon Button:**\n- Square or rounded\n- Padding: `6px 12px`\n- Icon size: `14px` or `16px`\n- Same hover\u002Factive states as secondary button\n\n### Input Components\n\n**Search Input:**\n- Background: Transparent\n- Border: None\n- Font: Monospace\n- Placeholder: `--text-muted` color\n- Focus: No visible border (minimal design)\n\n**Text Input:**\n- Background: `--bg-card`\n- Border: `1px solid --border`\n- Border radius: `--radius-sm` or `--radius-md`\n- Padding: `--spacing-sm`\n- Font: Monospace\n\n### Code Display Components\n\n**Code Block:**\n- Background: `rgba(255, 255, 255, 0.5)` with backdrop blur\n- Border: `1px solid --border`\n- Border radius: `--radius-lg`\n- Padding: `--spacing-md`\n- Font: Monospace\n- Line height: `--leading-relaxed`\n\n**Code Line:**\n- Display: Flex, align baseline\n- Gap: `--spacing-sm`\n- Syntax colors applied to different elements\n\n**Description Block (Comment Style):**\n- Border-left: `4px solid rgba(204, 122, 96, 0.5)`\n- Background: `rgba(204, 122, 96, 0.05)`\n- Padding-left: `--spacing-md`\n- Border-radius: Right side only (`--radius-lg`)\n- Font: Monospace\n\n### Grid Layouts\n\n**Skills Grid:**\n- Display: Grid\n- Columns: `repeat(3, 1fr)` (desktop), `repeat(2, 1fr)` (tablet), `1fr` (mobile)\n- Gap: `--spacing-lg` (24px)\n\n**Categories Grid:**\n- Display: Grid\n- Columns: `repeat(4, 1fr)` (desktop), `repeat(2, 1fr)` (tablet), `1fr` (mobile)\n- Gap: `--spacing-lg`\n\n**Mentions Grid:**\n- Display: Grid\n- Columns: `1fr 1fr` (desktop), `1fr` (mobile)\n- Gap: `--spacing-lg`\n\n## Animation System\n\n### Transitions\n\n**Default Transition:**\n- Duration: `0.15s` or `0.2s`\n- Timing: `cubic-bezier(.4,0,.2,1)` (ease-in-out)\n- Properties: `all` or specific properties\n\n**Common Transitions:**\n- Hover states: `all 0.2s ease`\n- Active states: `transform 0.2s ease`\n- Color changes: `color 0.2s ease` or `background-color 0.2s ease`\n\n### Keyframe Animations\n\n**Blink Animation (Cursor):**\n```css\n@keyframes blink {\n  0%, 50% { opacity: 1; }\n  51%, 100% { opacity: 0; }\n}\n```\n- Duration: `1s`\n- Iteration: `infinite`\n- Used for: Cursor blink effect\n\n**Pulse Border Animation:**\n```css\n@keyframes pulse-border {\n  0%, 100% { border-color: rgba(204, 122, 96, 0.5); }\n  50% { border-color: var(--ring); }\n}\n```\n- Duration: `2s`\n- Timing: `ease-in-out`\n- Iteration: `infinite`\n- Used for: Active navigation items\n\n**Fade In Up Animation:**\n```css\n@keyframes fadeInUp {\n  from {\n    opacity: 0;\n    transform: translateY(20px);\n  }\n  to {\n    opacity: 1;\n    transform: translateY(0);\n  }\n}\n```\n- Duration: `0.5s`\n- Timing: `ease`\n- Used for: Card entrance animations\n- Staggered delays: 0.1s increments for grid items\n\n### Interactive States\n\n**Hover States:**\n- Buttons: Border color changes, background lightens\n- Cards: Border changes to primary, shadow increases, slight lift\n- Links: Color changes to primary\n- Scale: No scaling on hover (maintains stability)\n\n**Active States:**\n- Buttons: `transform: scale(0.95)` - subtle press effect\n- Duration: `0.2s`\n\n**Focus States:**\n- Outline: `2px solid --ring` with `2px` offset\n- Used for: Accessibility, keyboard navigation\n\n## Background Patterns\n\n### Grid Pattern (Page Background)\n\n```css\nbackground-image: \n  linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),\n  linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);\nbackground-size: 20px 20px;\n```\n\n- Very subtle grid (2% opacity black)\n- 20px × 20px grid cells\n- Creates texture without distraction\n- Applied to `body` background\n\n### Gradient Backgrounds\n\n**Avatar Gradient:**\n```css\nbackground: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);\n```\n- Warm peach gradient\n- 135-degree angle\n- Used for: User avatars\n\n**Chart Gradient:**\n```css\nlinearGradient: #cc7a60 with opacity stops (0%: 0.6, 100%: 0)\n```\n- Primary color gradient\n- Used for: Area charts, data visualization\n\n## Responsive Design\n\n### Breakpoints\n\n**Mobile:** `\u003C 640px`\n- Single column layouts\n- Reduced font sizes\n- Simplified navigation\n- Stacked grids\n\n**Tablet:** `640px - 1024px`\n- Two column layouts\n- Medium font sizes\n- Collapsed navigation menu\n\n**Desktop:** `1024px - 1200px`\n- Three column layouts\n- Full navigation visible\n- Standard spacing\n\n**Large Desktop:** `> 1200px`\n- Four column layouts (where applicable)\n- Maximum content width: `1400px`\n- Generous spacing\n\n### Responsive Adjustments\n\n**Navigation:**\n- Desktop (>1024px): Full command menu visible\n- Tablet\u002FMobile: Hamburger menu, simplified layout\n- Status indicator: Hidden on mobile, visible on tablet+\n\n**Hero Section:**\n- Desktop: Two column grid (text + chart)\n- Mobile: Single column, stacked\n\n**Grids:**\n- Skills: 3 → 2 → 1 columns\n- Categories: 4 → 2 → 1 columns\n- Mentions: 2 → 1 columns\n\n**Typography:**\n- Hero title: 3.5rem → 2.5rem (mobile)\n- Section titles: 2.5rem → 2rem (mobile)\n- Body text: Maintains readability\n\n## Implementation Guidelines\n\n### CSS Variable Usage\n\n**Always use CSS variables** for:\n- Colors (never hardcode hex values)\n- Spacing (use spacing scale)\n- Typography (use text size scale)\n- Border radius (use radius scale)\n- Shadows (use shadow scale)\n\n**Example:**\n```css\n.button {\n  background: var(--bg-card);\n  color: var(--foreground);\n  padding: var(--spacing-sm) var(--spacing-md);\n  border: 1px solid var(--border);\n  border-radius: var(--radius-lg);\n  box-shadow: var(--shadow-sm);\n}\n```\n\n### Component Structure\n\n**Terminal Window Pattern:**\n1. Container with border and radius\n2. Header with dots, title, status\n3. Content area with padding\n4. Consistent spacing throughout\n\n**Command-Line Pattern:**\n1. Prefix (`$`) in fluorescent green\n2. Keyword in primary or blue\n3. Flags\u002Farguments in default color\n4. Monospace font throughout\n\n### Color Application Rules\n\n**Primary Color (#cc7a60):**\n- Use for: Active states, highlights, keywords, prompts\n- Avoid: Large background areas (too intense)\n- Opacity variants: Use `rgba(204, 122, 96, 0.5)` for borders, `rgba(204, 122, 96, 0.05)` for backgrounds\n\n**Fluorescent Green (#39ff14):**\n- Use ONLY for: Command prefix (`$`)\n- Never use for: Other text, backgrounds, or accents\n\n**Green (#22c55e):**\n- Use for: Success states, positive indicators, string literals\n- Avoid: Primary actions (use primary color instead)\n\n### Typography Rules\n\n**Always use monospace font** for:\n- Navigation elements\n- Buttons\n- Code blocks\n- Command-line interfaces\n- Window titles\n- Status text\n\n**Font weight guidelines:**\n- Body text: 400 (normal)\n- Labels\u002Fkeywords: 600 (semibold)\n- Headings: 700 (bold)\n- Hero text: 700-800 (bold-extrabold)\n\n### Spacing Consistency\n\n**Use spacing scale:**\n- Never use arbitrary values (e.g., `13px`, `27px`)\n- Stick to: 4px, 8px, 16px, 24px, 32px, 48px\n- For gaps between related items: `--spacing-sm` to `--spacing-md`\n- For section separation: `--spacing-xl` to `--spacing-2xl`\n\n### Animation Best Practices\n\n**Keep animations subtle:**\n- Duration: 0.15s - 0.3s maximum\n- Easing: Use provided cubic-bezier curves\n- Avoid: Bouncy animations, long durations\n- Prefer: Fade, translate, scale (small amounts)\n\n**Performance:**\n- Use `transform` and `opacity` for animations (GPU accelerated)\n- Avoid animating `width`, `height`, `margin`, `padding`\n\n## Common Patterns\n\n### Terminal Window Card\n\n```html\n\u003Cdiv class=\"terminal-window\">\n  \u003Cdiv class=\"window-header\">\n    \u003Cdiv class=\"window-dots\">\n      \u003Cspan class=\"dot red\">\u003C\u002Fspan>\n      \u003Cspan class=\"dot yellow\">\u003C\u002Fspan>\n      \u003Cspan class=\"dot green\">\u003C\u002Fspan>\n    \u003C\u002Fdiv>\n    \u003Cspan class=\"window-title\">filename.ext\u003C\u002Fspan>\n    \u003Cspan class=\"window-status\">ready\u003C\u002Fspan>\n  \u003C\u002Fdiv>\n  \u003Cdiv class=\"window-content\">\n    \u003C!-- Content here -->\n  \u003C\u002Fdiv>\n\u003C\u002Fdiv>\n```\n\n### Command Button\n\n```html\n\u003Cbutton class=\"nav-cmd\">\n  \u003Cspan class=\"cmd-prefix\">$\u003C\u002Fspan>\n  \u003Cspan class=\"cmd-keyword\">command\u003C\u002Fspan>\n  \u003Cspan class=\"cmd-flag\">--flag\u003C\u002Fspan>\n\u003C\u002Fbutton>\n```\n\n### Code Block Display\n\n```html\n\u003Cdiv class=\"stats-code-block\">\n  \u003Cdiv class=\"code-line\">\n    \u003Cspan class=\"keyword\">const\u003C\u002Fspan>\n    \u003Cspan class=\"variable-name\">variable\u003C\u002Fspan>\n    \u003Cspan class=\"operator\">=\u003C\u002Fspan>\n    \u003Cspan class=\"number\">123\u003C\u002Fspan>\n    \u003Cspan class=\"operator\">;\u003C\u002Fspan>\n  \u003C\u002Fdiv>\n  \u003Cdiv class=\"code-comment\">\n    \u003Cspan class=\"comment-symbol\">\u002F\u002F \u003C\u002Fspan>Comment text\n  \u003C\u002Fdiv>\n\u003C\u002Fdiv>\n```\n\n### Description Block (Comment Style)\n\n```html\n\u003Cdiv class=\"description-block\">\n  \u003Cdiv class=\"comment-start\">\u002F**\u003C\u002Fdiv>\n  \u003Cdiv class=\"comment-text\">\n    \u003Cspan class=\"comment-asterisk\"> * \u003C\u002Fspan>Description text\n  \u003C\u002Fdiv>\n  \u003Cdiv class=\"comment-end\"> *\u002F\u003C\u002Fdiv>\n\u003C\u002Fdiv>\n```\n\n## Accessibility Considerations\n\n**Color Contrast:**\n- Primary text (#111827) on white: WCAG AAA compliant\n- Secondary text (#666666) on white: WCAG AA compliant\n- Primary color (#cc7a60) on white: WCAG AA compliant for large text\n\n**Focus States:**\n- All interactive elements have visible focus indicators\n- Focus ring: 2px solid primary color with 2px offset\n\n**Keyboard Navigation:**\n- All interactive elements are keyboard accessible\n- Tab order follows visual hierarchy\n- Enter\u002FSpace activate buttons\n\n**Screen Readers:**\n- Semantic HTML structure\n- ARIA labels where needed\n- Status indicators use appropriate roles\n\n## Dark Mode Implementation\n\nThe design system includes a complete dark mode implementation using `[data-theme=\"dark\"]` attribute selector. Dark mode is fully integrated with smooth transitions and maintains all design principles.\n\n### Dark Mode Color System\n\n**Primary Colors (Dark Mode):**\n- `--primary: #d99178` - Lighter terracotta for better contrast on dark backgrounds\n- `--primary-foreground: #0a0a0a` - Dark text on primary backgrounds\n- `--primary-dark: #c57f66` - Darker shade for hover states\n- `--primary-light: #e5a890` - Lighter shade for subtle accents\n- `--ring: #d99178` - Focus ring color (lighter primary)\n\n**Backgrounds (Dark Mode):**\n- `--background: #0a0a0a` - Deep black for main backgrounds\n- `--bg-main: #0a0a0a` - Dark background with subtle white grid pattern\n- `--bg-card: #111` - Slightly lighter black for card components\n- `--bg-code: #18181b` - Dark gray for code blocks and window headers\n- `--secondary: #1a1a1a` - Dark gray for secondary backgrounds\n- `--muted: #262626` - Muted dark gray for subtle backgrounds\n\n**Text Colors (Dark Mode):**\n- `--foreground: #ededed` - Light gray for primary text\n- `--text-primary: #ededed` - Primary text color\n- `--text-secondary: #a3a3a3` - Medium gray for secondary text\n- `--text-muted: #a3a3a3` - Muted gray for less important text\n- `--muted-foreground: #a3a3a3` - Foreground on muted backgrounds\n\n**Borders (Dark Mode):**\n- `--border: #606068` - Lighter gray for visibility on dark backgrounds\n- `--border-light: #27272a` - Subtle dark gray for dividers\n\n**Syntax Highlighting (Dark Mode):**\n- `--syntax-keyword: #d99178` - Lighter primary for keywords\n- `--syntax-string: #22c55e` - Green (same as light mode)\n- `--syntax-number: #d99178` - Lighter primary for numbers\n- `--syntax-comment: #6a9955` - Muted green (same as light mode)\n- Blue keywords: `#60a5fa` (blue-400) - Brighter blue for better contrast\n- Purple keywords: `#c084fc` (purple-400) - Brighter purple for better contrast\n\n**Shadows (Dark Mode):**\n- `--shadow-sm: 0 1px 2px rgba(0,0,0,0.3)` - Stronger shadows for depth\n- `--shadow-md: 0 4px 6px rgba(0,0,0,0.4)` - Medium shadows\n- `--shadow-lg: 0 10px 25px rgba(0,0,0,0.5)` - Large shadows\n\n### Dark Mode Background Pattern\n\nDark mode uses a subtle white grid pattern instead of black:\n\n```css\n[data-theme=\"dark\"] body {\n  background-image: \n    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),\n    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);\n}\n```\n\n### Theme Toggle Implementation\n\n**HTML Structure:**\n```html\n\u003Cbutton class=\"theme-toggle-btn theme-toggle\" title=\"切换主题\" aria-label=\"切换主题\">\n  \u003Csvg class=\"icon-sun theme-icon\">\u003C!-- Sun icon -->\u003C\u002Fsvg>\n  \u003Csvg class=\"icon-moon theme-icon\" style=\"display: none;\">\u003C!-- Moon icon -->\u003C\u002Fsvg>\n\u003C\u002Fbutton>\n```\n\n**JavaScript Implementation:**\n- Uses `localStorage` to persist theme preference\n- Detects system preference on first load\n- Smoothly transitions between themes\n- Updates icon visibility (sun\u002Fmoon)\n- Listens to system theme changes (when no manual preference set)\n\n**Key Features:**\n- Automatic system preference detection\n- Manual override with localStorage persistence\n- Smooth CSS transitions (0.2s ease-in-out)\n- Icon state management (sun for light, moon for dark)\n\n### Dark Mode Component Adaptations\n\n**Navigation Bar:**\n- Background: `rgba(10, 10, 10, 0.8)` with backdrop blur\n- Status indicator: Darker background with adjusted border\n\n**Terminal Windows:**\n- Card background: `#111` (slightly lighter than main background)\n- Window headers: `rgba(38, 38, 38, 0.3)` for subtle contrast\n- All borders use darker mode colors\n\n**Skill Cards:**\n- Line numbers background: `rgba(38, 38, 38, 0.2)`\n- Footer background: `rgba(38, 38, 38, 0.2)`\n- Hover effects maintain same behavior with adjusted colors\n\n**Category Cards:**\n- Each category has theme-specific hover colors:\n  - Cyan: `#22d3ee` (dark) vs `#06b6d4` (light)\n  - Blue: `#60a5fa` (dark) vs `#3b82f6` (light)\n  - Purple: `#c084fc` (dark) vs `#a855f7` (light)\n  - Amber: `#fbbf24` (dark) vs `#f59e0b` (light)\n\n**Charts:**\n- Grid lines: `#27272a` with 0.5 opacity\n- Chart container: `rgba(17, 17, 17, 0.3)`\n- All text colors adapt to dark mode\n\n**FAB Button:**\n- Light mode: Dark background `#1a1a1a` with white icon\n- Dark mode: White background with dark icon (inverted)\n\n### Dark Mode Best Practices\n\n**Color Contrast:**\n- All text maintains WCAG AA compliance in dark mode\n- Primary color is lightened for better visibility\n- Borders are lighter for clear definition\n\n**Transitions:**\n- All color changes use `transition: color 0.2s ease-in-out`\n- Background changes use `transition: background-color 0.2s ease-in-out`\n- Smooth theme switching without jarring changes\n\n**Implementation Pattern:**\n```css\n\u002F* Light mode (default) *\u002F\n.component {\n  background: var(--bg-card);\n  color: var(--foreground);\n}\n\n\u002F* Dark mode *\u002F\n[data-theme=\"dark\"] .component {\n  background: var(--bg-card); \u002F* Automatically uses dark value *\u002F\n  color: var(--foreground); \u002F* Automatically uses dark value *\u002F\n}\n```\n\n**Maintains:**\n- Same spacing system\n- Same typography scale\n- Same component structure\n- Same animation timing\n- Enhanced shadows for depth perception\n\n## Performance Optimization\n\n**CSS Variables:**\n- All colors\u002Fspacing use CSS variables for easy theming\n- Variables defined in `:root` for global access\n\n**Animations:**\n- Use `transform` and `opacity` (GPU accelerated)\n- Avoid layout-triggering properties\n- Keep durations short (0.15s - 0.3s)\n\n**Font Loading:**\n- Preconnect to Google Fonts\n- Use `font-display: swap` for better performance\n- Provide fallback fonts in stack\n\n## Browser Support\n\n**Modern Browsers:**\n- Chrome\u002FEdge: Full support\n- Firefox: Full support\n- Safari: Full support (with `-webkit-` prefixes for backdrop-filter)\n\n**Features Used:**\n- CSS Grid: Full support in modern browsers\n- CSS Variables: Full support\n- Backdrop Filter: Requires `-webkit-` prefix for Safari\n- Flexbox: Full support\n\n## Design Tokens Summary\n\n**Quick Reference:**\n\n```css\n\u002F* Colors - Light Mode *\u002F\nPrimary: #cc7a60\nFluorescent Green: #39ff14 (command prefix only)\nSuccess: #22c55e\nBlue: #3b82f6\nForeground: #111827\nBorder: #8b929e\n\n\u002F* Colors - Dark Mode *\u002F\nPrimary: #d99178\nForeground: #ededed\nBackground: #0a0a0a\nCard: #111\nBorder: #606068\nBlue: #60a5fa (brighter for contrast)\n\n\u002F* Spacing *\u002F\nxs: 4px, sm: 8px, md: 16px, lg: 24px, xl: 32px, 2xl: 48px\n\n\u002F* Typography *\u002F\nFont: JetBrains Mono\nSizes: 0.75rem - 3.75rem scale\nWeights: 400, 500, 600, 700, 800\n\n\u002F* Radius *\u002F\nxs: 2px, sm: 4px, md: 6px, lg: 8px, xl: 12px, 2xl: 16px\n\n\u002F* Shadows - Light Mode *\u002F\nsm: 0 1px 2px rgba(0,0,0,0.05)\nmd: 0 4px 6px rgba(0,0,0,0.07)\nlg: 0 10px 25px rgba(0,0,0,0.1)\n\n\u002F* Shadows - Dark Mode *\u002F\nsm: 0 1px 2px rgba(0,0,0,0.3)\nmd: 0 4px 6px rgba(0,0,0,0.4)\nlg: 0 10px 25px rgba(0,0,0,0.5)\n```\n\n## Theme Toggle JavaScript Implementation\n\n**Complete Implementation:**\n```javascript\n(function() {\n  const themeToggles = document.querySelectorAll('.theme-toggle');\n  const html = document.documentElement;\n  \n  \u002F\u002F Get initial theme from localStorage or system preference\n  function getInitialTheme() {\n    const savedTheme = localStorage.getItem('theme');\n    if (savedTheme) {\n      return savedTheme;\n    }\n    \u002F\u002F Check system preference\n    if (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) {\n      return 'dark';\n    }\n    return 'light';\n  }\n  \n  \u002F\u002F Set theme and update icons\n  function setTheme(theme) {\n    if (theme === 'dark') {\n      html.setAttribute('data-theme', 'dark');\n      document.querySelectorAll('.icon-sun').forEach(icon => {\n        icon.style.display = 'none';\n      });\n      document.querySelectorAll('.icon-moon').forEach(icon => {\n        icon.style.display = 'block';\n      });\n    } else {\n      html.removeAttribute('data-theme');\n      document.querySelectorAll('.icon-sun').forEach(icon => {\n        icon.style.display = 'block';\n      });\n      document.querySelectorAll('.icon-moon').forEach(icon => {\n        icon.style.display = 'none';\n      });\n    }\n    localStorage.setItem('theme', theme);\n  }\n  \n  \u002F\u002F Toggle theme\n  function toggleTheme() {\n    const currentTheme = html.getAttribute('data-theme');\n    const newTheme = currentTheme === 'dark' ? 'light' : 'dark';\n    setTheme(newTheme);\n  }\n  \n  \u002F\u002F Initialize\n  const initialTheme = getInitialTheme();\n  setTheme(initialTheme);\n  \n  \u002F\u002F Add event listeners\n  themeToggles.forEach(button => {\n    button.addEventListener('click', toggleTheme);\n  });\n  \n  \u002F\u002F Listen to system theme changes (only if no manual preference)\n  if (window.matchMedia) {\n    const mediaQuery = window.matchMedia('(prefers-color-scheme: dark)');\n    mediaQuery.addEventListener('change', (e) => {\n      if (!localStorage.getItem('theme')) {\n        setTheme(e.matches ? 'dark' : 'light');\n      }\n    });\n  }\n})();\n```\n\n**Key Features:**\n- Persists theme preference in localStorage\n- Detects system preference on first load\n- Smoothly transitions between themes\n- Updates icon visibility automatically\n- Listens to system theme changes (when no manual override)\n\n## Usage Examples\n\nWhen implementing this design system:\n\n1. **Start with CSS variables** - Import or define all color\u002Fspacing variables (including dark mode)\n2. **Use terminal window pattern** - Wrap content in terminal-window component\n3. **Apply monospace font** - Use JetBrains Mono for all UI text\n4. **Follow spacing scale** - Use defined spacing values consistently\n5. **Use semantic colors** - Apply colors based on meaning, not appearance\n6. **Implement theme toggle** - Add theme toggle button and JavaScript\n7. **Maintain consistency** - Reuse component patterns throughout\n8. **Test responsiveness** - Ensure layouts work at all breakpoints\n9. **Test both themes** - Verify light and dark modes work correctly\n10. **Optimize animations** - Keep transitions smooth and performant\n\nThis design system creates a cohesive, developer-friendly interface that feels both modern and familiar to users comfortable with terminal interfaces. The complete dark mode implementation ensures the interface works beautifully in any lighting condition.\n",{"name":5,"description":7},"main","f4cb2d49f7667e79ef7804f50396d5aaffdf1f56","视觉与设计\u002Fterminal-ui-website-design",1,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification","https:\u002F\u002Fgithub.com\u002FKernel8901","a little little little dobe in life but science geek","2026-04-05 16:43:56",{"source":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add Kernel8901\u002Fai-agent-skills-classification --skill terminal-ui-design-system",{"tool":57,"command":58},"bunx","bunx skills add Kernel8901\u002Fai-agent-skills-classification --skill terminal-ui-design-system",{"tool":60,"command":61},"pnpm","pnpm dlx skills add Kernel8901\u002Fai-agent-skills-classification --skill terminal-ui-design-system","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F视觉与设计\u002Fterminal-ui-website-design\u002FSKILL.md",true,[65,71,75,79],{"path":66,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":69,"sourceHtmlUrl":70},"_meta.json","REFERENCE","参考文档",305,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F视觉与设计\u002Fterminal-ui-website-design\u002F_meta.json",{"path":72,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":73,"sourceHtmlUrl":74},"references\u002Fcomplete-css-variables.css",8947,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F视觉与设计\u002Fterminal-ui-website-design\u002Freferences\u002Fcomplete-css-variables.css",{"path":76,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":77,"sourceHtmlUrl":78},"references\u002Fcomponent-templates.html",10347,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F视觉与设计\u002Fterminal-ui-website-design\u002Freferences\u002Fcomponent-templates.html",{"path":80,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":81,"sourceHtmlUrl":82},"references\u002Fdesign-tokens.json",3415,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F视觉与设计\u002Fterminal-ui-website-design\u002Freferences\u002Fdesign-tokens.json",[84,108,131,139,146,173],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":38},"01M6Q5R6WZ06RRB9RQTW54B34B","zyfai","Earn yield on any Ethereum wallet on Base, Arbitrum, and Plasma. Use when a user wants passive DeFi yield on their funds. Deploys a non-custodial subaccount (Safe) linked to their EOA, enables automated yield optimization, and lets them deposit\u002Fwithdraw anytime.","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzyfai-sdk\u002FSKILL.md",[],[86,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107],"safe","ethereum","defi","Optimization","user","use","Wallet","base","deposit","withdraw","yield","arbitrum","non-custodial","passive","defi yield","earn","yield optimization",{"skillNo":109,"name":110,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":38},"01M6Q5R337B5JSNER4P4YS03TN","zerion-api","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzerion-api\u002FSKILL.md",[],[114,115,116,117,118,119,120,93,121,97,122,123,124,125,126,127,128,129,130],"api","zerion api","zerion","MCP","mcp server","server","blockchain","transactions","crypto wallet","crypto","evm","solana","query","across","positions","token","prices",{"skillNo":132,"name":133,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":38},"01M6Q5QZFYTDAZMZ27BN5VZXAR","zerion-api-skill","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzerion-api-skill\u002FSKILL.md",[],[114,137,138,115,116,117,118,119,120,93,121,97,123,124,125,126,127,128,129,130],"api skill","zerion api skill",{"skillNo":140,"name":141,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":142,"categories":143,"keywords":144,"publishedAt":38},"01M6Q5QW17QW98RA3FE45E4RD8","zerion-api-mcp","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzerion-api-mcp\u002FSKILL.md",[],[117,114,145,115,116,118,119,93,121,97,122,123,124,125,126,127,128,129,130],"zerion api mcp",{"skillNo":147,"name":148,"nameZh":6,"description":149,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":150,"categories":151,"keywords":152,"publishedAt":38},"01M6Q5QQYZB7A501BDEQWKGSJT","yahoo-finance-forex","Fetches real-time FOREX news and market data from Yahoo Finance for major currency pairs (EUR\u002FUSD, GBP\u002FUSD, USD\u002FJPY, etc.). Analyzes sentiment and provides trading context.","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fyahoo-finance-forex\u002FSKILL.md",[],[153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172],"finance","yahoo finance","forex","yahoo","yahoo finance forex","github","https","sentiment","real-time","python3","install","Market","usd","news","time","currency","gbp","pip","market data","for",{"skillNo":174,"name":175,"nameZh":6,"description":176,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":177,"categories":178,"keywords":179,"publishedAt":38},"01M6Q5QM6VS84WZVM7BKXXPF32","yahoo-finance","This skill should be used when the user asks to \"get stock prices\", \"check stock quotes\", \"look up earnings\", \"get financial data\", \"find trending stocks\", or needs stock market data from Yahoo Finance.","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fyahoo-finance-cli\u002FSKILL.md",[],[153,154,156,180,181,182,183,184,185,164,186,187,188,189,190,191,192,193,130,171],"cli","homebrew","find","check","brew","up","local","get","stock","link","trending","sf","quotes","ln"]