Skip to content

Commit 2fdf7b4

Browse files
authored
fix(site): use one dark link blue across the sites (anomalyco#62676)
1 parent 636078c commit 2fdf7b4

7 files changed

Lines changed: 17 additions & 11 deletions

File tree

‎packages/nav-menus/src/nav-menus.css‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
--ink: var(--nav-menu-ink, light-dark(hsl(0 0% 8%), hsl(0 0% 95%)));
1414
--weak: var(--nav-menu-weak, light-dark(hsl(0 0% 40%), hsl(0 0% 64%)));
1515
--popover: var(--nav-menu-popover, light-dark(hsl(0 0% 100%), hsl(0 0% 10%)));
16-
--link: var(--nav-menu-link, light-dark(#3b5cf6, #4f8bff));
16+
--link: var(--nav-menu-link, light-dark(#3b5cf6, #6b8fff));
1717
--bar: var(--nav-menu-bar, light-dark(hsl(0 0% 40%), hsl(0 0% 62%)));
1818
--icon: var(--nav-menu-icon, light-dark(hsl(0 0% 40%), hsl(0 0% 56%)));
1919
--tint: color-mix(in srgb, var(--link) 10%, var(--popover));
@@ -295,7 +295,7 @@
295295
}
296296

297297
&:focus-visible {
298-
outline: 2px solid var(--nav-menu-link, light-dark(#3b5cf6, #4f8bff));
298+
outline: 2px solid var(--nav-menu-link, light-dark(#3b5cf6, #6b8fff));
299299
outline-offset: 2px;
300300
}
301301

@@ -433,7 +433,7 @@
433433
}
434434

435435
:is([data-nav-logo], [data-nav-product], [data-nav-name]):focus-visible {
436-
outline: 2px solid var(--nav-menu-link, light-dark(#3b5cf6, #4f8bff));
436+
outline: 2px solid var(--nav-menu-link, light-dark(#3b5cf6, #6b8fff));
437437
outline-offset: 2px;
438438
}
439439

‎packages/stats/app/src/routes/index.css‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7278,7 +7278,8 @@ body {
72787278
--stats-text: #ffffff;
72797279
--stats-muted: #d4d4d4;
72807280
--stats-faint: #a3a3a3;
7281-
--stats-accent-text: #8190ff;
7281+
--stats-accent: #6b8fff;
7282+
--stats-accent-text: #6b8fff;
72827283
--stats-theme-icon-active: #fafafa;
72837284
--stats-bar-idle: #303030;
72847285
--stats-dot: #303030;
@@ -7296,6 +7297,7 @@ body {
72967297
--lab-usage-bar: #3a3a3a;
72977298
--lab-usage-line: #a3a3a3;
72987299
--lab-usage-band: #242424;
7300+
--lab-usage-active: #6b8fff;
72997301
}
73007302

73017303
[data-page="stats"][data-theme="dark"] [data-component="model-usage-chart"][data-variant="model-trend"],
@@ -7305,6 +7307,7 @@ body {
73057307
--model-trend-bar: #3a3a3a;
73067308
--model-trend-line: #a3a3a3;
73077309
--model-trend-band: #242424;
7310+
--model-trend-active: #6b8fff;
73087311
}
73097312

73107313
[data-page="stats"][data-theme="dark"] [data-component="chart-tooltip"],
@@ -7447,7 +7450,8 @@ body {
74477450
--stats-text: #ffffff;
74487451
--stats-muted: #d4d4d4;
74497452
--stats-faint: #a3a3a3;
7450-
--stats-accent-text: #8190ff;
7453+
--stats-accent: #6b8fff;
7454+
--stats-accent-text: #6b8fff;
74517455
--stats-theme-icon-active: #fafafa;
74527456
--stats-bar-idle: #303030;
74537457
--stats-dot: #303030;
@@ -7464,6 +7468,7 @@ body {
74647468
--lab-usage-bar: #3a3a3a;
74657469
--lab-usage-line: #a3a3a3;
74667470
--lab-usage-band: #242424;
7471+
--lab-usage-active: #6b8fff;
74677472
}
74687473

74697474
:root:not([data-stats-theme="light"])
@@ -7472,6 +7477,7 @@ body {
74727477
--model-trend-bar: #3a3a3a;
74737478
--model-trend-line: #a3a3a3;
74747479
--model-trend-band: #242424;
7480+
--model-trend-active: #6b8fff;
74757481
}
74767482

74777483
:root:not([data-stats-theme="light"]) [data-page="stats"]:not([data-theme="light"]) [data-component="chart-tooltip"] {

‎services/site/src/component/site/arcade/arcade.css‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
--text: hsl(0, 0%, 72%);
1212
--text-weak: hsl(0, 0%, 56%);
1313
--border: hsl(0, 0%, 18%);
14-
--link: #4f8bff;
14+
--link: #6b8fff;
1515
--popover-bg: hsl(0, 0%, 10%);
1616
--popover-text-weak: hsl(0, 0%, 64%);
1717
--popover-shadow: 0 0 0 1px rgb(255 255 255 / 0.1), 0 8px 24px -8px rgb(0 0 0 / 0.6);

‎services/site/src/component/site/arcade/chrome.css‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
--text-muted: light-dark(hsl(0, 0%, 45%), hsl(0, 0%, 49%));
1717
--fs-large: 18px;
1818
--border: light-dark(hsl(0, 0%, 88%), hsl(0, 0%, 18%));
19-
--link-dark: #4f8bff;
19+
--link-dark: #6b8fff;
2020
--link: light-dark(#3b5cf6, var(--link-dark));
2121
--popover-bg: light-dark(hsl(0, 0%, 100%), hsl(0, 0%, 10%));
2222
--popover-text-weak: light-dark(hsl(0, 0%, 40%), hsl(0, 0%, 64%));
@@ -393,7 +393,7 @@ html [data-component="arcade-chrome"] [data-site][data-slot="site-tools"] {
393393
}
394394

395395
&:focus-visible {
396-
outline: 2px solid #4f8bff;
396+
outline: 2px solid #6b8fff;
397397
outline-offset: 2px;
398398
}
399399
}

‎services/site/src/component/site/arcade/sound-toggle.css‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
}
4242

4343
&:focus-visible {
44-
outline: 2px solid #4f8bff;
44+
outline: 2px solid #6b8fff;
4545
outline-offset: 2px;
4646
}
4747
}

‎services/site/src/component/site/docs-variants.css‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2756,7 +2756,7 @@
27562756
(the site serves no 500 weight); 12px uppercase keeps them reading as labels. */
27572757
--ref-head: var(--text-strong);
27582758
--code-number: light-dark(#737373, #858585);
2759-
--code-mark: light-dark(#3b5cf6, #4f8bff);
2759+
--code-mark: light-dark(#3b5cf6, #6b8fff);
27602760
--code-mark-tint: light-dark(#eff2fe, #1e2637);
27612761
--code-del: light-dark(#d61f1f, #f04c4c);
27622762
--code-add: light-dark(#1a9347, #2dd269);

‎services/site/src/lib/console-api.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import { sdkInstalls } from "~/lib/install-commands"
1919

2020
const brand = {
2121
light: { open: "#626262", code: "#1f1f1f", inner: "#d2d2d2", text: "#333333", dim: "#737373", link: "#3b5cf6" },
22-
dark: { open: "#aeaeae", code: "#eeeeee", inner: "#4b4b4b", text: "#c8c8c8", dim: "#8a8a8a", link: "#4f8bff" },
22+
dark: { open: "#aeaeae", code: "#eeeeee", inner: "#4b4b4b", text: "#c8c8c8", dim: "#8a8a8a", link: "#6b8fff" },
2323
}
2424
const mono = "font-family: ui-monospace, Menlo, Consolas, monospace;"
2525
const buildLabels: Record<string, string> = {

0 commit comments

Comments
 (0)