From b4249af68ed64447ee44f0aa5e3f0bcec16912e8 Mon Sep 17 00:00:00 2001 From: bbedward Date: Wed, 20 Aug 2025 23:20:22 -0400 Subject: [PATCH] matugen = not dependento n GTK and QT, update ghostty colors --- Common/Theme.qml | 6 +----- templates/ghostty-colors.conf | 14 +++++++------- 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/Common/Theme.qml b/Common/Theme.qml index 9610d365..6707db54 100644 --- a/Common/Theme.qml +++ b/Common/Theme.qml @@ -535,11 +535,7 @@ Singleton { return } - if (gtkThemingEnabled && typeof SettingsData !== "undefined" && SettingsData.gtkThemingEnabled) { - generateSystemThemes() - } else if (qtThemingEnabled && typeof SettingsData !== "undefined" && SettingsData.qtThemingEnabled) { - generateSystemThemes() - } + generateSystemThemes() } diff --git a/templates/ghostty-colors.conf b/templates/ghostty-colors.conf index 0b11b93a..5fc37708 100644 --- a/templates/ghostty-colors.conf +++ b/templates/ghostty-colors.conf @@ -2,7 +2,7 @@ background = {{colors.background.default.hex}} foreground = {{colors.on_background.default.hex}} cursor-color = {{colors.inverse_primary.default.hex}} selection-background = {{colors.secondary.default.hex}} -selection-foreground = {{colors.on_secondary.default.hex}} +selection-foreground = #ffffff palette = 0={{colors.background.default.hex}} palette = 1={{colors.error.default.hex}} palette = 2={{colors.tertiary.default.hex}} @@ -11,11 +11,11 @@ palette = 4={{colors.primary.default.hex}} palette = 5={{colors.tertiary_container.default.hex}} palette = 6={{colors.inverse_primary.default.hex}} palette = 7={{colors.on_background.default.hex}} -palette = 8={{colors.surface_container.default.hex}} -palette = 9={{colors.error_container.default.hex}} -palette = 10={{colors.tertiary_container.default.hex}} -palette = 11={{colors.secondary_container.default.hex}} -palette = 12={{colors.primary_container.default.hex}} +palette = 8={{colors.on_surface_variant.default.hex}} +palette = 9={{colors.error.default.hex}} +palette = 10={{colors.tertiary.default.hex}} +palette = 11={{colors.secondary.default.hex}} +palette = 12={{colors.primary.default.hex}} palette = 13={{colors.outline.default.hex}} -palette = 14={{colors.outline_variant.default.hex}} +palette = 14={{colors.inverse_primary.default.hex}} palette = 15={{colors.on_surface.default.hex}} \ No newline at end of file