[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7FAYCNHMNF4PJSRKC2FPAM2":3,"skill-same:01M7FAYCNHMNF4PJSRKC2FPAM2":47},{"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":14,"repositoryHtmlUrl":30,"repositoryHomepageUrl":30,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M7FAYCNHMNF4PJSRKC2FPAM2","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.","Mr-Nobody-Anonymous\u002FAll-skills","Mr-Nobody-Anonymous","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F184253119?v=4","01M7AEXFJHKTYQW5R0ZCQQTWFV","anonymous","01M7C00M3GQR4QKP9GZA42GFAK",0,"MIT","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Ffrontend\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","2d1750717747097b602acf30bd09a7cbd4b4c6ea","awesome_skills\u002Ffrontend\u002Fdesign-it\u002Fdark-mode","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous","2026-11-09 11:45:36",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill dark-mode",{"tool":39,"command":40},"bunx","bunx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill dark-mode",{"tool":42,"command":43},"pnpm","pnpm dlx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill dark-mode","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Ffrontend\u002Fdesign-it\u002Fdark-mode\u002FSKILL.md",true,[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M7FFFZPC2025JQQHPHDX154J","dei-assessment","Assess diversity, equity, and inclusion with metrics. TRIGGERS - Use when user needs help with dei-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-assessment\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"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},"01M7FFFWN8H4WA7A6Y398QKB6J","dei-action-plan","Create DEI action plans with goals and initiatives. TRIGGERS - Use when user needs help with dei-action-plan related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-action-plan\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},"01M7FFFSHTM0QZRVZ2NRJTJ0PY","culture-fit-assessment","Design culture add assessment processes. TRIGGERS - Use when user needs help with culture-fit-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fculture-fit-assessment\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},"01M7FFFMA12RKEQA38KHJSXXPS","cowork-to-code-bridge","Use an already-installed, independently verified cowork-to-code bridge to run narrowly approved actions on the user's own macOS, Linux, or WSL2 machine through a local file queue.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcowork-to-code-bridge\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},"01M7FFFH1F6M8YRGW5V487GH1K","counter-offer-response","Draft counter-offer responses for retention. TRIGGERS - Use when user needs help with counter-offer-response related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcounter-offer-response\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},"01M7FFFDGEHV8Y7J9N40HZXW52","continuous-feedback-system","Design continuous feedback systems. TRIGGERS - Use when user needs help with continuous-feedback-system related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcontinuous-feedback-system\u002FSKILL.md",[],[]]