Skip to content

brianzelip/github-vscode-themes

Repository files navigation

github-vscode-themes

GitHub Actions npm

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.

Install

npm i -S github-vscode-themes

Use

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:

  1. dark
  2. darkColorblind
  3. darkDefault
  4. darkDimmed
  5. darkHighContrast
  6. light
  7. lightColorblind
  8. lightDefault
  9. lightHighContrast

Contributing

Open a PR!

References

Author

Brian Zelip, https://zelip.me

License

MIT

About

npm package wrapper around Primer's (unpublished) github-vscode-theme.

Resources

License

Stars

Watchers

Forks

Packages

No packages published