Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
b8238f0
Update light, dark mode black values
dancormier Oct 21, 2025
14dc6da
Update light, dark mode orange values
dancormier Oct 21, 2025
dd4a3dd
Update remaining light, dark sets
dancormier Oct 22, 2025
84264a8
Add light, dark pink sets
dancormier Oct 22, 2025
95faed2
Update less color snaps
dancormier Oct 22, 2025
ac58ddf
Update high contrast color sets
dancormier Oct 22, 2025
d7c9eb6
Update the less color snaps again
dancormier Oct 22, 2025
beffdbd
Update light, dark black color sets
dancormier Oct 22, 2025
cf5f768
Fixes
dancormier Oct 22, 2025
8260d81
Remove metallic colors
dancormier Oct 23, 2025
a45bac0
Merge branch 'beta' into SPARK-49/color-palettes
dancormier Oct 23, 2025
6a9f965
Make suggested changes
dancormier Oct 29, 2025
6de593d
Retain legacy metallic colors for backward compatibility
dancormier Oct 29, 2025
8fe2599
Update monochromatic colors; set theme secondary to black values
dancormier Oct 29, 2025
137a3f0
Add TODOs for translucent colors
dancormier Oct 29, 2025
88028e8
Merge branch 'beta' into SPARK-49/color-palettes
giamir Nov 4, 2025
f7e4fcc
Revert "Update the less color snaps again"
dancormier Nov 4, 2025
38ed6c1
Revert "Update less color snaps"
dancormier Nov 4, 2025
8493304
Escape colors embedded in svg urls
dancormier Nov 4, 2025
2eeba08
Drop 400 from theme-secondary-400 usage
dancormier Nov 4, 2025
2b3473a
Merge branch 'beta' into SPARK-49/color-palettes
dancormier Nov 4, 2025
d0a8581
Update less snap shots
dancormier Nov 6, 2025
aba62e3
update visual regression images
dancormier Nov 6, 2025
e9ee84d
Comment out broken a11y tests
dancormier Nov 6, 2025
ad7a7e3
Add changeset
dancormier Nov 6, 2025
eace248
Merge branch 'beta' into SPARK-49/color-palettes
dancormier Nov 6, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
5 changes: 5 additions & 0 deletions .changeset/curvy-candles-clap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@stackoverflow/stacks": minor
---

Updated colors for SHINE
Original file line number Diff line number Diff line change
Expand Up @@ -1030,6 +1030,132 @@ exports[`atomic: color > should output v2 atomic css classes for colors 1`] = `
color: var(--purple-600) !important;
}

.bg-pink-100,
.h\\:bg-pink-100:hover,
.f\\:bg-pink-100:focus,
.f\\:bg-pink-100:focus-within {
background-color: var(--pink-100) !important;
}

.bc-pink-100,
.h\\:bc-pink-100:hover,
.f\\:bc-pink-100:focus,
.f\\:bc-pink-100:focus-within {
border-color: var(--pink-100) !important;
}

.fc-pink-100,
.h\\:fc-pink-100:hover,
.f\\:fc-pink-100:focus,
.f\\:fc-pink-100:focus-within {
color: var(--pink-100) !important;
}

.bg-pink-200,
.h\\:bg-pink-200:hover,
.f\\:bg-pink-200:focus,
.f\\:bg-pink-200:focus-within {
background-color: var(--pink-200) !important;
}

.bc-pink-200,
.h\\:bc-pink-200:hover,
.f\\:bc-pink-200:focus,
.f\\:bc-pink-200:focus-within {
border-color: var(--pink-200) !important;
}

.fc-pink-200,
.h\\:fc-pink-200:hover,
.f\\:fc-pink-200:focus,
.f\\:fc-pink-200:focus-within {
color: var(--pink-200) !important;
}

.bg-pink-300,
.h\\:bg-pink-300:hover,
.f\\:bg-pink-300:focus,
.f\\:bg-pink-300:focus-within {
background-color: var(--pink-300) !important;
}

.bc-pink-300,
.h\\:bc-pink-300:hover,
.f\\:bc-pink-300:focus,
.f\\:bc-pink-300:focus-within {
border-color: var(--pink-300) !important;
}

.fc-pink-300,
.h\\:fc-pink-300:hover,
.f\\:fc-pink-300:focus,
.f\\:fc-pink-300:focus-within {
color: var(--pink-300) !important;
}

.bg-pink-400,
.h\\:bg-pink-400:hover,
.f\\:bg-pink-400:focus,
.f\\:bg-pink-400:focus-within {
background-color: var(--pink-400) !important;
}

.bc-pink-400,
.h\\:bc-pink-400:hover,
.f\\:bc-pink-400:focus,
.f\\:bc-pink-400:focus-within {
border-color: var(--pink-400) !important;
}

.fc-pink-400,
.h\\:fc-pink-400:hover,
.f\\:fc-pink-400:focus,
.f\\:fc-pink-400:focus-within {
color: var(--pink-400) !important;
}

.bg-pink-500,
.h\\:bg-pink-500:hover,
.f\\:bg-pink-500:focus,
.f\\:bg-pink-500:focus-within {
background-color: var(--pink-500) !important;
}

.bc-pink-500,
.h\\:bc-pink-500:hover,
.f\\:bc-pink-500:focus,
.f\\:bc-pink-500:focus-within {
border-color: var(--pink-500) !important;
}

.fc-pink-500,
.h\\:fc-pink-500:hover,
.f\\:fc-pink-500:focus,
.f\\:fc-pink-500:focus-within {
color: var(--pink-500) !important;
}

.bg-pink-600,
.h\\:bg-pink-600:hover,
.f\\:bg-pink-600:focus,
.f\\:bg-pink-600:focus-within {
background-color: var(--pink-600) !important;
}

.bc-pink-600,
.h\\:bc-pink-600:hover,
.f\\:bc-pink-600:focus,
.f\\:bc-pink-600:focus-within {
border-color: var(--pink-600) !important;
}

.fc-pink-600,
.h\\:fc-pink-600:hover,
.f\\:fc-pink-600:focus,
.f\\:fc-pink-600:focus-within {
color: var(--pink-600) !important;
}

.bg-gold-100,
.h\\:bg-gold-100:hover,
.f\\:bg-gold-100:focus,
Expand Down Expand Up @@ -2102,6 +2228,54 @@ exports[`atomic: color > should output v2 atomic css classes for colors 1`] = `
color: var(--purple-600) !important;
}

