shapez.io
shapez.io copied to clipboard
Apply Dark Theme Color-invert to Main Menu Top Buttons
trafficstars
Pulled the language button's color out of border and into a local variable so that can be inverted instead of the whole button. Applied "invert" filter for other top buttons.
Nice, will have a look soon!
This change seems to work correctly:
However, it might be even better to just invert the variable before it gets used, and specify it as background-color too:
$languageBorderColor: #222428;
@include DarkThemeOverride {
$languageBorderColor: invert($languageBorderColor);
}
// ...
border: solid $languageBorderColor;
background-color: $languageBorderColor !important;
The scope of this change is Main Menu state, so there should be no regressions.