Visitar URL original
Remove default color styles for data-color-mode (#3059) · primer/css@e97b2ee · GitHub
Skip to content

Commit e97b2ee

Browse files
authored
Remove default color styles for data-color-mode (#3059)
* Remove default color styles for data-color-mode Removed default color mode styles for data-color-mode. * Change '@primer/css' version and update color styles Updated the version of '@primer/css' from patch to minor and removed default color styles for data-color-mode.
1 parent 86213af commit e97b2ee

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎.changeset/small-tigers-tell.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/css": minor
3+
---
4+
5+
Remove default color styles for data-color-mode

‎src/base/native-colors.scss‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@
55

66
@include color-mode(dark) { color-scheme: dark; }
77

8-
[data-color-mode] {
9-
color: var(--fgColor-default, var(--color-fg-default));
10-
background-color: var(--bgColor-default, var(--color-canvas-default));
11-
}
12-
138
// Windows High Contrast mode
149

1510
// Improves focus state for various components when Windows High Contrast mode is enabled

0 commit comments

Comments
 (0)