Skip to content

Commit e9794c0

Browse files
Merge pull request #6 from AlexTheMagnus/adapt_experiment_indicator_to_darkmode
Feat: Adapt active experiment indicator to darkmode
2 parents e17ffff + add553a commit e9794c0

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

src/dark.css

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
--boder-color: #2e3247;
77
--selected-item-background: #2e3247;
88
--highlight: #9aa2fc;
9+
--enabled-experiment: #10c45e;
910
}
1011

1112
main, .bg-white {
@@ -20,8 +21,11 @@ main, .bg-white {
2021
color: var(--light-element) !important;
2122
}
2223

23-
.icon-dark-gray-600 > *[fill].icon-dark {
24+
.icon-dark-gray-600 > *[fill].icon-dark,
25+
.icon-light-gray-50 > *[fill][stroke].icon-light-fill,
26+
.icon-dark-gray-200 > *[fill][stroke].icon-dark-stroke {
2427
fill: var(--light-element) !important;
28+
stroke: var(--light-element) !important;
2529
}
2630

2731
.icon-dark-white > *[fill].icon-dark, *[fill].icon-dark-gray-500, .icon-light-gray-50 > *[fill].icon-light {
@@ -84,4 +88,18 @@ main, .bg-white {
8488

8589
.divide-gray-100 > :not([hidden]) ~ :not([hidden]) {
8690
border-color: var(--boder-color) !important;
87-
}
91+
}
92+
93+
.icon-light-fill {
94+
fill: var(--light-element) !important;
95+
}
96+
97+
.text-jade-500 {
98+
color: var(--enabled-experiment) !important;
99+
}
100+
101+
.icon-light-jade-500 > *[fill][stroke].icon-light-fill,
102+
.icon-dark-jade-500 > *[fill][stroke].icon-dark-stroke {
103+
fill: var(--enabled-experiment) !important;
104+
stroke: var(--enabled-experiment) !important;
105+
}

0 commit comments

Comments
 (0)