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

0.1.12 • Public • Published

shiki-themes

Collections

Good ones

Literal Values

export type TVSCode =
  | 'abyss'
  | 'dark_plus'
  | 'dark_vs'
  | 'hc_black'
  | 'kimbie_dark'
  | 'light_plus'
  | 'light_vs'
  | 'monokai'
  | 'monokai_dimmed'
  | 'quietlight'
  | 'red'
  | 'solarized_dark'
  | 'solarized_light'

export type TMaterial =
  | 'Material-Theme-Darker-High-Contrast'
  | 'Material-Theme-Darker'
  | 'Material-Theme-Default-High-Contrast'
  | 'Material-Theme-Default'
  | 'Material-Theme-Lighter-High-Contrast'
  | 'Material-Theme-Lighter'
  | 'Material-Theme-Ocean-High-Contrast'
  | 'Material-Theme-Ocean'
  | 'Material-Theme-Palenight-High-Contrast'
  | 'Material-Theme-Palenight'

export type TNice =
  | 'nord'
  | 'min-light'
  | 'min-dark'
  | 'white'
  | 'white-night'
  | 'zeit'

export type TTheme = TVSCode | TMaterial | TNice

Yours

const shiki  = require('shiki')

const t = shiki.loadTheme('./my-theme.json')

shiki.getHighlighter({
  theme: t
})

Readme

Keywords

Package Sidebar

Install

npm i @mgtd/shiki-themes

Weekly Downloads

0

Version

0.1.12

License

MIT

Unpacked Size

698 kB

Total Files

50

Last publish

Collaborators

  • margatroid