Skip to content

Commit d76d25b

Browse files
committed
Use CSS variable for background color
1 parent 3fc9906 commit d76d25b

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

components/dash-core-components/src/components/css/button.css

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
.dash-button {
22
line-height: 32px;
3-
background: color-mix(
4-
in srgb,
5-
var(--Dash-Fill-Interactive-Strong) 5%,
6-
transparent
7-
);
3+
background: var(--Dash-Fill-Interactive-Weak);
84
color: var(--Dash-Fill-Interactive-Strong);
95
padding: 0 calc(var(--Dash-Spacing) * 2);
106
border-radius: 4px;

components/dash-core-components/src/components/css/calendar.css

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,7 @@
4242
}
4343

4444
.dash-datepicker-calendar td.dash-datepicker-calendar-date-highlighted {
45-
background-color: color-mix(
46-
in srgb,
47-
var(--Dash-Fill-Interactive-Strong) 5%,
48-
transparent 95%
49-
);
45+
background-color: var(--Dash-Fill-Interactive-Weak);
5046
color: var(--Dash-Fill-Interactive-Strong);
5147
}
5248

0 commit comments

Comments
 (0)