mirror of
https://github.com/zen-browser/theme-store.git
synced 2025-07-07 08:55:31 +02:00
feat: Add support for dialog background and accent color in theme creation
This commit is contained in:
parent
d79903e3ea
commit
653dbf406f
1 changed files with 4 additions and 0 deletions
|
@ -14,6 +14,10 @@ def get_color_css_variable(color):
|
|||
return '--zen-colors-tertiary'
|
||||
if color == "colorsBorder":
|
||||
return '--zen-colors-border'
|
||||
if color == "dialogBg":
|
||||
return '--zen-dialog-background'
|
||||
if color == "accentColor":
|
||||
return '--zen-primary-color'
|
||||
print(f"Unknown color: {color}")
|
||||
exit(1)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue