Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/sweet-islands-sleep.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/react': patch
---

Replace StateLabel color with new draft token
4 changes: 2 additions & 2 deletions packages/react/src/StateLabel/StateLabel.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@
}

.StateLabel:where([data-status='draft']) {
background-color: var(--bgColor-neutral-emphasis);
background-color: var(--bgColor-draft-emphasis, var(--bgColor-neutral-emphasis));
color: var(--fgColor-onEmphasis);
box-shadow: var(--boxShadow-thin, inset 0 0 0 1px) var(--borderColor-neutral-emphasis, transparent);
}

.StateLabel:where([data-status='issueDraft']) {
background-color: var(--bgColor-neutral-emphasis);
background-color: var(--bgColor-draft-emphasis, var(--bgColor-neutral-emphasis));
color: var(--fgColor-onEmphasis);
box-shadow: var(--boxShadow-thin, inset 0 0 0 1px) var(--borderColor-neutral-emphasis, transparent);
}
Expand Down
Loading