|
26 | 26 | --img-bg: radial-gradient(circle, #0d1117 0%, #161b22 100%); /* Darker gradient for images */ |
27 | 27 | --shimmer-bg: linear-gradient( |
28 | 28 | 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% |
32 | 32 | ); |
33 | 33 |
|
34 | 34 | /* Sidebar */ |
|
41 | 41 | --sidebar-hover-bg: #161b22; /* Slightly lighter hover state */ |
42 | 42 | --sidebar-btn-bg: #21262d; /* Dark gray for sidebar buttons */ |
43 | 43 | --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 */ |
45 | 45 |
|
46 | 46 | /* 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 */ |
48 | 48 | --topbar-text-color: var(--text-color); /* Matches body text */ |
49 | 49 | --search-border-color: #30363d; /* Dark gray for search borders */ |
50 | 50 | --search-icon-color: #6e7681; /* Muted gray for icons */ |
|
67 | 67 | --btn-share-hover-color: #c9d1d9; /* Light gray for hover */ |
68 | 68 | --card-bg: #161b22; /* Dark gray for cards */ |
69 | 69 | --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 | + |
72 | 73 | --kbd-wrap-color: #6e7681; /* Muted gray for keyboard input wrap */ |
73 | 74 | --kbd-text-color: #e6edf3; /* Near-white for keyboard text */ |
74 | 75 | --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 */ |
77 | 78 | --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 */ |
79 | 80 | --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 */ |
81 | 82 | --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 */ |
83 | 84 | --prompt-danger-icon-color: #ef4444; /* Bright red for icons */ |
84 | 85 |
|
85 | 86 | /* Tags */ |
|
89 | 90 | --search-tag-bg: #161b22; /* Dark gray for search tags */ |
90 | 91 |
|
91 | 92 | /* Categories */ |
92 | | - --categories-border: rgba(48, 54, 61, 0.5); /* Semi-transparent gray */ |
| 93 | + --categories-border: rgb(48 54 61 / 50%); /* Semi-transparent gray */ |
93 | 94 | --categories-hover-bg: #21262d; /* Dark gray for hover */ |
94 | 95 | --categories-icon-hover-color: #ffffff; /* White for icon hovers */ |
95 | 96 |
|
|
103 | 104 | --highlight-bg-color: #0d1117; /* Deep black for code background */ |
104 | 105 | --highlighter-rouge-color: #c9d1d9; /* Light gray for code text */ |
105 | 106 | --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 */ |
107 | 108 | --code-color: #c9d1d9; /* Light gray for code */ |
108 | 109 | --code-header-text-color: #8b949e; /* Muted gray for code headers */ |
109 | 110 | --code-header-muted-color: #21262d; /* Dark gray for muted headers */ |
|
0 commit comments