mirror of
https://github.com/flarum/core.git
synced 2025-08-07 00:47:00 +02:00
feat: add text color variables not depending on the dark/light mode
This commit is contained in:
@@ -64,6 +64,13 @@
|
||||
@code-color: #fff;
|
||||
}
|
||||
|
||||
// Beyond dark or light mode, we need stable colors depending on the luminosity
|
||||
// of the parents element's background. This allow not to change the color
|
||||
// variable depending on the dark/light mode to get the same final color, and
|
||||
// thus to simplify the logic.
|
||||
@text-on-dark: #ddd;
|
||||
@text-on-light: #111;
|
||||
|
||||
@hero-bg: @control-bg;
|
||||
@hero-color: @control-color;
|
||||
@hero-muted-color: @control-color;
|
||||
|
Reference in New Issue
Block a user