agentsclimarketplace

Dark mode system

Skill swd3k/skills/agent-skills/ui/dark-mode-system

Portable agent skills for desktop apps, programming, UI, and web design - Codex, Claude, Cursor, Grok. English SKILL.md playbooks (Photino, Inno, CI, landings).

Install
npx -y skills add swd3k/skills --skill dark-mode-system

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • 19 days oldThe repository was created 19 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Implement light/dark (and system) themes with design tokens and accessible contrast. Use when adding theme toggles, desktop dark UI, or fixing unreadable dark styles.

SKILL.md

1.0 KB, as published. Nobody here has run it

Dark Mode System

Token approach

:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --text: #12141a;
  --muted: #5c6370;
  --accent: #3b82f6;
  --danger: #dc2626;
  --border: rgba(0,0,0,.08);
}
[data-theme="dark"] {
  --bg: #0e1014;
  --surface: #171a21;
  --text: #eef1f6;
  --muted: #9aa3b2;
  --accent: #60a5fa;
  --danger: #f87171;
  --border: rgba(255,255,255,.10);
}

Rules

  • Theme via tokens, not scattered hex
  • Follow prefers-color-scheme when mode = system
  • Persist user choice in settings
  • Test contrast for text, borders, focus rings
  • Images/icons may need theme variants

Pitfalls

  • Pure #000 backgrounds with gray text (muddy)
  • Box-shadows that disappear on dark
  • Hardcoded white modals in dark app

Acceptance

  • Toggle switches all chrome in one frame
  • Focus ring visible in both themes

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.