-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
65 additions
and
44 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { defineShikiSetup } from '@slidev/types' | ||
|
||
export default defineShikiSetup(async({ loadTheme }) => { | ||
return { | ||
theme: { | ||
dark: await loadTheme(require.resolve('theme-vitesse/themes/vitesse-dark.json')), | ||
light: await loadTheme(require.resolve('theme-vitesse/themes/vitesse-light.json')), | ||
}, | ||
} | ||
}) |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { resolve } from 'path' | ||
import { defineWindiSetup } from '@slidev/types' | ||
|
||
export default defineWindiSetup(() => ({ | ||
extract: { | ||
include: [ | ||
resolve(__dirname, '**/*.{vue,ts}'), | ||
], | ||
}, | ||
shortcuts: { | ||
// custom the default background | ||
'bg-main': 'bg-white text-[#181818] dark:(bg-[#121212] text-[#ddd])', | ||
}, | ||
theme: { | ||
extend: { | ||
// fonts can be replaced here, remember to update the web font links in `index.html` | ||
fontFamily: { | ||
sans: '"Nunito Sans", ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"', | ||
mono: '"Fira Code", monospace', | ||
}, | ||
}, | ||
}, | ||
})) |
This file was deleted.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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