Skip to content

Commit c491c1a

Browse files
committed
Fix page switcher in dark mode
1 parent 301f06a commit c491c1a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

index.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/assets/css/styles.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
width: 100%;
2424
margin-inline-start: var(--menu-width);
2525
height: 40px;
26-
background: #f6f6f6;
27-
border-bottom: 1px solid var(--color-border);
26+
background: light-dark(#f6f6f6, var(--table-color-th-back));
27+
border-bottom: 1px solid light-dark(var(--color-border), rgba(255, 255, 255, .1));
2828
display: flex;
2929
align-items: center;
3030
font-size: 0.75rem;
@@ -48,10 +48,10 @@
4848
}
4949
}
5050
a {
51-
border-bottom: 1px solid rgba(0, 0, 0, .2);
52-
transition: border-color .2s ease;
51+
border-bottom: 1px solid light-dark(rgba(0, 0, 0, .2), rgba(255, 255, 255, .4));
52+
transition: border-color .1s ease;
5353
&:hover {
54-
border-color: black;
54+
border-color: light-dark(black, white);
5555
}
5656
}
5757
}

0 commit comments

Comments
 (0)