mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-23 21:06:22 +08:00
This reverts commit e8cfc807ea.
This commit is contained in:
@@ -11,12 +11,8 @@ globalStyle('html', {
|
|||||||
vars: lightCssVariables,
|
vars: lightCssVariables,
|
||||||
});
|
});
|
||||||
|
|
||||||
globalStyle('html', {
|
globalStyle('html[data-theme="dark"]', {
|
||||||
'@media': {
|
vars: darkCssVariables,
|
||||||
'(prefers-color-scheme: dark)': {
|
|
||||||
vars: darkCssVariables,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
});
|
});
|
||||||
|
|
||||||
if (process.env.NODE_ENV === 'development') {
|
if (process.env.NODE_ENV === 'development') {
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="color-scheme" content="light dark" />
|
|
||||||
<meta
|
<meta
|
||||||
name="viewport"
|
name="viewport"
|
||||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||||
|
|||||||
Reference in New Issue
Block a user