fix: missing dark mode styles

This commit is contained in:
alistair3149 2021-01-14 17:06:00 -05:00
parent 4bde131f77
commit 1517921cc5
No known key found for this signature in database
GPG key ID: 94D081060FD3DD9C
2 changed files with 15 additions and 0 deletions

View file

@ -68,6 +68,14 @@
}
}
&:hover {
background-color: var( --background-color-quiet--hover );
}
&.oo-ui-optionWidget-selected {
background-color: var( --color-primary--active );
}
&:not( :last-child ):not( .mw-rcfilters-ui-itemMenuOptionWidget-identifier-talk ) {
border-color: var( --border-color-base );
}

View file

@ -681,3 +681,10 @@
.oo-ui-progressBarWidget.oo-ui-widget-disabled .oo-ui-progressBarWidget-bar {
background-color: var( --background-color-framed--active );
}
// Invert icon for dark mode
.skin-citizen-dark {
.oo-ui-iconElement-icon {
filter: invert( 1 ) hue-rotate( 180deg );
}
}