$ show StylishThemes/GitHub-Dark
GitHub-Dark is a maintained userstyle distribution that applies a comprehensive dark theme to GitHub, Gist, and related GitHub surfaces through the Stylus browser extension. Its primary artifact is github-dark.user.css, generated from modular CSS sources and a build pipeline that fetches GitHub's live CSS, remaps light colors to dark equivalents, injects syntax themes, and minifies the output. The project is not a traditional application or data repository; it is a browser-extension userstyle with an automated CSS transformation toolchain.
The LLM identified 3 files worth highlighting for reuse:
A self-contained dictionary of roughly 300 color remapping rules that translate GitHub's light UI palette into dark CSS custom-property values. It is the core transformation data for the userstyle, and the pattern of expressing theme changes as a declarative mapping table can be reused by any CSS retheming pipeline with minimal adaptation.
A representative syntax-highlighting theme that uses a shared contract of --ghd-code-background and --ghd-code-color custom properties and maps GitHub's .pl-* syntax classes to themed colors. Because all themes follow the same variable-based interface, this file is portable to other code-rendering contexts and demonstrates a clean multi-theme architecture.
Small shared utilities for cross-platform file writing, glob resolution, and Chrome version detection used to build a realistic User-Agent for fetching live CSS. It is minimally coupled and could be lifted into another Node-based build or scraping project as-is.