Light theme by default #3957
-
Hello, I'm having trouble making Vitepress use the light theme by default, but still allow the user to change the theme. Here is what I want:
Is this possible? |
Beta Was this translation helpful? Give feedback.
Answered by
brc-dd
Jun 12, 2024
Replies: 1 comment 4 replies
-
try this import { defineConfig } from 'vitepress'
export default defineConfig({
appearance: {
// @ts-expect-error not fully supported yet
initialValue: 'light'
}
}) |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
alexgleason
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
try this