Skip to content

Commit 5f31936

Browse files
Update accent color tokens (#942)
1 parent 16b0cc7 commit 5f31936

File tree

36 files changed

+18
-12
lines changed

36 files changed

+18
-12
lines changed

.changeset/wicked-cooks-hope.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@primer/brand-primitives': patch
3+
'@primer/react-brand': patch
4+
---
5+
6+
Update the default `primary` and `secondary` accent color tokens from `pink` and `purple` to `green` and `yellow`, respectively.

package-lock.json

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/design-tokens/src/tokens/functional/colors/global.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@
3838
},
3939
"accent": {
4040
"primary": {
41-
"value": "var(--base-color-scale-pink-5)",
42-
"dark": "var(--base-color-scale-pink-3)"
41+
"value": "var(--base-color-scale-green-5)",
42+
"dark": "var(--base-color-scale-green-3)"
4343
},
4444
"secondary": {
45-
"value": "var(--base-color-scale-purple-5)",
46-
"dark": "var(--base-color-scale-purple-3)"
45+
"value": "var(--base-color-scale-yellow-5)",
46+
"dark": "var(--base-color-scale-yellow-3)"
4747
}
4848
},
4949
"text": {
Loading

packages/react/src/recipes/SolutionTemplates/SolutionPage/SolutionPage.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ export function SolutionPage({
589589
<Grid>
590590
<Grid.Column span={{medium: 10}} start={{medium: 2}}>
591591
<Box animate="fade-in">
592-
<Testimonial size="large" quoteMarkColor="pink">
592+
<Testimonial size="large" quoteMarkColor="green">
593593
<Testimonial.Quote>
594594
<TextRevealAnimation>
595595
GitHub helps us ensure that we have our security controls baked into our pipelines
@@ -832,7 +832,7 @@ function TimelineExample() {
832832
function PillarExample() {
833833
return (
834834
<Pillar>
835-
<Pillar.Icon color="pink" icon={<ZapIcon />} />
835+
<Pillar.Icon color="green" icon={<ZapIcon />} />
836836
<Pillar.Heading>Here is a core value proposition of this new feature on one or two lines</Pillar.Heading>
837837
<Pillar.Description>
838838
Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sapien sit ullamcorper id aliquam luctus sed turpis.

0 commit comments

Comments
 (0)