docs: add color-scheme to doc
this change will fix **Choose File** text color in input file
This commit is contained in:
parent
3a941e101e
commit
24c4cd85af
|
|
@ -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' }],
|
||||||
|
|
|
||||||
|
|
@ -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%;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user