BREAKING CHANGE: unify light mode identifier (#4652)

* chore: unify light mode identifier

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>

Co-authored-by: charlie <xyhp915@qq.com>
Co-authored-by: Andelf <andelf@gmail.com>
This commit is contained in:
Yue Yang
2022-03-25 13:14:52 +08:00
committed by GitHub
parent 5997155d15
commit 1987d7dc79
8 changed files with 32 additions and 28 deletions

View File

@@ -92,7 +92,11 @@ html[data-theme='dark'] {
--color-level-6: #3a7e8e;
}
/* You should always use .light-theme for light mode, the .white-theme is just for backword compatibility.
See: https://github.com/logseq/logseq/pull/4652. */
.white-theme,
.light-theme,
html[data-theme='light'] {
--ls-primary-background-color: #ffffff;
--ls-secondary-background-color: #f7f7f7;