Skip to content

Commit bbf6d56

Browse files
committed
docs(site): recalibrate brand tokens to the kit's Ocean & Deep Blue
The Docker brand kit's SVG fills use \`#2560FF\` (\"Ocean Blue\") and \`#00153C\` (\"Deep Blue\"), not the \`#1D63ED\` / \`#09101F\` values I introduced in 11b72ba. Subtle but visible on the home-page hero gradient, the feature card hover, and the hand-drawn how-it-works flow diagram \u2014 they were all in a slightly off shade of blue compared to the official mark we now ship. \u2022 --blue-100..700 derived from \`#2560FF\` (was \`#1D63ED\`). \u2022 --navy-900..600 derived from \`#00153C\` (was \`#09101F\`). \u2022 Every hard-coded \`rgba(29,99,237, \u2026)\` rewritten to \`rgba(37,96,255, \u2026)\` (callout shadows, hero radial highlight, pain/with rows, ecosystem tiles, page-nav focus ring). \u2022 Hero gradient mid-stop bumped to \`#06204D\` (a token-aligned navy) and the light-theme variant to \`#133361\`. \u2022 Header glass background switched to \`rgba(0,21,60,0.85)\`. \u2022 \`how-it-works.svg\` strokes/fills updated to \`#2560FF\`. The \`--docker-blue\` / \`--accent\` / \`--accent-hover\` aliases keep working because they all resolve through the new --blue-500. Reported by review of the docker-mark swap on #2793.
1 parent bd8b4e4 commit bbf6d56

2 files changed

Lines changed: 43 additions & 42 deletions

File tree

docs/assets/how-it-works.svg

Lines changed: 14 additions & 14 deletions
Loading

docs/css/style.css

Lines changed: 29 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,21 @@
66
* Source: Docker design system / brand guidelines.
77
* Use these tokens (rather than raw hex) when adding new styles. */
88

9-
/* Primary blue scale */
10-
--blue-100: #E5EFFE;
11-
--blue-200: #BFD6FC;
12-
--blue-300: #7AAAF7;
13-
--blue-400: #4A8AF4;
14-
--blue-500: #1D63ED; /* Docker Blue — primary */
15-
--blue-600: #0B5DD0; /* hover */
16-
--blue-700: #0A4DA8; /* pressed */
17-
18-
/* Neutral / navy scale */
19-
--navy-900: #09101F;
20-
--navy-800: #0D1525;
21-
--navy-700: #111827;
22-
--navy-600: #1E293B;
9+
/* Primary blue scale — calibrated to Docker's \"Ocean Blue\" #2560FF
10+
* (the exact value used in the official brand kit's SVG fills). */
11+
--blue-100: #E5EBFF;
12+
--blue-200: #BFCEFF;
13+
--blue-300: #7997FF;
14+
--blue-400: #4A76FF;
15+
--blue-500: #2560FF; /* Ocean Blue — primary, from the official kit */
16+
--blue-600: #1A4DD9; /* hover */
17+
--blue-700: #133FB3; /* pressed */
18+
19+
/* Neutral / navy scale — \"Deep Blue\" anchors the dark theme */
20+
--navy-900: #00153C; /* Docker Deep Blue */
21+
--navy-800: #06204D;
22+
--navy-700: #0E2A60;
23+
--navy-600: #1E3D7A;
2324

2425
/* Accents */
2526
--moby-cyan: #19B6E6; /* Moby highlight */
@@ -54,7 +55,7 @@
5455

5556
--accent: var(--blue-500);
5657
--accent-hover: var(--blue-400);
57-
--accent-light: rgba(29,99,237,0.12);
58+
--accent-light: rgba(37,96,255,0.12);
5859

