From 3e70c4c968c656607d4e1fc7c9dc5ca3389401e8 Mon Sep 17 00:00:00 2001 From: Bernd Reuther Date: Mon, 5 Oct 2026 19:36:58 +0200 Subject: [PATCH] farbschema angepasst --- editor.py | 6 +++--- recorder.py | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/editor.py b/editor.py index a648106..aa9355e 100644 --- a/editor.py +++ b/editor.py @@ -46,13 +46,13 @@ DEFAULT_SETTINGS = { } 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", "success": "#2e7d32", "warning": "#ed6c02", "danger": "#d32f2f", } 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", "success": "Erfolg", "warning": "Warnung", "danger": "Fehler / Gefahr", } @@ -85,7 +85,7 @@ def derive_theme(base): return { "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), - "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, "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), diff --git a/recorder.py b/recorder.py index 9953640..efb3ca9 100644 --- a/recorder.py +++ b/recorder.py @@ -81,13 +81,13 @@ DEFAULT_SETTINGS = { } 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", "success": "#2e7d32", "warning": "#ed6c02", "danger": "#d32f2f", } 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", "success": "Erfolg", "warning": "Warnung", "danger": "Fehler / Gefahr", } @@ -120,7 +120,7 @@ def derive_theme(base): return { "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), - "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, "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),