Skip to content

Commit 8d1eee8

Browse files
committed
chore: fix colorscheme
1 parent 3ba0922 commit 8d1eee8

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

_sass/themes/_dark.scss

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
--img-bg: radial-gradient(circle, #0d1117 0%, #161b22 100%); /* Darker gradient for images */
2727
--shimmer-bg: linear-gradient(
2828
90deg,
29-
rgba(255, 255, 255, 0) 0%,
30-
rgba(88, 166, 255, 0.2) 50%, /* Subtle blue shimmer */
31-
rgba(255, 255, 255, 0) 100%
29+
rgb(255 255 255 / 0%) 0%,
30+
rgb(88 166 255 / 20%) 50%, /* Subtle blue shimmer */
31+
rgb(255 255 255 / 0%) 100%
3232
);
3333

3434
/* Sidebar */
@@ -41,10 +41,10 @@
4141
--sidebar-hover-bg: #161b22; /* Slightly lighter hover state */
4242
--sidebar-btn-bg: #21262d; /* Dark gray for sidebar buttons */
4343
--sidebar-btn-color: #8b949e; /* Muted button text */
44-
--avatar-border-color: rgba(201, 209, 217, 0.9); /* Light gray for avatar borders */
44+
--avatar-border-color: rgb(201 209 217 / 90%); /* Light gray for avatar borders */
4545

4646
/* Topbar */
47-
--topbar-bg: rgba(13, 17, 23, 0.8); /* Semi-transparent deep black */
47+
--topbar-bg: rgb(13 17 23 / 80%); /* Semi-transparent deep black */
4848
--topbar-text-color: var(--text-color); /* Matches body text */
4949
--search-border-color: #30363d; /* Dark gray for search borders */
5050
--search-icon-color: #6e7681; /* Muted gray for icons */
@@ -67,19 +67,20 @@
6767
--btn-share-hover-color: #c9d1d9; /* Light gray for hover */
6868
--card-bg: #161b22; /* Dark gray for cards */
6969
--card-hover-bg: #21262d; /* Slightly lighter for hover */
70-
--card-shadow: rgba(0, 0, 0, 0.5) 0 6px 18px 0,
71-
rgba(201, 209, 217, 0.2) 0 0 0 1px; /* Darker shadow */
70+
--card-shadow: rgb(0 0 0 / 50%) 0 6px 18px 0,
71+
rgb(201 209 217 / 20%) 0 0 0 1px; /* Darker shadow */
72+
7273
--kbd-wrap-color: #6e7681; /* Muted gray for keyboard input wrap */
7374
--kbd-text-color: #e6edf3; /* Near-white for keyboard text */
7475
--kbd-bg-color: #0d1117; /* Matches main background */
75-
--prompt-text-color: rgba(201, 209, 217, 0.75); /* Muted light gray */
76-
--prompt-tip-bg: rgba(22, 101, 52, 0.7); /* Dark green for tips */
76+
--prompt-text-color: rgb(201 209 217 / 75%); /* Muted light gray */
77+
--prompt-tip-bg: rgb(22 101 52 / 70%); /* Dark green for tips */
7778
--prompt-tip-icon-color: #22c55e; /* Bright green for icons */
78-
--prompt-info-bg: rgba(29, 78, 216, 0.7); /* Dark blue for info */
79+
--prompt-info-bg: rgb(29 78 216 / 70%); /* Dark blue for info */
7980
--prompt-info-icon-color: #3b82f6; /* Bright blue for icons */
80-
--prompt-warning-bg: rgba(124, 45, 18, 0.7); /* Dark orange for warnings */
81+
--prompt-warning-bg: rgb(124 45 18 / 70%); /* Dark orange for warnings */
8182
--prompt-warning-icon-color: #f97316; /* Bright orange for icons */
82-
--prompt-danger-bg: rgba(153, 27, 27, 0.7); /* Dark red for danger */
83+
--prompt-danger-bg: rgb(153 27 27 / 70%); /* Dark red for danger */
8384
--prompt-danger-icon-color: #ef4444; /* Bright red for icons */
8485

8586
/* Tags */
@@ -89,7 +90,7 @@
8990
--search-tag-bg: #161b22; /* Dark gray for search tags */
9091

9192
/* Categories */
92-
--categories-border: rgba(48, 54, 61, 0.5); /* Semi-transparent gray */
93+
--categories-border: rgb(48 54 61 / 50%); /* Semi-transparent gray */
9394
--categories-hover-bg: #21262d; /* Dark gray for hover */
9495
--categories-icon-hover-color: #ffffff; /* White for icon hovers */
9596

@@ -103,7 +104,7 @@
103104
--highlight-bg-color: #0d1117; /* Deep black for code background */
104105
--highlighter-rouge-color: #c9d1d9; /* Light gray for code text */
105106
--highlight-lineno-color: #6e7681; /* Muted gray for line numbers */
106-
--inline-code-bg: rgba(255, 255, 255, 0.05); /* Subtle white for inline code */
107+
--inline-code-bg: rgb(255 255 255 / 5%); /* Subtle white for inline code */
107108
--code-color: #c9d1d9; /* Light gray for code */
108109
--code-header-text-color: #8b949e; /* Muted gray for code headers */
109110
--code-header-muted-color: #21262d; /* Dark gray for muted headers */

0 commit comments

Comments
 (0)