ZOYKU火线榜
ZOYKU · 火线榜 · 仓库档案

StylishThemes/GitHub-Dark

StylishThemes/GitHub-Dark open-source repository on GitHub

BSD-2-Clause稳定维护中 · 12天前提交
最好成绩
#1
里程碑
技术文档在 GitHub 打开
星标
10k
Fork
640
Issue
15
每日新增 Star
—
天站龄
8d
里程碑 #1
6 维全景战力雷达

项目全维形态与战力诊断

带入多仓横向对决 ->
战力定位形态
专注型极客利刃
在细分赛道具备鲜明的技术特色与清晰的定位边界
综合战力
65
/ 100
近 7 天星标净增
0
生态衍生率
6.4%

累计 Star 走势

里程碑:距 10k 还差 1 星+9 (8d)
2026-10-29: 10k
每日新增 Star
Max: +3 / day

名次走势

最好成绩: #1
2026-11-09: #1 on milestone
#1#6#10

项目文档

8 章节全屏文档台

githubdark-logo
Version Stars Forks

Your eyes will :heart: you.

Preview of GitHub Dark

Installation

  1. Install Stylus for Firefox, Chrome or Cascadea for Safari.
  2. Install github-dark.user.css.
  3. Set GitHub itself to dark mode, the style builds on GitHub's dark theme.

For GitHub Enterprise, add domain("github.example.com") to both GitHub @-moz-document rules in the installed style. Extensions that use GitHub's CSS variables, like Refined GitHub, follow the theme automatically.

Options

Change these in the style's settings, in Stylus via the gear icon next to the style.

  • Base color: color of links and highlights.
  • Background color: page color behind the background image.
  • Background: Cross-Hatch, Uniform Tile, Random Tile, None, or Custom to use the image from Custom Background.
  • Background image type: tile the image, or scale it to fit the window.
  • Background image attachment: scroll the image with the page, or keep it fixed.
  • GitHub syntax theme: colors code views, diffs and markdown.
  • CodeMirror syntax theme: colors the file and gist editors.
  • Jupyter syntax theme: colors notebook previews.
  • Code Tab size: width of tabs in code, 2, 4 or 8.
  • Unrounded labels and avatars: enabled by default, gives labels, counters, state badges, topics and avatars slightly rounded corners instead of pill and circle shapes.

Custom Background

Set Background to Custom and Custom Background to an image wrapped in url(), like url(https://github.com/user-attachments/assets/…), a bare URL won't work. GitHub's Content Security Policy only allows images from github.com, *.githubusercontent.com and data: URIs, so use one of these:

  1. Drag the image into any GitHub comment box and copy the uploaded URL, there's no need to submit the comment.
  2. Commit it to a public repository and use its raw.githubusercontent.com URL.
  3. Inline a small image as a base64 data: URI.

Syntax Themes

Every theme is available for all three syntax theme options. The preview shows the GitHub syntax themes.

GitHub syntax themes

Styled Sites

Additional Userstyles

Development

Edit github-dark.user.css, there is no build step. It overrides GitHub's Primer CSS variables, plus a few rules with stable selectors for things variables can't reach. Prefer a variable over a rule and never use GitHub's hashed class names.

Run make install to test it in Stylus and make lint to lint it. Release with make patch, make minor or make major, which bump the version of all styles, then commit, tag and push.

开源维护者外链工坊

嵌入 GitHub 官方 README 徽章

嵌入矢量徽章为您的仓库提供实时火线榜成绩与技术文档直达外链,自动沉淀权威权重。

实时预览240 x 64 px SVG
GitHub Dark ThemeGitHub Hot Rank - StylishThemes/GitHub-Dark Dark Preview
GitHub Light ThemeGitHub Hot Rank - StylishThemes/GitHub-Dark Light Preview
GitHub README <picture> (Auto Dark/Light)
<a href="https://git.zoyku.com/zh/repo/StylishThemes/GitHub-Dark" target="_blank" rel="noopener noreferrer">
  <picture>
    <source media="(prefers-color-scheme: dark)" srcset="https://git.zoyku.com/api/badge/card/StylishThemes/GitHub-Dark?theme=dark&lang=zh" />
    <img alt="GitHub Hot Rank - StylishThemes/GitHub-Dark" src="https://git.zoyku.com/api/badge/card/StylishThemes/GitHub-Dark?theme=light&lang=zh" height="64" />
  </picture>
</a>