Skip to content

Latest commit

 

History

History
57 lines (40 loc) · 1.15 KB

README.md

File metadata and controls

57 lines (40 loc) · 1.15 KB

shiki-themes

Collections

Good ones

Literal Values

export type TVSCode =
  | 'dark-plus'
  | 'light-plus'
  | 'monokai'
  | 'solarized-dark'
  | 'solarized-light'

export type TMaterial =
  | 'material-theme-darker'
  | 'material-theme-default'
  | 'material-theme-lighter'
  | 'material-theme-ocean'
  | 'material-theme-palenight'

export type TNice = 'nord' | 'min-light' | 'min-dark'

export type TTheme = TVSCode | TMaterial | TNice

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: