Skip to content

Commit 1d8759a

Browse files
Lukasoppermann/radio disabled fix (#7267)
1 parent 34612e7 commit 1d8759a

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.changeset/forty-aliens-shine.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@primer/react': patch
3+
---
4+
5+
Used correct tokens for disabled radio control

packages/react/src/Radio/Radio.module.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
&:disabled {
1717
cursor: not-allowed;
1818
/* stylelint-disable-next-line primer/colors */
19-
background-color: var(--fgColor-muted);
19+
background-color: var(--control-checked-fgColor-disabled);
2020
/* stylelint-disable-next-line primer/colors */
21-
border-color: var(--fgColor-muted);
21+
border-color: var(--control-checked-bgColor-disabled);
2222
}
2323
}
2424

0 commit comments

Comments
 (0)