[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F8M36THJXYFBWZK77FBAT4":3,"skill-same:01M7F8M36THJXYFBWZK77FBAT4":49},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M7F8M36THJXYFBWZK77FBAT4","dark-mode",null,"Web and App implementation guide for Dark Mode Design. Trigger when user wants dark surfaces, reduced eye strain, and premium sleek aesthetics.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fdesign-it\u002Fdark-mode\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: dark-mode\ndescription: Web and App implementation guide for Dark Mode Design. Trigger when user wants dark surfaces, reduced eye strain, and premium sleek aesthetics.\ndate_added: \"2026-06-17\"\nrisk: safe\nsource: self\nsource_type: self\n---\n\n# Dark Mode Design\n\n> \"Not just inverted colors. A carefully constructed hierarchy of light on dark.\"\n\n\n## When to Use\nUse this sub-style when the user's request matches the aesthetic described above. This is a child reference of the `design-it` skill and is not meant to be triggered directly.\n\n## Core Principles\n1. **Never Pure Black**: True `#000000` causes smearing on OLED screens and extreme eye strain with white text. Use dark greys (e.g., `#121212` or `#0A0A0A`).\n2. **Elevation via Lightness**: In light mode, shadows show elevation. In dark mode, shadows are invisible, so elevated surfaces must be lighter than the background.\n3. **Desaturated Accents**: Saturated colors vibrate painfully against dark backgrounds. Tone down the saturation of brand colors.\n\n## Visual DNA\n- **Colors**: **Midnight Luxury** or **Minimalist Slate** (inverted). Background `#121212`. Elevated cards `#1E1E1E`, `#252525`. Primary text `#E1E1E1` (not `#FFFFFF`).\n- **Typography**: Standard highly readable sans-serifs, but often dropped down one font weight compared to light mode, as light text on dark backgrounds appears optically thicker.\n- **Shadows**: Pure black shadows, but with much lower opacity, mostly to separate slightly different shades of grey.\n\n## Web Implementation\n- **CSS Example**:\n```css\n:root {\n  --bg-base: #121212;\n  --bg-elevated-1: #1E1E1E;\n  --bg-elevated-2: #242424;\n  --text-high-emphasis: rgba(255, 255, 255, 0.87);\n  --text-medium-emphasis: rgba(255, 255, 255, 0.60);\n  \n  \u002F* Accent color: Desaturated purple instead of bright purple *\u002F\n  --accent-color: #BB86FC; \n}\n\nbody {\n  background-color: var(--bg-base);\n  color: var(--text-high-emphasis);\n  font-weight: 300; \u002F* Thinner weight for dark mode *\u002F\n}\n\n.dark-card {\n  background-color: var(--bg-elevated-1);\n  border-radius: 8px;\n  padding: 24px;\n  \n  \u002F* Very subtle border can help separate dark surfaces *\u002F\n  border: 1px solid rgba(255, 255, 255, 0.05);\n}\n\n.dark-card:hover {\n  \u002F* On hover, the element moves closer to the user, so it gets lighter *\u002F\n  background-color: var(--bg-elevated-2);\n}\n\n.dark-btn {\n  background-color: var(--accent-color);\n  color: #000; \u002F* Dark text on light accent is highly readable *\u002F\n  font-weight: 600;\n  border: none;\n  padding: 12px 24px;\n  border-radius: 4px;\n}\n```\n\n## App Implementation\n\n### SwiftUI\n```swift\nstruct DarkModeView: View {\n    \u002F\u002F Force Dark Mode on this specific view (or use system settings)\n    @Environment(\\.colorScheme) var colorScheme\n    \n    var body: some View {\n        ScrollView {\n            VStack(spacing: 20) {\n                \u002F\u002F Primary elevated card\n                VStack(alignment: .leading, spacing: 12) {\n                    Text(\"Elevation via Lightness\")\n                        .font(.headline)\n                        .foregroundColor(.primary) \u002F\u002F Auto-adapts\n                    Text(\"In dark mode, elevated surfaces are lighter grey, not shadowed.\")\n                        .font(.subheadline)\n                        .foregroundColor(.secondary) \u002F\u002F Auto-adapts\n                }\n                .padding()\n                .frame(maxWidth: .infinity, alignment: .leading)\n                \u002F\u002F Use native semantic colors. .secondarySystemBackground is lighter than .systemBackground\n                .background(Color(UIColor.secondarySystemBackground))\n                .cornerRadius(12)\n                \n                \u002F\u002F Desaturated Accent Button\n                Button(action: {}) {\n                    Text(\"Desaturated Accent\")\n                        .fontWeight(.semibold)\n                        .foregroundColor(.black) \u002F\u002F Dark text on light accent\n                        .padding()\n                        .frame(maxWidth: .infinity)\n                        .background(Color(red: 0.73, green: 0.52, blue: 0.98)) \u002F\u002F #BB86FC (Desaturated purple)\n                        .cornerRadius(8)\n                }\n            }\n            .padding()\n        }\n        \u002F\u002F #121212 is the standard dark mode background, which systemBackground maps to closely\n        .background(Color(UIColor.systemBackground))\n    }\n}\n\u002F\u002F .preferredColorScheme(.dark) to force\n```\n- **Rely on Semantics**: SwiftUI's `Color.primary`, `Color.secondary`, `Color(UIColor.systemBackground)` and `Color(UIColor.secondarySystemBackground)` handle perfect dark mode transitions automatically.\n- Avoid forcing explicit hex codes for backgrounds unless you are building a custom-themed app.\n\n### Flutter\n```dart\nimport 'package:flutter\u002Fmaterial.dart';\n\nclass DarkModeApp extends StatelessWidget {\n  @override\n  Widget build(BuildContext context) {\n    return MaterialApp(\n      \u002F\u002F Configure the Dark Theme\n      themeMode: ThemeMode.dark,\n      darkTheme: ThemeData.dark().copyWith(\n        scaffoldBackgroundColor: const Color(0xFF121212), \u002F\u002F Standard dark background\n        cardColor: const Color(0xFF1E1E1E), \u002F\u002F Elevated surface\n        colorScheme: const ColorScheme.dark().copyWith(\n          primary: const Color(0xFFBB86FC), \u002F\u002F Desaturated accent\n          onPrimary: Colors.black, \u002F\u002F Dark text on light accent\n          surface: const Color(0xFF1E1E1E),\n        ),\n      ),\n      home: Scaffold(\n        appBar: AppBar(title: const Text('Dark Mode', style: TextStyle(color: Colors.white70))),\n        body: ListView(\n          padding: const EdgeInsets.all(16),\n          children: [\n            Card(\n              elevation: 0, \u002F\u002F Shadows don't show well anyway\n              shape: RoundedRectangleBorder(\n                borderRadius: BorderRadius.circular(12),\n                side: BorderSide(color: Colors.white.withOpacity(0.05)), \u002F\u002F Subtle border\n              ),\n              child: const Padding(\n                padding: EdgeInsets.all(16.0),\n                child: Column(\n                  crossAxisAlignment: CrossAxisAlignment.start,\n                  children: [\n                    Text('Elevation via Lightness', style: TextStyle(fontSize: 18, fontWeight: FontWeight.bold)),\n                    SizedBox(height: 8),\n                    Text('Elevated surfaces use lighter greys.', style: TextStyle(color: Colors.white60)),\n                  ],\n                ),\n              ),\n            ),\n            const SizedBox(height: 20),\n            ElevatedButton(\n              onPressed: () {},\n              child: const Text('Desaturated Accent'),\n            ),\n          ],\n        ),\n      ),\n    );\n  }\n}\n```\n- When using `ThemeData.dark()`, actively override `scaffoldBackgroundColor` to `#121212` and `cardColor` to `#1E1E1E`.\n- Ensure your `colorScheme.onPrimary` is black so text is readable when placed on top of your desaturated primary accent button.\n\n### React Native\n```jsx\nimport { useColorScheme } from 'react-native';\n\nconst DarkModeScreen = () => {\n  const isDark = useColorScheme() === 'dark';\n  \n  \u002F\u002F Custom dark theme dictionary\n  const theme = {\n    bgBase: isDark ? '#121212' : '#FFFFFF',\n    bgElevated: isDark ? '#1E1E1E' : '#F5F5F5',\n    textHigh: isDark ? 'rgba(255, 255, 255, 0.87)' : 'rgba(0, 0, 0, 0.87)',\n    textMedium: isDark ? 'rgba(255, 255, 255, 0.60)' : 'rgba(0, 0, 0, 0.60)',\n    accent: isDark ? '#BB86FC' : '#6200EE', \u002F\u002F Desaturated for dark, vibrant for light\n    onAccent: isDark ? '#000' : '#FFF',\n  };\n\n  return (\n    \u003CView style={{ flex: 1, backgroundColor: theme.bgBase, padding: 16 }}>\n      \u003CView style={{\n        backgroundColor: theme.bgElevated,\n        padding: 24,\n        borderRadius: 12,\n        borderWidth: isDark ? 1 : 0,\n        borderColor: 'rgba(255,255,255,0.05)',\n        marginBottom: 20\n      }}>\n        \u003CText style={{ color: theme.textHigh, fontSize: 18, fontWeight: 'bold', marginBottom: 8 }}>\n          Elevation via Lightness\n        \u003C\u002FText>\n        \u003CText style={{ color: theme.textMedium }}>\n          Elevated surfaces use lighter greys.\n        \u003C\u002FText>\n      \u003C\u002FView>\n\n      \u003CTouchableOpacity style={{\n        backgroundColor: theme.accent,\n        padding: 16,\n        borderRadius: 8,\n        alignItems: 'center'\n      }}>\n        \u003CText style={{ color: theme.onAccent, fontWeight: 'bold' }}>Desaturated Accent\u003C\u002FText>\n      \u003C\u002FTouchableOpacity>\n    \u003C\u002FView>\n  );\n};\n```\n- Rely on `useColorScheme()` hook from React Native.\n- Define a strict dictionary of your color tokens. Notice how `theme.accent` shifts from a vibrant purple (`#6200EE`) in light mode to a desaturated pastel purple (`#BB86FC`) in dark mode.\n\n### Jetpack Compose\n```kotlin\n@Composable\nfun DarkModeScreen() {\n    \u002F\u002F Typically this logic lives in your Theme.kt\n    val darkColors = darkColorScheme(\n        background = Color(0xFF121212),\n        surface = Color(0xFF1E1E1E),\n        primary = Color(0xFFBB86FC),\n        onPrimary = Color.Black,\n        onBackground = Color.White.copy(alpha = 0.87f),\n        onSurface = Color.White.copy(alpha = 0.87f)\n    )\n\n    MaterialTheme(colorScheme = darkColors) {\n        Column(\n            modifier = Modifier\n                .fillMaxSize()\n                .background(MaterialTheme.colorScheme.background)\n                .padding(16.dp)\n        ) {\n            Card(\n                colors = CardDefaults.cardColors(containerColor = MaterialTheme.colorScheme.surface),\n                shape = RoundedCornerShape(12.dp),\n                border = BorderStroke(1.dp, Color.White.copy(alpha = 0.05f))\n            ) {\n                Column(modifier = Modifier.padding(24.dp)) {\n                    Text(\"Elevation via Lightness\", \n                        style = MaterialTheme.typography.titleMedium, \n                        color = MaterialTheme.colorScheme.onSurface)\n                    Spacer(Modifier.height(8.dp))\n                    Text(\"Elevated surfaces use lighter greys.\", \n                        style = MaterialTheme.typography.bodyMedium, \n                        color = MaterialTheme.colorScheme.onSurface.copy(alpha = 0.6f))\n                }\n            }\n            \n            Spacer(Modifier.height(20.dp))\n            \n            Button(\n                onClick = {},\n                colors = ButtonDefaults.buttonColors(\n                    containerColor = MaterialTheme.colorScheme.primary,\n                    contentColor = MaterialTheme.colorScheme.onPrimary\n                ),\n                modifier = Modifier.fillMaxWidth().height(50.dp)\n            ) {\n                Text(\"Desaturated Accent\", fontWeight = FontWeight.Bold)\n            }\n        }\n    }\n}\n```\n- Material 3 handles Dark Mode semantics perfectly. Define your `darkColorScheme`.\n- Use `Color(0xFF1E1E1E)` for `surface` and `Color(0xFF121212)` for `background`. Compose will automatically map these to `Card`s and Scaffolds.\n\n## Do's and Don'ts\n- **DO**: Meet WCAG contrast standards. Just because it's dark doesn't mean the text should be illegibly dim.\n- **DON'T**: Use bright, highly saturated primary colors.\n\n## Limitations\n- This is a styling reference and does not replace environment-specific validation, accessibility testing, or expert review.\n- Ensure appropriate contrast ratios and responsive behaviors are verified separately.\n","# Dark Mode Design\n\n> \"Not just inverted colors. A carefully constructed hierarchy of light on dark.\"\n\n\n## When to Use\nUse this sub-style when the user's request matches the aesthetic described above. This is a child reference of the `design-it` skill and is not meant to be triggered directly.\n\n## Core Principles\n1. **Never Pure Black**: True `#000000` causes smearing on OLED screens and extreme eye strain with white text. Use dark greys (e.g., `#121212` or `#0A0A0A`).\n2. **Elevation via Lightness**: In light mode, shadows show elevation. In dark mode, shadows are invisible, so elevated surfaces must be lighter than the background.\n3. **Desaturated Accents**: Saturated colors vibrate painfully against dark backgrounds. Tone down the saturation of brand colors.\n\n## Visual DNA\n- **Colors**: **Midnight Luxury** or **Minimalist Slate** (inverted). Background `#121212`. Elevated cards `#1E1E1E`, `#252525`. Primary text `#E1E1E1` (not `#FFFFFF`).\n- **Typography**: Standard highly readable sans-serifs, but often dropped down one font weight compared to light mode, as light text on dark backgrounds appears optically thicker.\n- **Shadows**: Pure black shadows, but with much lower opacity, mostly to separate slightly different shades of grey.\n\n## Web Implementation\n- **CSS Example**:\n```css\n:root {\n  --bg-base: #121212;\n  --bg-elevated-1: #1E1E1E;\n  --bg-elevated-2: #242424;\n  --text-high-emphasis: rgba(255, 255, 255, 0.87);\n  --text-medium-emphasis: rgba(255, 255, 255, 0.60);\n  \n  \u002F* Accent color: Desaturated purple instead of bright purple *\u002F\n  --accent-color: #BB86FC; \n}\n\nbody {\n  background-color: var(--bg-base);\n  color: var(--text-high-emphasis);\n  font-weight: 300; \u002F* Thinner weight for dark mode *\u002F\n}\n\n.dark-card {\n  background-color: var(--bg-elevated-1);\n  border-radius: 8px;\n  padding: 24px;\n  \n  \u002F* Very subtle border can help separate dark surfaces *\u002F\n  border: 1px solid rgba(255, 255, 255, 0.05);\n}\n\n.dark-card:hover {\n  \u002F* On hover, the element moves closer to the user, so it gets lighter *\u002F\n  background-color: var(--bg-elevated-2);\n}\n\n.dark-btn {\n  background-color: var(--accent-color);\n  color: #000; \u002F* Dark text on light accent is highly readable *\u002F\n  font-weight: 600;\n  border: none;\n  padding: 12px 24px;\n  border-radius: 4px;\n}\n```\n\n## App Implementation\n\n### SwiftUI\n```swift\nstruct DarkModeView: View {\n    \u002F\u002F Force Dark Mode on this specific view (or use system settings)\n    @Environment(\\.colorScheme) var colorScheme\n    \n    var body: some View {\n        ScrollView {\n            VStack(spacing: 20) {\n                \u002F\u002F Primary elevated card\n                VStack(alignment: .leading, spacing: 12) {\n                    Text(\"Elevation via Lightness\")\n                        .font(.headline)\n                        .foregroundColor(.primary) \u002F\u002F Auto-adapts\n                    Text(\"In dark mode, elevated surfaces are lighter grey, not shadowed.\")\n                        .font(.subheadline)\n                        .foregroundColor(.secondary) \u002F\u002F Auto-adapts\n                }\n                .padding()\n                .frame(maxWidth: .infinity, alignment: .leading)\n                \u002F\u002F Use native semantic colors. .secondarySystemBackground is lighter than .systemBackground\n                .background(Color(UIColor.secondarySystemBackground))\n                .cornerRadius(12)\n                \n                \u002F\u002F Desaturated Accent Button\n                Button(action: {}) {\n                    Text(\"Desaturated Accent\")\n                        .fontWeight(.semibold)\n                        .foregroundColor(.black) \u002F\u002F Dark text on light accent\n                        .padding()\n                        .frame(maxWidth: .infinity)\n                        .background(Color(red: 0.73, green: 0.52, blue: 0.98)) \u002F\u002F #BB86FC (Desaturated purple)\n                        .cornerRadius(8)\n                }\n            }\n            .padding()\n        }\n        \u002F\u002F #121212 is the standard dark mode background, which systemBackground maps to closely\n        .background(Color(UIColor.systemBackground))\n    }\n}\n\u002F\u002F .preferredColorScheme(.dark) to force\n```\n- **Rely on Semantics**: SwiftUI's `Color.primary`, `Color.secondary`, `Color(UIColor.systemBackground)` and `Color(UIColor.secondarySystemBackground)` handle perfect dark mode transitions automatically.\n- Avoid forcing explicit hex codes for backgrounds unless you are building a custom-themed app.\n\n### Flutter\n```dart\nimport 'package:flutter\u002Fmaterial.dart';\n\nclass DarkModeApp extends StatelessWidget {\n  @override\n  Widget build(BuildContext context) {\n    return MaterialApp(\n      \u002F\u002F Configure the Dark Theme\n      themeMode: ThemeMode.dark,\n      darkTheme: ThemeData.dark().copyWith(\n        scaffoldBackgroundColor: const Color(0xFF121212), \u002F\u002F Standard dark background\n        cardColor: const Color(0xFF1E1E1E), \u002F\u002F Elevated surface\n        colorScheme: const ColorScheme.dark().copyWith(\n          primary: const Color(0xFFBB86FC), \u002F\u002F Desaturated accent\n          onPrimary: Colors.black, \u002F\u002F Dark text on light accent\n          surface: const Color(0xFF1E1E1E),\n        ),\n      ),\n      home: Scaffold(\n        appBar: AppBar(title: const Text('Dark Mode', style: TextStyle(color: Colors.white70))),\n        body: ListView(\n          padding: const EdgeInsets.all(16),\n          children: [\n            Card(\n              elevation: 0, \u002F\u002F Shadows don't show well anyway\n              shape: RoundedRectangleBorder(\n                borderRadius: BorderRadius.circular(12),\n                side: BorderSide(color: Colors.white.withOpacity(0.05)), \u002F\u002F Subtle border\n              ),\n              child: const Padding(\n                padding: EdgeInsets.all(16.0),\n                child: Column(\n                  crossAxisAlignment: CrossAxisAlignment.start,\n                  children: [\n                    Text('Elevation via Lightness', style: TextStyle(fontSize: 18, fontWeight: FontWeight.bold)),\n                    SizedBox(height: 8),\n                    Text('Elevated surfaces use lighter greys.', style: TextStyle(color: Colors.white60)),\n                  ],\n                ),\n              ),\n            ),\n            const SizedBox(height: 20),\n            ElevatedButton(\n              onPressed: () {},\n              child: const Text('Desaturated Accent'),\n            ),\n          ],\n        ),\n      ),\n    );\n  }\n}\n```\n- When using `ThemeData.dark()`, actively override `scaffoldBackgroundColor` to `#121212` and `cardColor` to `#1E1E1E`.\n- Ensure your `colorScheme.onPrimary` is black so text is readable when placed on top of your desaturated primary accent button.\n\n### React Native\n```jsx\nimport { useColorScheme } from 'react-native';\n\nconst DarkModeScreen = () => {\n  const isDark = useColorScheme() === 'dark';\n  \n  \u002F\u002F Custom dark theme dictionary\n  const theme = {\n    bgBase: isDark ? '#121212' : '#FFFFFF',\n    bgElevated: isDark ? '#1E1E1E' : '#F5F5F5',\n    textHigh: isDark ? 'rgba(255, 255, 255, 0.87)' : 'rgba(0, 0, 0, 0.87)',\n    textMedium: isDark ? 'rgba(255, 255, 255, 0.60)' : 'rgba(0, 0, 0, 0.60)',\n    accent: isDark ? '#BB86FC' : '#6200EE', \u002F\u002F Desaturated for dark, vibrant for light\n    onAccent: isDark ? '#000' : '#FFF',\n  };\n\n  return (\n    \u003CView style={{ flex: 1, backgroundColor: theme.bgBase, padding: 16 }}>\n      \u003CView style={{\n        backgroundColor: theme.bgElevated,\n        padding: 24,\n        borderRadius: 12,\n        borderWidth: isDark ? 1 : 0,\n        borderColor: 'rgba(255,255,255,0.05)',\n        marginBottom: 20\n      }}>\n        \u003CText style={{ color: theme.textHigh, fontSize: 18, fontWeight: 'bold', marginBottom: 8 }}>\n          Elevation via Lightness\n        \u003C\u002FText>\n        \u003CText style={{ color: theme.textMedium }}>\n          Elevated surfaces use lighter greys.\n        \u003C\u002FText>\n      \u003C\u002FView>\n\n      \u003CTouchableOpacity style={{\n        backgroundColor: theme.accent,\n        padding: 16,\n        borderRadius: 8,\n        alignItems: 'center'\n      }}>\n        \u003CText style={{ color: theme.onAccent, fontWeight: 'bold' }}>Desaturated Accent\u003C\u002FText>\n      \u003C\u002FTouchableOpacity>\n    \u003C\u002FView>\n  );\n};\n```\n- Rely on `useColorScheme()` hook from React Native.\n- Define a strict dictionary of your color tokens. Notice how `theme.accent` shifts from a vibrant purple (`#6200EE`) in light mode to a desaturated pastel purple (`#BB86FC`) in dark mode.\n\n### Jetpack Compose\n```kotlin\n@Composable\nfun DarkModeScreen() {\n    \u002F\u002F Typically this logic lives in your Theme.kt\n    val darkColors = darkColorScheme(\n        background = Color(0xFF121212),\n        surface = Color(0xFF1E1E1E),\n        primary = Color(0xFFBB86FC),\n        onPrimary = Color.Black,\n        onBackground = Color.White.copy(alpha = 0.87f),\n        onSurface = Color.White.copy(alpha = 0.87f)\n    )\n\n    MaterialTheme(colorScheme = darkColors) {\n        Column(\n            modifier = Modifier\n                .fillMaxSize()\n                .background(MaterialTheme.colorScheme.background)\n                .padding(16.dp)\n        ) {\n            Card(\n                colors = CardDefaults.cardColors(containerColor = MaterialTheme.colorScheme.surface),\n                shape = RoundedCornerShape(12.dp),\n                border = BorderStroke(1.dp, Color.White.copy(alpha = 0.05f))\n            ) {\n                Column(modifier = Modifier.padding(24.dp)) {\n                    Text(\"Elevation via Lightness\", \n                        style = MaterialTheme.typography.titleMedium, \n                        color = MaterialTheme.colorScheme.onSurface)\n                    Spacer(Modifier.height(8.dp))\n                    Text(\"Elevated surfaces use lighter greys.\", \n                        style = MaterialTheme.typography.bodyMedium, \n                        color = MaterialTheme.colorScheme.onSurface.copy(alpha = 0.6f))\n                }\n            }\n            \n            Spacer(Modifier.height(20.dp))\n            \n            Button(\n                onClick = {},\n                colors = ButtonDefaults.buttonColors(\n                    containerColor = MaterialTheme.colorScheme.primary,\n                    contentColor = MaterialTheme.colorScheme.onPrimary\n                ),\n                modifier = Modifier.fillMaxWidth().height(50.dp)\n            ) {\n                Text(\"Desaturated Accent\", fontWeight = FontWeight.Bold)\n            }\n        }\n    }\n}\n```\n- Material 3 handles Dark Mode semantics perfectly. Define your `darkColorScheme`.\n- Use `Color(0xFF1E1E1E)` for `surface` and `Color(0xFF121212)` for `background`. Compose will automatically map these to `Card`s and Scaffolds.\n\n## Do's and Don'ts\n- **DO**: Meet WCAG contrast standards. Just because it's dark doesn't mean the text should be illegibly dim.\n- **DON'T**: Use bright, highly saturated primary colors.\n\n## Limitations\n- This is a styling reference and does not replace environment-specific validation, accessibility testing, or expert review.\n- Ensure appropriate contrast ratios and responsive behaviors are verified separately.\n",{"name":5,"risk":24,"source":25,"date_added":26,"description":7,"source_type":25},"safe","self","2026-06-17","main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","06-前端与设计\u002Fdesign-it\u002Fdark-mode",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill dark-mode",{"tool":41,"command":42},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill dark-mode",{"tool":44,"command":45},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill dark-mode","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fdesign-it\u002Fdark-mode\u002FSKILL.md",true,[],[50,57,62,69,76,83],{"skillNo":51,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":19},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":58,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]