This repository has been archived by the owner on Feb 7, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: auto module
default
resolution
- Loading branch information
Showing
8 changed files
with
208 additions
and
207 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
src/vendor/languages | ||
src/vendor | ||
onig.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,33 @@ | ||
import type { ThemeRegisterationRaw } from '../types' | ||
|
||
export const bundledThemes = { | ||
'css-variables': () => import('shiki/themes/css-variables.json').then(r => r.default as unknown as ThemeRegisterationRaw), | ||
'dark-plus': () => import('shiki/themes/dark-plus.json').then(r => r.default as unknown as ThemeRegisterationRaw), | ||
'dracula-soft': () => import('shiki/themes/dracula-soft.json').then(r => r.default as unknown as ThemeRegisterationRaw), | ||
'dracula': () => import('shiki/themes/dracula.json').then(r => r.default as unknown as ThemeRegisterationRaw), | ||
'github-dark-dimmed': () => import('shiki/themes/github-dark-dimmed.json').then(r => r.default as unknown as ThemeRegisterationRaw), | ||
'github-dark': () => import('shiki/themes/github-dark.json').then(r => r.default as unknown as ThemeRegisterationRaw), | ||
'github-light': () => import('shiki/themes/github-light.json').then(r => r.default as unknown as ThemeRegisterationRaw), | ||
'hc_light': () => import('shiki/themes/hc_light.json').then(r => r.default as unknown as ThemeRegisterationRaw), | ||
'light-plus': () => import('shiki/themes/light-plus.json').then(r => r.default as unknown as ThemeRegisterationRaw), | ||
'material-theme-darker': () => import('shiki/themes/material-theme-darker.json').then(r => r.default as unknown as ThemeRegisterationRaw), | ||
'material-theme-lighter': () => import('shiki/themes/material-theme-lighter.json').then(r => r.default as unknown as ThemeRegisterationRaw), | ||
'material-theme-ocean': () => import('shiki/themes/material-theme-ocean.json').then(r => r.default as unknown as ThemeRegisterationRaw), | ||
'material-theme-palenight': () => import('shiki/themes/material-theme-palenight.json').then(r => r.default as unknown as ThemeRegisterationRaw), | ||
'material-theme': () => import('shiki/themes/material-theme.json').then(r => r.default as unknown as ThemeRegisterationRaw), | ||
'min-dark': () => import('shiki/themes/min-dark.json').then(r => r.default as unknown as ThemeRegisterationRaw), | ||
'min-light': () => import('shiki/themes/min-light.json').then(r => r.default as unknown as ThemeRegisterationRaw), | ||
'monokai': () => import('shiki/themes/monokai.json').then(r => r.default as unknown as ThemeRegisterationRaw), | ||
'nord': () => import('shiki/themes/nord.json').then(r => r.default as unknown as ThemeRegisterationRaw), | ||
'one-dark-pro': () => import('shiki/themes/one-dark-pro.json').then(r => r.default as unknown as ThemeRegisterationRaw), | ||
'poimandres': () => import('shiki/themes/poimandres.json').then(r => r.default as unknown as ThemeRegisterationRaw), | ||
'rose-pine-dawn': () => import('shiki/themes/rose-pine-dawn.json').then(r => r.default as unknown as ThemeRegisterationRaw), | ||
'rose-pine-moon': () => import('shiki/themes/rose-pine-moon.json').then(r => r.default as unknown as ThemeRegisterationRaw), | ||
'rose-pine': () => import('shiki/themes/rose-pine.json').then(r => r.default as unknown as ThemeRegisterationRaw), | ||
'slack-dark': () => import('shiki/themes/slack-dark.json').then(r => r.default as unknown as ThemeRegisterationRaw), | ||
'slack-ochin': () => import('shiki/themes/slack-ochin.json').then(r => r.default as unknown as ThemeRegisterationRaw), | ||
'solarized-dark': () => import('shiki/themes/solarized-dark.json').then(r => r.default as unknown as ThemeRegisterationRaw), | ||
'solarized-light': () => import('shiki/themes/solarized-light.json').then(r => r.default as unknown as ThemeRegisterationRaw), | ||
'vitesse-dark': () => import('shiki/themes/vitesse-dark.json').then(r => r.default as unknown as ThemeRegisterationRaw), | ||
'vitesse-light': () => import('shiki/themes/vitesse-light.json').then(r => r.default as unknown as ThemeRegisterationRaw), | ||
} | ||
"css-variables": () => import('shiki/themes/css-variables.json') as unknown as Promise<{ default: ThemeRegisterationRaw }>, | ||
"dark-plus": () => import('shiki/themes/dark-plus.json') as unknown as Promise<{ default: ThemeRegisterationRaw }>, | ||
"dracula-soft": () => import('shiki/themes/dracula-soft.json') as unknown as Promise<{ default: ThemeRegisterationRaw }>, | ||
"dracula": () => import('shiki/themes/dracula.json') as unknown as Promise<{ default: ThemeRegisterationRaw }>, | ||
"github-dark-dimmed": () => import('shiki/themes/github-dark-dimmed.json') as unknown as Promise<{ default: ThemeRegisterationRaw }>, | ||
"github-dark": () => import('shiki/themes/github-dark.json') as unknown as Promise<{ default: ThemeRegisterationRaw }>, | ||
"github-light": () => import('shiki/themes/github-light.json') as unknown as Promise<{ default: ThemeRegisterationRaw }>, | ||
"hc_light": () => import('shiki/themes/hc_light.json') as unknown as Promise<{ default: ThemeRegisterationRaw }>, | ||
"light-plus": () => import('shiki/themes/light-plus.json') as unknown as Promise<{ default: ThemeRegisterationRaw }>, | ||
"material-theme-darker": () => import('shiki/themes/material-theme-darker.json') as unknown as Promise<{ default: ThemeRegisterationRaw }>, | ||
"material-theme-lighter": () => import('shiki/themes/material-theme-lighter.json') as unknown as Promise<{ default: ThemeRegisterationRaw }>, | ||
"material-theme-ocean": () => import('shiki/themes/material-theme-ocean.json') as unknown as Promise<{ default: ThemeRegisterationRaw }>, | ||
"material-theme-palenight": () => import('shiki/themes/material-theme-palenight.json') as unknown as Promise<{ default: ThemeRegisterationRaw }>, | ||
"material-theme": () => import('shiki/themes/material-theme.json') as unknown as Promise<{ default: ThemeRegisterationRaw }>, | ||
"min-dark": () => import('shiki/themes/min-dark.json') as unknown as Promise<{ default: ThemeRegisterationRaw }>, | ||
"min-light": () => import('shiki/themes/min-light.json') as unknown as Promise<{ default: ThemeRegisterationRaw }>, | ||
"monokai": () => import('shiki/themes/monokai.json') as unknown as Promise<{ default: ThemeRegisterationRaw }>, | ||
"nord": () => import('shiki/themes/nord.json') as unknown as Promise<{ default: ThemeRegisterationRaw }>, | ||
"one-dark-pro": () => import('shiki/themes/one-dark-pro.json') as unknown as Promise<{ default: ThemeRegisterationRaw }>, | ||
"poimandres": () => import('shiki/themes/poimandres.json') as unknown as Promise<{ default: ThemeRegisterationRaw }>, | ||
"rose-pine-dawn": () => import('shiki/themes/rose-pine-dawn.json') as unknown as Promise<{ default: ThemeRegisterationRaw }>, | ||
"rose-pine-moon": () => import('shiki/themes/rose-pine-moon.json') as unknown as Promise<{ default: ThemeRegisterationRaw }>, | ||
"rose-pine": () => import('shiki/themes/rose-pine.json') as unknown as Promise<{ default: ThemeRegisterationRaw }>, | ||
"slack-dark": () => import('shiki/themes/slack-dark.json') as unknown as Promise<{ default: ThemeRegisterationRaw }>, | ||
"slack-ochin": () => import('shiki/themes/slack-ochin.json') as unknown as Promise<{ default: ThemeRegisterationRaw }>, | ||
"solarized-dark": () => import('shiki/themes/solarized-dark.json') as unknown as Promise<{ default: ThemeRegisterationRaw }>, | ||
"solarized-light": () => import('shiki/themes/solarized-light.json') as unknown as Promise<{ default: ThemeRegisterationRaw }>, | ||
"vitesse-dark": () => import('shiki/themes/vitesse-dark.json') as unknown as Promise<{ default: ThemeRegisterationRaw }>, | ||
"vitesse-light": () => import('shiki/themes/vitesse-light.json') as unknown as Promise<{ default: ThemeRegisterationRaw }> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters