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

refactor(ui): optimize the color scheme

This commit is contained in:
Cotes Chung
2023-09-05 00:34:35 +08:00
parent 229c2a2e2b
commit 414b8f97ce
4 changed files with 27 additions and 21 deletions

View File

@@ -696,6 +696,7 @@ $btn-mb: 0.5rem;
width: $sidebar-width;
z-index: 99;
background: var(--sidebar-bg);
border-right: 1px solid var(--sidebar-border-color);
/* Hide scrollbar for Chrome, Safari and Opera */
&::-webkit-scrollbar {
@@ -835,6 +836,7 @@ $btn-mb: 0.5rem;
display: flex;
align-items: center;
justify-content: center;
box-shadow: var(--sidebar-border-color) 0 0 0 1px;
&:hover {
background-color: var(--sidebar-hover-bg);
@@ -868,7 +870,7 @@ $btn-mb: 0.5rem;
@extend %no-cursor;
@include ml-mr(calc(($btn-gap - $btn-border-width) / 2));
background-color: var(--sidebar-muted-color);
background-color: var(--sidebar-btn-color);
content: '';
width: $btn-border-width;
height: $btn-border-width;