Skip to content

Commit

Permalink
fix(portalplayer): support dark-theme (#4229)
Browse files Browse the repository at this point in the history
* try and fix color

* Update stylesheets/commons/Colours.less

Co-authored-by: hjpalpha <[email protected]>

* make linter happy

* add empty line

* adjust so it actually works

- use -30 instead of -20 to differentiate from `.bg-neutral`
- apply to "all" the classes, incl the one used in the screenshot

tested in dev tools

---------

Co-authored-by: hjpalpha <[email protected]>
  • Loading branch information
iamentry and hjpalpha authored Apr 29, 2024
1 parent 40182a6 commit a5552b4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions stylesheets/commons/Colours.less
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ Besides these twelve there is Gray which will fit in with them very well. There
ul.nav-tabs li.game-none,
.overview.game-none {
background-color: var( --clr-moon-80, #d3d3d3 );

.theme--dark & {
background: var( --clr-moon-30 );
}
}

.gray-bg-alt,
Expand Down

0 comments on commit a5552b4

Please sign in to comment.