Skip to content

Commit cfb3503

Browse files
committed
harmonize colors
1 parent cf95a66 commit cfb3503

File tree

9 files changed

+139
-105
lines changed

9 files changed

+139
-105
lines changed

assets/css/theme.css

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,15 @@
2424

2525
--color-background-light: #f9f9fa;
2626
--color-background-dark: #10151b;
27+
--color-primary-blue: var(--color-blue-500);
2728

2829
--color-divider-light: hsla(0, 0%, 0%, 0.1);
2930
--color-divider-dark: hsla(0, 0%, 100%, 0.05);
3031

3132
--card-bg-dark: #1d262d;
3233
--card-border-dark: #516980;
33-
--color-gray-900: var(--card-bg-dark);
34-
--color-gray-700: var(--card-border-dark);
34+
--card-bg-dark: var(--color-gray-900);
35+
--card-border-dark: var(--color-gray-700);
3536

3637
--navbar-bg-light: #f9f9fa;
3738
--navbar-bg-dark: #0b0b0b;
@@ -51,6 +52,7 @@
5152
--color-black-outlinedborder: rgba(0, 0, 0, 0.56);
5253
--color-black-selected: rgba(0, 0, 0, 0.16);
5354

55+
--color-blue: var(--color-blue-400);
5456
--color-blue-100: rgba(217, 229, 252, 1);
5557
--color-blue-200: rgba(170, 196, 248, 1);
5658
--color-blue-300: rgba(123, 164, 244, 1);
@@ -68,6 +70,7 @@
6870
--color-blue-outlinedborder: rgba(37, 96, 255, 0.56);
6971
--color-blue-selected: rgba(37, 96, 255, 0.16);
7072

73+
--color-gray: var(--color-gray-600);
7174
--color-gray-100: rgba(231, 234, 239, 1);
7275
--color-gray-200: rgba(200, 207, 218, 1);
7376
--color-gray-300: rgba(169, 180, 198, 1);
@@ -78,7 +81,7 @@
7881
--color-gray-700: rgba(67, 76, 95, 1);
7982
--color-gray-800: rgba(44, 51, 63, 1);
8083
--color-gray-900: rgba(30, 33, 41, 1);
81-
--color-gray-950: rgba(15, 18, 27, 1);
84+
--color-gray-950: rgb(18, 21, 31);
8285
--color-gray-focus: rgba(108, 126, 157, 0.24);
8386
--color-gray-focusvisible: rgba(108, 126, 157, 0.32);
8487
--color-gray-hover: rgba(108, 126, 157, 0.12);
@@ -170,6 +173,7 @@
170173
--color-teal-outlinedborder: rgba(27, 189, 191, 0.56);
171174
--color-teal-selected: rgba(27, 189, 191, 0.16);
172175

176+
--color-violet: var(--color-violet-500);
173177
--color-violet-100: rgba(239, 224, 255, 1);
174178
--color-violet-200: rgba(211, 183, 255, 1);
175179
--color-violet-300: rgba(174, 130, 255, 1);

assets/css/utilities.css

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
}
3232

3333
@utility link {
34-
@apply text-primary-blue no-underline dark:text-blue-700;
34+
@apply text-blue no-underline dark:text-blue-400;
3535
font-weight: inherit;
3636
&:hover {
3737
@apply underline underline-offset-3;
@@ -43,24 +43,24 @@
4343
}
4444

4545
@utility bg-pattern-blue {
46-
background-color: var(--color-white-main);
46+
background-color: rgba(255, 255, 255, 0.5);
4747
background-image: url("/assets/images/bg-pattern-blue.webp");
4848
background-blend-mode: overlay;
4949
background-size: cover;
5050
background-repeat: none;
5151
.dark & {
52-
background-color: var(--color-black-main);
52+
background-color: rgba(0, 0, 0, 0.741);
5353
}
5454
}
5555

5656
@utility bg-pattern-purple {
57-
background-color: var(--color-white-main);
57+
background-color: rgba(255, 255, 255, 0.5);
5858
background-image: url("/assets/images/bg-pattern-purple.webp");
5959
background-blend-mode: overlay;
6060
background-size: cover;
6161
background-repeat: none;
6262
.dark & {
63-
background-color: var(--color-black-main);
63+
background-color: rgba(0, 0, 0, 0.741);
6464
}
6565
}
6666

@@ -72,13 +72,13 @@
7272
}
7373

7474
@utility bg-pattern-verde {
75-
background-color: var(--color-white-main);
75+
background-color: rgba(255, 255, 255, 0.5);
7676
background-image: url("/assets/images/bg-pattern-verde.webp");
7777
background-blend-mode: overlay;
7878
background-size: cover;
7979
background-repeat: none;
8080
.dark & {
81-
background-color: var(--color-black-main);
81+
background-color: rgba(0, 0, 0, 0.741);
8282
}
8383
}
8484

