1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 05:41:31 +00:00

fix: notch status bar doesn't match theme color (#918)

Resolves #918
This commit is contained in:
Cotes Chung
2023-03-17 01:17:06 +08:00
parent 3c7934abf0
commit 820ba62e9e
4 changed files with 23 additions and 22 deletions

View File

@@ -29,7 +29,9 @@ html {
}
body {
background: var(--body-bg);
background: var(--main-bg);
padding: env(safe-area-inset-top) env(safe-area-inset-right)
env(safe-area-inset-bottom) env(safe-area-inset-left);
color: var(--text-color);
-webkit-font-smoothing: antialiased;
font-family: 'Source Sans Pro', 'Microsoft Yahei', sans-serif;

View File

@@ -4,9 +4,8 @@
@mixin dark-scheme {
/* Framework color */
--body-bg: var(--main-bg);
--mask-bg: rgb(68, 69, 70);
--main-bg: rgb(27, 27, 30);
--mask-bg: rgb(68, 69, 70);
--main-border-color: rgb(44, 45, 45);
/* Common color */

View File

@@ -4,9 +4,8 @@
@mixin light-scheme {
/* Framework color */
--body-bg: #fafafa;
--mask-bg: #c1c3c5;
--main-bg: white;
--mask-bg: #c1c3c5;
--main-border-color: #f3f3f3;
/* Common color */