farbschema angepasst
This commit is contained in:
1 parent
fc9a2538af
commit
3e70c4c968
2 files changed
+6
-6
No files matched your search
@@ -46,13 +46,13 @@ DEFAULT_SETTINGS = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
BASE_THEME = {
|
BASE_THEME = {
|
||||||
"background": "#111111", "surface": "#181818", "surface_dark": "#0b0b0b", "text": "#eeeeee",
|
"background": "#111111", "surface": "#181818", "surface_dark": "#0b0b0b", "border": "#4a4a4a", "text": "#eeeeee",
|
||||||
"text_secondary": "#cccccc", "primary": "#1769aa", "accent": "#ffcc33",
|
"text_secondary": "#cccccc", "primary": "#1769aa", "accent": "#ffcc33",
|
||||||
"success": "#2e7d32", "warning": "#ed6c02", "danger": "#d32f2f",
|
"success": "#2e7d32", "warning": "#ed6c02", "danger": "#d32f2f",
|
||||||
}
|
}
|
||||||
|
|
||||||
BASE_COLOR_LABELS = {
|
BASE_COLOR_LABELS = {
|
||||||
"background": "Hintergrund", "surface_dark": "Dunkle Fläche", "surface": "Flächen", "text": "Text",
|
"background": "Hintergrund", "surface_dark": "Dunkle Fläche", "surface": "Flächen", "border": "Rahmen", "text": "Text",
|
||||||
"text_secondary": "Sekundärtext", "primary": "Primärfarbe", "accent": "Akzentfarbe",
|
"text_secondary": "Sekundärtext", "primary": "Primärfarbe", "accent": "Akzentfarbe",
|
||||||
"success": "Erfolg", "warning": "Warnung", "danger": "Fehler / Gefahr",
|
"success": "Erfolg", "warning": "Warnung", "danger": "Fehler / Gefahr",
|
||||||
}
|
}
|
||||||
@@ -85,7 +85,7 @@ def derive_theme(base):
|
|||||||
return {
|
return {
|
||||||
"background": bg, "surface": surface, "surface_alt": _lighten(surface,.12), "surface_dark": surface_dark,
|
"background": bg, "surface": surface, "surface_alt": _lighten(surface,.12), "surface_dark": surface_dark,
|
||||||
"text": text, "text_secondary": secondary, "text_muted": _mix(secondary,bg,.35), "text_faint": _mix(secondary,bg,.58),
|
"text": text, "text_secondary": secondary, "text_muted": _mix(secondary,bg,.35), "text_faint": _mix(secondary,bg,.58),
|
||||||
"border": _lighten(surface,.28), "border_subtle": _lighten(surface,.16), "control": _lighten(surface,.12), "control_hover": _lighten(surface,.24),
|
"border": c["border"], "border_subtle": _mix(surface,c["border"],.45), "control": _mix(surface,c["border"],.55), "control_hover": _lighten(c["border"],.12),
|
||||||
"primary": primary, "primary_hover": _lighten(primary,.16), "accent": accent,
|
"primary": primary, "primary_hover": _lighten(primary,.16), "accent": accent,
|
||||||
"success": _darken(success,.42), "success_text": _lighten(success,.68), "warning": _darken(warning,.48),
|
"success": _darken(success,.42), "success_text": _lighten(success,.68), "warning": _darken(warning,.48),
|
||||||
"danger": danger, "danger_soft": _darken(danger,.58), "danger_soft_hover": _darken(danger,.42),
|
"danger": danger, "danger_soft": _darken(danger,.58), "danger_soft_hover": _darken(danger,.42),
|
||||||
|
|||||||
+3
-3
@@ -81,13 +81,13 @@ DEFAULT_SETTINGS = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
BASE_THEME = {
|
BASE_THEME = {
|
||||||
"background": "#111111", "surface": "#181818", "surface_dark": "#0b0b0b", "text": "#eeeeee",
|
"background": "#111111", "surface": "#181818", "surface_dark": "#0b0b0b", "border": "#4a4a4a", "text": "#eeeeee",
|
||||||
"text_secondary": "#cccccc", "primary": "#1769aa", "accent": "#ffcc33",
|
"text_secondary": "#cccccc", "primary": "#1769aa", "accent": "#ffcc33",
|
||||||
"success": "#2e7d32", "warning": "#ed6c02", "danger": "#d32f2f",
|
"success": "#2e7d32", "warning": "#ed6c02", "danger": "#d32f2f",
|
||||||
}
|
}
|
||||||
|
|
||||||
BASE_COLOR_LABELS = {
|
BASE_COLOR_LABELS = {
|
||||||
"background": "Hintergrund", "surface_dark": "Dunkle Fläche", "surface": "Flächen", "text": "Text",
|
"background": "Hintergrund", "surface_dark": "Dunkle Fläche", "surface": "Flächen", "border": "Rahmen", "text": "Text",
|
||||||
"text_secondary": "Sekundärtext", "primary": "Primärfarbe", "accent": "Akzentfarbe",
|
"text_secondary": "Sekundärtext", "primary": "Primärfarbe", "accent": "Akzentfarbe",
|
||||||
"success": "Erfolg", "warning": "Warnung", "danger": "Fehler / Gefahr",
|
"success": "Erfolg", "warning": "Warnung", "danger": "Fehler / Gefahr",
|
||||||
}
|
}
|
||||||
@@ -120,7 +120,7 @@ def derive_theme(base):
|
|||||||
return {
|
return {
|
||||||
"background": bg, "surface": surface, "surface_alt": _lighten(surface,.12), "surface_dark": surface_dark,
|
"background": bg, "surface": surface, "surface_alt": _lighten(surface,.12), "surface_dark": surface_dark,
|
||||||
"text": text, "text_secondary": secondary, "text_muted": _mix(secondary,bg,.35), "text_faint": _mix(secondary,bg,.58),
|
"text": text, "text_secondary": secondary, "text_muted": _mix(secondary,bg,.35), "text_faint": _mix(secondary,bg,.58),
|
||||||
"border": _lighten(surface,.28), "border_subtle": _lighten(surface,.16), "control": _lighten(surface,.12), "control_hover": _lighten(surface,.24),
|
"border": c["border"], "border_subtle": _mix(surface,c["border"],.45), "control": _mix(surface,c["border"],.55), "control_hover": _lighten(c["border"],.12),
|
||||||
"primary": primary, "primary_hover": _lighten(primary,.16), "accent": accent,
|
"primary": primary, "primary_hover": _lighten(primary,.16), "accent": accent,
|
||||||
"success": _darken(success,.42), "success_text": _lighten(success,.68), "warning": _darken(warning,.48),
|
"success": _darken(success,.42), "success_text": _lighten(success,.68), "warning": _darken(warning,.48),
|
||||||
"danger": danger, "danger_soft": _darken(danger,.58), "danger_soft_hover": _darken(danger,.42),
|
"danger": danger, "danger_soft": _darken(danger,.58), "danger_soft_hover": _darken(danger,.42),
|
||||||
|
|||||||
Reference in new issue
Block a user