|
19 | 19 | <!-- Docsify Theme --> |
20 | 20 | <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsify@4/lib/themes/vue.css"> |
21 | 21 |
|
22 | | - <!-- Custom Styles - Blue Theme + JetBrains Mono --> |
23 | 22 | <style> |
24 | 23 | :root { |
25 | 24 | --theme-color: #2563eb; |
26 | 25 | --theme-color-light: #3b82f6; |
27 | 26 | --theme-color-dark: #1d4ed8; |
| 27 | + --grey-50: #f9fafb; |
| 28 | + --grey-100: #f3f4f6; |
| 29 | + --grey-200: #e5e7eb; |
| 30 | + --grey-300: #d1d5db; |
| 31 | + --grey-400: #9ca3af; |
| 32 | + --grey-500: #6b7280; |
| 33 | + --grey-600: #4b5563; |
| 34 | + --grey-700: #374151; |
| 35 | + --grey-800: #1f2937; |
| 36 | + --grey-900: #111827; |
28 | 37 | --theme-bg: #ffffff; |
29 | | - --theme-bg-secondary: #f8fafc; |
30 | | - --theme-text: #1e293b; |
31 | | - --theme-text-light: #64748b; |
| 38 | + --theme-bg-secondary: var(--grey-50); |
| 39 | + --theme-text: var(--grey-900); |
| 40 | + --theme-text-light: var(--grey-500); |
32 | 41 | --code-font: 'JetBrains Mono', monospace; |
33 | 42 | --content-font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; |
34 | 43 | } |
|
45 | 54 |
|
46 | 55 | /* Sidebar */ |
47 | 56 | .sidebar { |
48 | | - background: var(--theme-bg-secondary); |
49 | | - border-right: 1px solid #e2e8f0; |
| 57 | + background: var(--grey-100); |
| 58 | + border-right: 1px solid var(--grey-200); |
50 | 59 | } |
51 | 60 |
|
52 | 61 | .sidebar-nav { |
|
99 | 108 | .markdown-section h2 { |
100 | 109 | font-size: 1.75rem; |
101 | 110 | margin-top: 2.5rem; |
102 | | - color: var(--theme-color-dark); |
| 111 | + color: var(--grey-800); |
103 | 112 | } |
104 | 113 |
|
105 | 114 | .markdown-section a { |
|
121 | 130 | } |
122 | 131 |
|
123 | 132 | .markdown-section code { |
124 | | - background: #f1f5f9; |
| 133 | + background: var(--grey-100); |
125 | 134 | color: var(--theme-color-dark); |
126 | 135 | padding: 0.125rem 0.375rem; |
127 | 136 | border-radius: 4px; |
|
130 | 139 | } |
131 | 140 |
|
132 | 141 | .markdown-section pre { |
133 | | - background: #0f172a !important; |
| 142 | + background: var(--grey-900) !important; |
134 | 143 | border-radius: 8px; |
135 | 144 | padding: 1.25rem !important; |
136 | 145 | box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); |
137 | 146 | } |
138 | 147 |
|
139 | 148 | .markdown-section pre code { |
140 | 149 | background: transparent; |
141 | | - color: #e2e8f0; |
| 150 | + color: var(--grey-200); |
142 | 151 | padding: 0; |
143 | 152 | font-size: 0.875rem; |
144 | 153 | line-height: 1.7; |
145 | 154 | } |
146 | 155 |
|
147 | | - /* Token colors for syntax highlighting */ |
148 | | - .token.comment { color: #64748b; } |
| 156 | + .token.comment { color: var(--grey-500); } |
149 | 157 | .token.keyword { color: #f472b6; } |
150 | 158 | .token.string { color: #34d399; } |
151 | 159 | .token.function { color: #60a5fa; } |
152 | 160 | .token.number { color: #fbbf24; } |
153 | | - .token.operator { color: #94a3b8; } |
| 161 | + .token.operator { color: var(--grey-400); } |
154 | 162 | .token.class-name { color: #c084fc; } |
155 | 163 |
|
156 | 164 | /* Tables */ |
|
161 | 169 | } |
162 | 170 |
|
163 | 171 | .markdown-section th { |
164 | | - background: var(--theme-color); |
| 172 | + background: var(--grey-800); |
165 | 173 | color: white; |
166 | 174 | font-weight: 600; |
167 | 175 | text-align: left; |
|
170 | 178 |
|
171 | 179 | .markdown-section td { |
172 | 180 | padding: 0.75rem 1rem; |
173 | | - border-bottom: 1px solid #e2e8f0; |
| 181 | + border-bottom: 1px solid var(--grey-200); |
174 | 182 | } |
175 | 183 |
|
176 | 184 | .markdown-section tr:hover td { |
177 | | - background: var(--theme-bg-secondary); |
| 185 | + background: var(--grey-50); |
178 | 186 | } |
179 | 187 |
|
180 | 188 | /* Blockquotes / Tips */ |
|
193 | 201 |
|
194 | 202 | /* Search */ |
195 | 203 | .search { |
196 | | - border-bottom: 1px solid #e2e8f0; |
| 204 | + border-bottom: 1px solid var(--grey-200); |
197 | 205 | } |
198 | 206 |
|
199 | 207 | .search input { |
200 | 208 | font-family: var(--content-font); |
201 | | - border: 2px solid #e2e8f0 !important; |
| 209 | + border: 2px solid var(--grey-200) !important; |
202 | 210 | border-radius: 8px !important; |
203 | 211 | padding: 0.75rem 1rem !important; |
204 | 212 | transition: border-color 0.2s ease; |
|
211 | 219 |
|
212 | 220 | /* Cover Page */ |
213 | 221 | .cover { |
214 | | - background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%) !important; |
| 222 | + background: linear-gradient(135deg, var(--grey-900) 0%, var(--grey-700) 30%, var(--theme-color-dark) 70%, var(--theme-color) 100%) !important; |
215 | 223 | } |
216 | 224 |
|
217 | 225 | .cover h1 { |
|
240 | 248 | } |
241 | 249 |
|
242 | 250 | ::-webkit-scrollbar-thumb { |
243 | | - background: #cbd5e1; |
| 251 | + background: var(--grey-300); |
244 | 252 | border-radius: 4px; |
245 | 253 | } |
246 | 254 |
|
247 | 255 | ::-webkit-scrollbar-thumb:hover { |
248 | | - background: var(--theme-color-light); |
| 256 | + background: var(--grey-400); |
249 | 257 | } |
250 | 258 |
|
251 | 259 | /* Mobile */ |
|
0 commit comments