github-vscode-themes

6.3.4 • Public • Published

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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i github-vscode-themes

      Weekly Downloads

      12

      Version

      6.3.4

      License

      MIT

      Unpacked Size

      167 kB

      Total Files

      14

      Last publish

      Collaborators

      • bzelip