body.theme-system .d\\:bg-pink-100 {
background-color: var(--pink-100) !important;
}

body.theme-system .d\\:fc-pink-100 {
color: var(--pink-100) !important;
}

body.theme-system .d\\:bg-pink-200 {
background-color: var(--pink-200) !important;
}

body.theme-system .d\\:fc-pink-200 {
color: var(--pink-200) !important;
}

body.theme-system .d\\:bg-pink-300 {
background-color: var(--pink-300) !important;
}

body.theme-system .d\\:fc-pink-300 {
color: var(--pink-300) !important;
}

body.theme-system .d\\:bg-pink-400 {
background-color: var(--pink-400) !important;
}

body.theme-system .d\\:fc-pink-400 {
color: var(--pink-400) !important;
}

body.theme-system .d\\:bg-pink-500 {
background-color: var(--pink-500) !important;
}

body.theme-system .d\\:fc-pink-500 {
color: var(--pink-500) !important;
}

body.theme-system .d\\:bg-pink-600 {
background-color: var(--pink-600) !important;
}

body.theme-system .d\\:fc-pink-600 {
color: var(--pink-600) !important;
}

body.theme-system .d\\:bg-gold-100 {
background-color: var(--gold-100) !important;
}
Expand Down Expand Up @@ -2859,6 +3033,78 @@ body.theme-system .theme-dark__forced .d\\:fc-purple-600 {
color: var(--purple-600) !important;
}

body.theme-dark .d\\:bg-pink-100,
.theme-dark__forced .d\\:bg-pink-100,
body.theme-system .theme-dark__forced .d\\:bg-pink-100 {
background-color: var(--pink-100) !important;
}

body.theme-dark .d\\:fc-pink-100,
.theme-dark__forced .d\\:fc-pink-100,
body.theme-system .theme-dark__forced .d\\:fc-pink-100 {
color: var(--pink-100) !important;
}

body.theme-dark .d\\:bg-pink-200,
.theme-dark__forced .d\\:bg-pink-200,
body.theme-system .theme-dark__forced .d\\:bg-pink-200 {
background-color: var(--pink-200) !important;
}

body.theme-dark .d\\:fc-pink-200,
.theme-dark__forced .d\\:fc-pink-200,
body.theme-system .theme-dark__forced .d\\:fc-pink-200 {
color: var(--pink-200) !important;
}

body.theme-dark .d\\:bg-pink-300,
.theme-dark__forced .d\\:bg-pink-300,
body.theme-system .theme-dark__forced .d\\:bg-pink-300 {
background-color: var(--pink-300) !important;
}

body.theme-dark .d\\:fc-pink-300,
.theme-dark__forced .d\\:fc-pink-300,
body.theme-system .theme-dark__forced .d\\:fc-pink-300 {
color: var(--pink-300) !important;
}

body.theme-dark .d\\:bg-pink-400,
.theme-dark__forced .d\\:bg-pink-400,
body.theme-system .theme-dark__forced .d\\:bg-pink-400 {
background-color: var(--pink-400) !important;
}

body.theme-dark .d\\:fc-pink-400,
.theme-dark__forced .d\\:fc-pink-400,
body.theme-system .theme-dark__forced .d\\:fc-pink-400 {
color: var(--pink-400) !important;
}

body.theme-dark .d\\:bg-pink-500,
.theme-dark__forced .d\\:bg-pink-500,
body.theme-system .theme-dark__forced .d\\:bg-pink-500 {
background-color: var(--pink-500) !important;
}

