Skip to content

Commit b0acdff

Browse files
lukasoppermannCopilotlangermank
authored
Replace State draft colors with new draft token (#3692)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Katie Langerman <18661030+langermank@users.noreply.github.com>
1 parent 263b185 commit b0acdff

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

.changeset/every-suns-fold.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@primer/view-components': patch
3+
---
4+
5+
Replacing color tokens for StateLabel draft with new draft tokens

app/components/primer/beta/state.pcss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@
2121
.State,
2222
.State--draft {
2323
color: var(--fgColor-onEmphasis);
24-
background-color: var(--bgColor-neutral-emphasis);
24+
/* stylelint-disable-next-line primer/colors */
25+
background-color: var(--bgColor-draft-emphasis, var(--bgColor-neutral-emphasis));
2526
border: var(--borderWidth-thin) solid transparent;
26-
box-shadow: var(--boxShadow-thin) var(--borderColor-neutral-emphasis);
27+
box-shadow: var(--boxShadow-thin) var(--borderColor-draft-emphasis, var(--borderColor-neutral-emphasis));
2728
}
2829

2930
.State--open {

0 commit comments

Comments
 (0)