mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2025-06-29 03:26:16 +00:00
Functional settings menu plus sass stuff apparently?
This commit is contained in:
parent
1a59e413a9
commit
317c875cf0
22 changed files with 256 additions and 153 deletions
|
@ -18,7 +18,11 @@ def colour_contrast(colour):
|
|||
"color: var(--fg-white);" or "color: var(--fg-black);"
|
||||
"""
|
||||
colour_obj = colour_utils.Colour(colour)
|
||||
return "rgb(var(--fg-black));" if colour_obj.is_light() else "rgb(var(--fg-white));"
|
||||
return (
|
||||
"var(--foreground-black);"
|
||||
if colour_obj.is_light()
|
||||
else "var(--foreground-white);"
|
||||
)
|
||||
|
||||
|
||||
@blueprint.app_template_filter()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue