mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-15 16:51:37 +00:00
fix sandpack theme handle
This commit is contained in:
9
lib/consts.ts
Normal file
9
lib/consts.ts
Normal file
@ -0,0 +1,9 @@
|
||||
export const MEDIA = '(prefers-color-scheme: dark)';
|
||||
export const THEME_CATPUCCIN_MAP = {
|
||||
latte: 'light' as const,
|
||||
mocha: 'dark' as const,
|
||||
};
|
||||
export const THEME_MAP = {
|
||||
light: 'latte' as const,
|
||||
dark: 'mocha' as const,
|
||||
};
|
Reference in New Issue
Block a user