We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ab8b06 commit db729fbCopy full SHA for db729fb
2 files changed
.changeset/wet-pugs-divide.md
@@ -0,0 +1,5 @@
1
+---
2
+"@primer/view-components": patch
3
4
+
5
+Implement forced colors for progress bar
app/components/primer/beta/progress_bar.pcss
@@ -20,8 +20,19 @@
20
21
.Progress-item {
22
outline: 2px solid transparent; /* Support Firefox custom colors */
23
+ background: LinkText;
24
}
25
26
.Progress-item + .Progress-item {
27
margin-left: var(--base-size-2);
28
29
30
+@media (forced-colors: active) {
31
+ :root {
32
+ --progressBar-track-bgColor: CanvasText;
33
+ }
34
35
+ .Progress, .Progress-item {
36
+ forced-color-adjust: none;
37
38
+}
0 commit comments