Skip to content

Commit d4f23fb

Browse files
authored
experimental/SelectPanel v2: Fix heading color (#4757)
* set default foreground color for dialog * Create real-bees-vanish.md * test(vrt): update snapshots --------- Co-authored-by: siddharthkp <[email protected]>
1 parent f0fc748 commit d4f23fb

File tree

7 files changed

+6
-0
lines changed

7 files changed

+6
-0
lines changed

.changeset/real-bees-vanish.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+
experimental/SelectPanel v2: Fix heading color for dark themes

packages/react/src/drafts/SelectPanel2/SelectPanel.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ const Panel: React.FC<SelectPanelProps> = ({
249249
// reset dialog default styles
250250
border: 'none',
251251
padding: 0,
252+
color: 'fg.default',
252253
'&[open]': {display: 'flex'}, // to fit children
253254

254255
'&[data-variant="anchored"], &[data-variant="full-screen"]': {

0 commit comments

Comments
 (0)