This is a simple npm package wrapper around Primer's github-vscode-theme project to make its built theme data available via npm.
Primer's project is not published to npm, and requires a build step to create the theme json files.
This package uses GitHub Actions to auto build Primer's latest release and publish the new theme files to npm. It started at v4.1.1, which was Primer's latest release when this package was created.
npm i -S github-vscode-themes
const darkDimmed = require('github-vscode-themes').darkDimmed;
// Or
import { darkDimmed } from 'github-vscode-themes';
console.log(darkDimmed);
// Logs an object, see ./dist for details
Primer's project currently provides 9 different themes, which are available in this package via the following property names:
dark
darkColorblind
darkDefault
darkDimmed
darkHighContrast
light
lightColorblind
lightDefault
lightHighContrast
Open a PR!
- Update SwaggerUI for GitHub Pages example at peter-evans/create-pull-request
- How do I update a single value in a json document using jq?
- jq Play
- https://keepachangelog.com/en/1.0.0/
- Append text to a file using sed
- How to use sed to replace only the first occurrence in a file?
- GNU sed REPL
- How can I strip first X characters from string using sed?
- How do I fix “sed: illegal option — r” in macOS Sierra Android build?
- Jq to replace text directly on file (like sed -i)
- Grabbing the first [x] characters for a string from a pipe
- sed Manual
- How to replace paired square brackets with other syntax with sed?
- sed replace ' with '
- Push a commit using the built-in token
- GitHub Actions to securely publish npm packages
Brian Zelip, https://zelip.me
MIT