| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A browser extension that lets you apply custom syntax highlighting themes to GitHub code blocks, gists, and Markdown snippets.
It works by injecting CSS overrides into GitHub’s existing syntax system and mapping theme values to GitHub’s internal token classes (.pl-*) and modern PrettyLights CSS variables.
GitHub has its own built-in syntax highlighting system.
This extension overrides it by:
In short:
You choose a theme → GitHub gets recolored
GitHub Syntax Themes can be installed on any Chromium-based browser (Chrome, Edge, Opera, Brave, Vivaldi, Arc, etc.) and Firefox.
Clone the repository and build it:
git clone https://github.com/calebephrem/github-syntax-themes.git
cd github-syntax-themes
npm install
# For chromium based browsers:
npm run build
# For firefox:
npm run build:firefoxAfter building, a production-ready extension will be generated inside the dist/ directory.
Open the extension management page for your browser:
| Browser | URL |
|---|---|
| Chrome | chrome://extensions |
| Edge | edge://extensions |
| Opera | opera://extensions |
| Brave | brave://extensions |
| Vivaldi | chrome://extensions |
| Arc | chrome://extensions |
| Firefox | about:addons |
For Chromium-based browsers:
Firefox users can skip this step.
Your selected theme will automatically be applied to:
When a new version is released:
Your saved theme preferences will remain intact.
You can remove the extension at any time from your browser's extension manager.
Removing the extension restores GitHub's default syntax highlighting immediately.
You can install GitHub Syntax Themes depending on your browser.
Themes are not bundled inside the extension.
Instead, they are pulled from a separate theme repository:
👉 https://github.com/calebephrem/github-syntax-theme-store
Each theme is defined like:
syntaxHighlighting: {
keyword: "#ff79c6",
string: "#f1fa8c",
comment: "#6272a4",
functionName: "#50fa7b"
}The extension automatically converts these values into GitHub-compatible styles.
Two styling layers are applied:
.pl-k {
color: #ff79c6 !important;
}:root {
--color-prettylights-syntax-keyword: #ff79c6 !important;
}This ensures compatibility across both old and new GitHub UI systems.
Install dependencies:
npm installRun development build:
npm run devBuild extension:
npm run buildWe welcome contributions to both the browser extension and the theme collection. If you’d like to add a new theme or improve an existing one, please submit it to the dedicated theme repository:
👉 https://github.com/calebephrem/github-syntax-theme-store
MIT © Caleb Ephrem
| Back | FazBrowse Home | New Git URL |