Skip to content

Commit

Permalink
Merge pull request #6 from AlexTheMagnus/adapt_experiment_indicator_t…
Browse files Browse the repository at this point in the history
…o_darkmode

Feat: Adapt active experiment indicator to darkmode
  • Loading branch information
AlexTheMagnus authored Oct 23, 2022
2 parents e17ffff + add553a commit e9794c0
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions src/dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
--boder-color: #2e3247;
--selected-item-background: #2e3247;
--highlight: #9aa2fc;
--enabled-experiment: #10c45e;
}

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

.icon-dark-gray-600 > *[fill].icon-dark {
.icon-dark-gray-600 > *[fill].icon-dark,
.icon-light-gray-50 > *[fill][stroke].icon-light-fill,
.icon-dark-gray-200 > *[fill][stroke].icon-dark-stroke {
fill: var(--light-element) !important;
stroke: var(--light-element) !important;
}

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

.divide-gray-100 > :not([hidden]) ~ :not([hidden]) {
border-color: var(--boder-color) !important;
}
}

.icon-light-fill {
fill: var(--light-element) !important;
}

.text-jade-500 {
color: var(--enabled-experiment) !important;
}

.icon-light-jade-500 > *[fill][stroke].icon-light-fill,
.icon-dark-jade-500 > *[fill][stroke].icon-dark-stroke {
fill: var(--enabled-experiment) !important;
stroke: var(--enabled-experiment) !important;
}

0 comments on commit e9794c0

Please sign in to comment.