body.theme-dark .d\\:fc-pink-500,
.theme-dark__forced .d\\:fc-pink-500,
body.theme-system .theme-dark__forced .d\\:fc-pink-500 {
color: var(--pink-500) !important;
}

body.theme-dark .d\\:bg-pink-600,
.theme-dark__forced .d\\:bg-pink-600,
body.theme-system .theme-dark__forced .d\\:bg-pink-600 {
background-color: var(--pink-600) !important;
}

body.theme-dark .d\\:fc-pink-600,
.theme-dark__forced .d\\:fc-pink-600,
body.theme-system .theme-dark__forced .d\\:fc-pink-600 {
color: var(--pink-600) !important;
}

body.theme-dark .d\\:bg-gold-100,
.theme-dark__forced .d\\:bg-gold-100,
body.theme-system .theme-dark__forced .d\\:bg-gold-100 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -820,27 +820,27 @@ exports[`atomic: misc > should output all atomic css classes 1`] = `
}

.bs-sm.bs-hover:hover {
box-shadow: 0 var(--su-static2) var(--su-static8) hsl(210, 8%, 95%) !important;
box-shadow: 0 var(--su-static2) var(--su-static8) #f0efed !important;
}

.bs-md.bs-hover:hover {
box-shadow: 0 var(--su-static4) var(--su-static8) hsl(210, 8%, 85%) !important;
box-shadow: 0 var(--su-static4) var(--su-static8) #d7d8db !important;
}

.bs-lg.bs-hover:hover {
box-shadow: 0 var(--su-static4) var(--su-static12) hsla(210, 8%, 68%, 0.7) !important;
box-shadow: 0 var(--su-static4) var(--su-static12) rgba(132, 135, 140, 0.7) !important;
}

.bs-i-sm.bs-hover:hover {
box-shadow: inset 0 var(--su-static1) var(--su-static8) 0 hsla(210, 9%, 75%, 0.75) !important;
box-shadow: inset 0 var(--su-static1) var(--su-static8) 0 rgba(167, 170, 176, 0.75) !important;
}

.bs-i-md.bs-hover:hover {
box-shadow: inset 0 var(--su-static1) var(--su-static8) 0 hsla(210, 8%, 68%, 0.8) !important;
box-shadow: inset 0 var(--su-static1) var(--su-static8) 0 rgba(132, 135, 140, 0.8) !important;
}

.bs-i-lg.bs-hover:hover {
box-shadow: inset 0 var(--su-static1) var(--su-static12) 0 hsl(210, 8%, 68%) !important;
box-shadow: inset 0 var(--su-static1) var(--su-static12) 0 #84878c !important;
}

.t {
Expand Down
2 changes: 1 addition & 1 deletion packages/stacks-classic/lib/atomic/misc.less
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@
// $ OUTLINE
// ----------------------------------------------------------------------------
.outline-none { outline: 0 !important; }
.outline-ring { outline: solid var(--su-static4) var(--translucent-secondary); }
.outline-ring { outline: solid var(--su-static4) var(--translucent-secondary); } // TODO SHINE revisit this value once theme colors are finalized

.f\:outline-ring {
&:focus,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.s-activity-indicator {
--_ai-bg: var(--theme-secondary-400);
--_ai-bg: var(--pink-400);
--_ai-fc: var(--white);
--_ai-min-size: var(--su-static16);
--_ai-p: 0 calc(var(--su-static4) - var(--su-static1));
Expand Down Expand Up @@ -27,7 +27,6 @@

&&__warning {
--_ai-bg: var(--yellow-400);
--_ai-fc: var(--_black-static);

.highcontrast-mode({
--_ai-bg: var(--yellow-500); // needs to be here to override default high contrast
Expand Down
2 changes: 1 addition & 1 deletion packages/stacks-classic/lib/components/anchor/anchor.less
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
}

&&__default {
--_an-a-fc: var(--theme-link-color, var(--theme-secondary-400));
--_an-a-fc: var(--theme-link-color, var(--theme-secondary));
--_an-a-fc-hover: var(--theme-link-color-hover, var(--theme-secondary-500));
--_an-a-fc-visited: var(--theme-link-color-visited, var(--purple-500));
--_an-a-fc-hover-visited: var(--theme-link-color-hover, var(--purple-600));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@
--_ab-before-bg: unset;

// VARIANTS
// TODO SHINE expect a conflict with the award-bling updates. Prefer the changes in https://github.com/StackExchange/Stacks/pull/2013.
&&__gold {
--_ab-before-bg: var(--gold-300);
--_ab-before-bg: var(--yellow-300);
}

&&__silver {
--_ab-before-bg: var(--silver-300);
--_ab-before-bg: var(--blue-300);
}

&&__bronze {
--_ab-before-bg: var(--bronze-300);
--_ab-before-bg: var(--orange-300);
}

// CHILD ELEMENTS
Expand Down
Loading