Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5f7d833

Browse files
Fix bad lightmode colors
1 parent f24171b commit 5f7d833

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

‎src/styles/main.css

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,6 @@
1919
--clr-neutral-500: #3c3c3c;
2020
--clr-neutral-700: #2a2a2a;
2121
--clr-neutral-900: #1c1c1c;
22-
--clr-neutral-200-light: #1c1c1c;
23-
--clr-neutral-300-light: #2a2a2a;
24-
--clr-neutral-500-light: #b3b3b3;
25-
--clr-neutral-700-light: #e0e0e0;
26-
--clr-neutral-900-light: #ffffff;
2722

2823
--clr-accent: #00b4b8;
2924

@@ -66,13 +61,16 @@
6661
color 0.3s ease;
6762
}
6863

64+
/*------------------------------------*\
65+
#ACCESSIBILITY/THEMING
66+
\*------------------------------------*/
6967
[data-theme="light"] {
70-
--bg-primary:var(--clr-neutral-900-light);
71-
--bg-secondary:var(--clr-neutral-700-light);
72-
--text-primary:var(--clr-neutral-200-light);
73-
--text-secondary:var(--clr-neutral-300-light);
74-
--text-dark:var(--clr-neutral-900-light);
75-
--border-color:var(--clr-neutral-500-light);
68+
color-scheme:light;
69+
--clr-neutral-200:hsl(0,0%,10%);
70+
--clr-neutral-300:hsl(0,0%,30%);
71+
--clr-neutral-500:hsl(0,0%,85%);
72+
--clr-neutral-700:hsl(0,0%,95%);
73+
--clr-neutral-900:hsl(60,25%,98%);
7674
}
7775

7876
/*------------------------------------*\
@@ -452,6 +450,7 @@ abbr {
452450
.categories {
453451
display: grid;
454452
background-color: var(--bg-secondary);
453+
border: 1px solid var(--border-color);
455454
padding: 1.25rem;
456455
padding-bottom: 2rem;
457456
border-radius: var(--br-lg);

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /