shiki-themes
TypeScript icon, indicating that this package has built-in type declarations

0.2.7 • Public • Published

shiki-themes

Collections

Good ones

Literal Values

export type Theme = 
  | 'dark-plus'
  | 'github-dark'
  | 'github-light'
  | 'light-plus'
  | 'material-theme-darker'
  | 'material-theme-default'
  | 'material-theme-lighter'
  | 'material-theme-ocean'
  | 'material-theme-palenight'
  | 'min-dark'
  | 'min-light'
  | 'monokai'
  | 'nord'
  | 'slack-theme-dark-mode'
  | 'slack-theme-ochin'
  | 'solarized-dark'
  | 'solarized-light'

You can preview some of these themes on https://vscodethemes.com/.

Yours

const shiki = require('shiki')
 
const t = shiki.loadTheme('./my-theme.json')
 
shiki.getHighlighter({
  theme: t
})

Add

First, please open an issue to discuss including a new theme.

Here are the places you need to change:

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i shiki-themes

    Weekly Downloads

    1,605

    Version

    0.2.7

    License

    MIT

    Unpacked Size

    514 kB

    Total Files

    37

    Last publish

    Collaborators

    • orta
    • octref