-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: apply home dark mode #3062
Conversation
$buttonColor: var(--c-brand); | ||
$buttonHoverColor: var(--c-brand-light); | ||
$darkBackground: var(--c-bg-light); | ||
$darkBackgroundBorder: var(--c-border-dark); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When using var color, we can apply dark mode easily. All vars are defined in the following.
https://v2.vuepress.vuejs.org/reference/default-theme/styles.html#style-file
@krrrr38 nice work! And thank you for the contribution! could you add |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One comment prior to merge
9a093b3
to
a101303
Compare
d806a34
to
e9edbd2
Compare
* merge scss into index.scss * apply darkmode on docs Home using predefined var color * codeql/labeler github action for handling draft pr * labeler require pull_requiest_target
what
why
Doc top page doesn't apply dark mode correctly.
tests
references