5960
--success: #34D399;
6061
--warning: #FBBF24;
@@ -144,7 +145,7 @@ body {
144145
padding: 0 24px;
145146
z-index: 100;
146147
backdrop-filter: blur(16px) saturate(180%);
147-
background: rgba(9,16,31,0.8);
148+
background: rgba(0,21,60,0.85);
148149
}
149150
[data-theme="light"] .header {
150151
background: rgba(250,251,252,0.85);
@@ -780,7 +781,7 @@ body {
780781
}
781782
.card:hover {
782783
border-color: var(--accent);
783-
box-shadow: 0 0 20px rgba(29,99,237,0.1);
784+
box-shadow: 0 0 20px rgba(37,96,255,0.1);
784785
transform: translateY(-2px);
785786
text-decoration: none;
786787
}
@@ -817,18 +818,18 @@ body {
817818

818819
/* ===== Hero section (home page) ===== */
819820
.hero {
820-
background: linear-gradient(145deg, var(--navy-900) 0%, #0D1D3A 40%, var(--blue-500) 100%);
821+
background: linear-gradient(145deg, var(--navy-900) 0%, #06204D 40%, var(--blue-500) 100%);
821822
color: var(--text-on-hero);
822823
padding: 64px 48px;
823824
border-radius: var(--radius-lg);
824825
margin-bottom: 48px;
825826
text-align: center;
826827
position: relative;
827828
overflow: hidden;
828-
border: 1px solid rgba(29,99,237,0.2);
829+
border: 1px solid rgba(37,96,255,0.2);
829830
}
830831
[data-theme="light"] .hero {
831-
background: linear-gradient(145deg, #0F172A 0%, #1E3A5F 40%, var(--blue-500) 100%);
832+
background: linear-gradient(145deg, #0F172A 0%, #133361 40%, var(--blue-500) 100%);
832833
}
833834
.hero::before {
834835
content: '';
@@ -837,7 +838,7 @@ body {
837838
left: 0;
838839
right: 0;
839840
bottom: 0;
840-
background: radial-gradient(ellipse at 70% 20%, rgba(29,99,237,0.3) 0%, transparent 60%);
841+
background: radial-gradient(ellipse at 70% 20%, rgba(37,96,255,0.3) 0%, transparent 60%);
841842
pointer-events: none;
842843
}
843844
.hero h1 {
@@ -925,7 +926,7 @@ body {
925926
transition: border-color 0.2s;
926927
}
927928
.feature:hover {
928-
border-color: rgba(29,99,237,0.3);
929+
border-color: rgba(37,96,255,0.3);
929930
}
930931
.feature-icon {
931932
margin-bottom: 12px;
@@ -1039,8 +1040,8 @@ body {
10391040
background: rgba(248, 113, 113, 0.03);
10401041
}
10411042
.compare-with {
1042-
border-color: rgba(29, 99, 237, 0.4);
1043-
background: rgba(29, 99, 237, 0.04);
1043+
border-color: rgba(37, 96, 255, 0.4);
1044+
background: rgba(37, 96, 255, 0.04);
10441045
}
10451046
.compare-label {
10461047
font-size: 0.7rem;
@@ -1077,7 +1078,7 @@ body {
10771078
transition: border-color 0.2s, transform 0.2s;
10781079
}
10791080
.usecase:hover {
1080-
border-color: rgba(29,99,237,0.4);
1081+
border-color: rgba(37,96,255,0.4);
10811082
transform: translateY(-2px);
10821083
}
10831084
.usecase-icon {
@@ -1145,8 +1146,8 @@ body {
11451146
font-style: italic;
11461147
}
11471148
.pain-fix {
1148-
background: rgba(29, 99, 237, 0.06);
1149-
border-color: rgba(29, 99, 237, 0.3);
1149+
background: rgba(37, 96, 255, 0.06);
1150+
border-color: rgba(37, 96, 255, 0.3);
11501151
color: var(--text);
11511152
}
11521153
.pain-x,
@@ -1267,7 +1268,7 @@ body {
12671268
}
12681269
.page-nav a:hover {
12691270
border-color: var(--accent);
1270-
box-shadow: 0 0 16px rgba(29,99,237,0.08);
1271+
box-shadow: 0 0 16px rgba(37,96,255,0.08);
12711272
text-decoration: none;
12721273
}
12731274
.page-nav .nav-label {

0 commit comments

Comments
 (0)