docs: add color-scheme to doc

this change will fix **Choose File** text color in input file
This commit is contained in:
sadeghbarati 2023-11-29 12:51:31 +03:30
parent 3a941e101e
commit 24c4cd85af
2 changed files with 11 additions and 0 deletions

View File

@ -17,6 +17,9 @@ export default defineConfig({
['link', { rel: 'apple-touch-icon', href: '/apple-touch-icon.png' }], ['link', { rel: 'apple-touch-icon', href: '/apple-touch-icon.png' }],
['link', { rel: 'manifest', href: '/site.webmanifest' }], ['link', { rel: 'manifest', href: '/site.webmanifest' }],
['meta', { name: 'theme-color', media: '(prefers-color-scheme: light)', content: 'white' }],
['meta', { name: 'theme-color', media: '(prefers-color-scheme: dark)', content: 'black' }],
['meta', { name: 'creator', content: 'radix-vue' }], ['meta', { name: 'creator', content: 'radix-vue' }],
['meta', { name: 'theme-color', content: '#41b883' }], ['meta', { name: 'theme-color', content: '#41b883' }],
['meta', { name: 'og:type', content: 'website' }], ['meta', { name: 'og:type', content: 'website' }],

View File

@ -1,3 +1,11 @@
html {
color-scheme: light;
}
html.dark {
color-scheme: dark;
}
.theme-zinc { .theme-zinc {
--background: 0 0% 100%; --background: 0 0% 100%;
--foreground: 240 10% 3.9%; --foreground: 240 10% 3.9%;