mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-24 05:07:06 +08:00
feat: add dark mode switch & export
This commit is contained in:
+3
-2
@@ -2,6 +2,7 @@
|
||||
-webkit-overflow-scrolling: touch;
|
||||
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
|
||||
box-sizing: border-box;
|
||||
transition: all 0.1s;
|
||||
}
|
||||
html,
|
||||
body,
|
||||
@@ -144,7 +145,7 @@ button,
|
||||
select,
|
||||
keygen,
|
||||
legend {
|
||||
color: var(--affine-primary-color);
|
||||
color: var(--page-text-color);
|
||||
outline: 0;
|
||||
font-size: 18px;
|
||||
line-height: 1.5;
|
||||
@@ -155,7 +156,7 @@ body {
|
||||
}
|
||||
a,
|
||||
a:hover {
|
||||
color: var(--affine-primary-color);
|
||||
color: var(--page-text-color);
|
||||
}
|
||||
|
||||
input {
|
||||
|
||||
+20
-15
@@ -1,17 +1,22 @@
|
||||
:root {
|
||||
--affine-primary-color: #3a4c5c;
|
||||
--affine-muted-color: #a6abb7;
|
||||
--affine-highlight-color: #6880ff;
|
||||
--affine-placeholder-color: #c7c7c7;
|
||||
--affine-selected-color: rgba(104, 128, 255, 0.1);
|
||||
/*:root {*/
|
||||
/* --affine-primary-color: #3a4c5c;*/
|
||||
/* --affine-muted-color: #a6abb7;*/
|
||||
/* --affine-highlight-color: #6880ff;*/
|
||||
/* --affine-placeholder-color: #c7c7c7;*/
|
||||
/* --affine-selected-color: rgba(104, 128, 255, 0.1);*/
|
||||
|
||||
--affine-font-family: Avenir Next, apple-system, BlinkMacSystemFont,
|
||||
Helvetica Neue, Tahoma, PingFang SC, Microsoft Yahei, Arial,
|
||||
Hiragino Sans GB, sans-serif, Apple Color Emoji, Segoe UI Emoji,
|
||||
Segoe UI Symbol, Noto Color Emoji;
|
||||
/* --affine-font-family: Avenir Next, apple-system, BlinkMacSystemFont,*/
|
||||
/* Helvetica Neue, Tahoma, PingFang SC, Microsoft Yahei, Arial,*/
|
||||
/* Hiragino Sans GB, sans-serif, Apple Color Emoji, Segoe UI Emoji,*/
|
||||
/* Segoe UI Symbol, Noto Color Emoji;*/
|
||||
|
||||
--affine-font-family2: Roboto Mono, apple-system, BlinkMacSystemFont,
|
||||
Helvetica Neue, Tahoma, PingFang SC, Microsoft Yahei, Arial,
|
||||
Hiragino Sans GB, sans-serif, Apple Color Emoji, Segoe UI Emoji,
|
||||
Segoe UI Symbol, Noto Color Emoji;
|
||||
}
|
||||
/* --affine-font-family2: Roboto Mono, apple-system, BlinkMacSystemFont,*/
|
||||
/* Helvetica Neue, Tahoma, PingFang SC, Microsoft Yahei, Arial,*/
|
||||
/* Hiragino Sans GB, sans-serif, Apple Color Emoji, Segoe UI Emoji,*/
|
||||
/* Segoe UI Symbol, Noto Color Emoji;*/
|
||||
/*}*/
|
||||
|
||||
/*:root {*/
|
||||
/* --page-background-color: #fff;*/
|
||||
/* --page-text-color: #3a4c5c;*/
|
||||
/*}*/
|
||||
|
||||
Reference in New Issue
Block a user