@@ -210,3 +210,16 @@
210210
}
211211
}
212212
}
213+
214+
@utility section-card {
215+
@apply flex h-full flex-col gap-2 rounded-sm border p-4 drop-shadow-xs hover:drop-shadow-lg;
216+
@apply text-gray dark:text-gray-200;
217+
@apply border-gray-100 bg-gray-50 hover:border-gray-200 dark:border-gray-600 dark:bg-gray-900 hover:dark:border-gray-500;
218+
}
219+
220+
@utility section-card-text {
221+
@apply leading-snug text-gray-800 dark:text-gray-200;
222+
}
223+
@utility section-card-title {
224+
@apply text-xl font-semibold text-gray-900 dark:text-gray-100;
225+
}

hugo_stats.json

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,10 +145,12 @@
145145
"aspect-video",
146146
"bake-action",
147147
"bg-amber-light",
148+
"bg-background",
148149
"bg-background-light",
149150
"bg-background-toc",
150151
"bg-black/50",
151152
"bg-black/70",
153+
"bg-blue",
152154
"bg-blue-400",
153155
"bg-blue-500",
154156
"bg-blue-light",
@@ -158,18 +160,24 @@
158160
"bg-gradient-to-br",
159161
"bg-gradient-to-r",
160162
"bg-gradient-to-t",
163+
"bg-gray-00",
161164
"bg-gray-100",
165+
"bg-gray-200",
166+
"bg-gray-400",
167+
"bg-gray-50",
162168
"bg-gray-light-100",
163169
"bg-gray-light-200",
164170
"bg-gray-light-400",
165171
"bg-gray-light-700",
172+
"bg-green-500",
166173
"bg-green-light",
167174
"bg-green-light-400",
168175
"bg-pattern-blue",
169176
"bg-pattern-purple",
170177
"bg-pattern-verde",
171178
"bg-red-light",
172179
"bg-transparent",
180+
"bg-violet-500",
173181
"bg-violet-light",
174182
"bg-white",
175183
"bg-white/10",
@@ -180,6 +188,7 @@
180188
"border-b-4",
181189
"border-blue-light-500",
182190
"border-divider-light",
191+
"border-gray-100",
183192
"border-gray-light-100",
184193
"border-gray-light-200",
185194
"border-gray-light-400",
@@ -205,28 +214,37 @@
205214
"containerd-image-store",
206215
"cursor-pointer",
207216
"dark:bg-amber-dark",
217+
"dark:bg-background",
208218
"dark:bg-background-dark",
209219
"dark:bg-background-toc",
220+
"dark:bg-blue",
210221
"dark:bg-blue-300",
211222
"dark:bg-blue-400",
212223
"dark:bg-blue-500",
213224
"dark:bg-blue-dark",
214225
"dark:bg-blue-dark-400",
215226
"dark:bg-gray-200",
227+
"dark:bg-gray-300",
228+
"dark:bg-gray-400",
216229
"dark:bg-gray-700",
217230
"dark:bg-gray-800",
218231
"dark:bg-gray-900",
232+
"dark:bg-gray-950",
219233
"dark:bg-gray-dark-100",
220234
"dark:bg-gray-dark-200",
221235
"dark:bg-gray-dark-300",
222236
"dark:bg-gray-dark-400",
237+
"dark:bg-green-300",
223238
"dark:bg-green-dark",
224239
"dark:bg-green-dark-400",
225240
"dark:bg-red-dark",
241+
"dark:bg-violet-300",
226242
"dark:bg-violet-dark",
227243
"dark:block",
228244
"dark:border-b-blue-dark-600",
229245
"dark:border-divider-dark",
246+
"dark:border-gray-700",
247+
"dark:border-gray-700-400",
230248
"dark:border-gray-dark-200",
231249
"dark:border-gray-dark-400",
232250
"dark:border-green-dark-400",
@@ -244,9 +262,17 @@
244262
"dark:from-blue-dark-400",
245263
"dark:from-gray-dark-100",
246264
"dark:hidden",
265+
"dark:hover:bg-blue",
266+
"dark:hover:bg-blue-300",
267+
"dark:hover:bg-blue-400",
247268
"dark:hover:bg-blue-500",
269+
"dark:hover:bg-blue-800",
270+
"dark:hover:bg-blue-800flex",
271+
"dark:hover:bg-blue-800max-w-fit",
272+
"dark:hover:bg-blue-800mt-20",
248273
"dark:hover:bg-blue-dark",
249274
"dark:hover:bg-blue-dark-500",
275+
"dark:hover:bg-gray-500",
250276
"dark:hover:bg-gray-dark-200",
251277
"dark:hover:bg-gray-dark-400",
252278
"dark:hover:bg-gray-dark-500",
@@ -255,21 +281,29 @@
255281
"dark:ring-3-blue-dark-400",
256282
"dark:ring-3-gray-dark-400",
257283
"dark:syntax-dark",
284+
"dark:text-blue",
258285
"dark:text-blue-700",
259286
"dark:text-divider-dark",
287+
"dark:text-gray",
288+
"dark:text-gray-200",
289+
"dark:text-gray-300",
290+
"dark:text-gray-700",
291+
"dark:text-gray-800",
260292
"dark:text-gray-dark",
261293
"dark:text-gray-dark-300",
262294
"dark:text-gray-dark-500",
263295
"dark:text-gray-dark-600",
264296
"dark:text-gray-dark-700",
265297
"dark:text-gray-dark-800",
266298
"dark:text-magenta-dark",
299+
"dark:text-violet",
267300
"dark:text-violet-dark",
268301
"dark:text-white",
269302
"dark:to-background-dark",
270303
"dark:to-blue-100",
271304
"dark:to-blue-500",
272305
"dark:to-blue-dark-100",
306+
"dark:to-magenta-400",
273307
"dark:to-magenta-dark-400",
274308
"docker/bake-action",
275309
"docker/build-push-action",
@@ -278,6 +312,7 @@
278312
"drop-shadow",
279313
"drop-shadow-xs",
280314
"duration-300",
315+
"fill-blue",
281316
"fill-blue-300",
282317
"fill-blue-400",
283318
"fill-blue-500",
@@ -302,6 +337,7 @@
302337
"footnotes",
303338
"from-20%",
304339
"from-background-light",
340+
"from-blue-400",
305341
"from-blue-600",
306342
"from-blue-light-400",
307343
"from-blue-light-600",
@@ -336,23 +372,35 @@
336372
"hidden'",
337373
"hiddenml-3",
338374
"highlight",
375+
"hover:bg-blue",
339376
"hover:bg-blue-400",
377+
"hover:bg-blue-400-400",
340378
"hover:bg-blue-500",
341379
"hover:bg-blue-light-400",
380+
"hover:bg-gray-100",
381+
"hover:bg-gray-200",
382+
"hover:bg-gray-600",
342383
"hover:bg-gray-light-100",
343384
"hover:bg-gray-light-200",
344385
"hover:bg-gray-light-300",
345386
"hover:bg-white/20",
387+
"hover:border-gray-200",
346388
"hover:border-gray-light-200",
347389
"hover:border-white/20",
348390
"hover:dark:bg-blue-400",
349391
"hover:dark:bg-blue-500",
392+
"hover:dark:bg-gray-500",
393+
"hover:dark:bg-gray-700",
350394
"hover:dark:bg-gray-dark-200",
351395
"hover:dark:bg-gray-dark-300",
396+
"hover:dark:border-gray-300",
397+
"hover:dark:border-gray-600",
398+
"hover:dark:border-gray-700",
352399
"hover:dark:border-gray-dark",
353400
"hover:dark:text-blue-700",
354401
"hover:drop-shadow-lg",
355402
"hover:opacity-90",
403+
"hover:text-blue",
356404
"hover:text-blue-light",
357405
"hover:text-white",
358406
"hover:underline",
@@ -509,6 +557,9 @@
509557
"scale-75",
510558
"scroll-mt-20",
511559
"scroll-mt-36",
560+
"section-card",
561+
"section-card-text",
562+
"section-card-title",
512563
"select-none",
513564
"self-center",
514565
"self-start",
@@ -533,8 +584,15 @@
533584
"text-2xl",
534585
"text-base",
535586
"text-black",
587+
"text-blue",
536588
"text-blue-light",
537589
"text-divider-light",
590+
"text-gray",
591+
"text-gray-200",
592+
"text-gray-300",
593+
"text-gray-500",
594+
"text-gray-800",
595+
"text-gray-border-gray-200",
538596
"text-gray-light",
539597
"text-gray-light-200",
540598
"text-gray-light-300",
@@ -544,6 +602,7 @@
544602
"text-lg",
545603
"text-magenta-light",
546604
"text-sm",
605+
"text-violet",
547606
"text-violet-light",
548607
"text-white",
549608
"text-xl",
@@ -555,6 +614,7 @@
555614
"to-blue-400",
556615
"to-blue-500",
557616
"to-blue-light",
617+
"to-magenta-400",
558618
"to-magenta-light-400",
559619
"to-transparent",
560620
"to-white",

0 commit comments

Comments
 (0)