From 44e534856a8e0a97bac9ce490bbc419a4cea6365 Mon Sep 17 00:00:00 2001 From: ItsLemmy Date: Wed, 1 Oct 2025 22:59:33 -0400 Subject: [PATCH] Matugen templates improvement --- Assets/Matugen/templates/ghostty.conf | 41 +++++++++++++-------------- Assets/Matugen/templates/gtk3.css | 24 +++++++++++++++- Assets/Matugen/templates/kitty.conf | 29 +++++++++---------- 3 files changed, 56 insertions(+), 38 deletions(-) mode change 120000 => 100644 Assets/Matugen/templates/gtk3.css diff --git a/Assets/Matugen/templates/ghostty.conf b/Assets/Matugen/templates/ghostty.conf index 08ce7ef1..131561d2 100644 --- a/Assets/Matugen/templates/ghostty.conf +++ b/Assets/Matugen/templates/ghostty.conf @@ -1,25 +1,22 @@ -palette = 0= {{colors.shadow.default.hex}} +palette = 0= {{colors.surface_variant.default.hex}} palette = 1= {{colors.error.default.hex}} -palette = 2= {{colors.tertiary.default.hex}} +palette = 2= {{colors.primary.default.hex}} palette = 3= {{colors.secondary.default.hex}} -palette = 4= {{colors.primary.default.hex}} -palette = 5= {{colors.primary.default.hex}} -palette = 6= {{colors.secondary.default.hex}} -palette = 7= {{colors.on_background.default.hex}} -palette = 8= {{colors.outline.default.hex}} -palette = 9= {{colors.secondary_fixed_dim.default.hex}} -palette = 10= {{colors.tertiary_container.default.hex}} -palette = 11= {{colors.surface_container.default.hex}} -palette = 12= {{colors.primary_container.default.hex}} -palette = 13= {{colors.on_primary_container.default.hex}} -palette = 14= {{colors.surface_variant.default.hex}} -palette = 15= {{colors.primary.default.hex}} - -foreground={{colors.on_surface.default.hex}} -background={{colors.surface.default.hex}} - +palette = 4= {{colors.tertiary.default.hex}} +palette = 5= {{colors.primary_fixed_dim.default.hex}} +palette = 6= {{colors.secondary_fixed_dim.default.hex}} +palette = 7= {{colors.on_surface.default.hex}} +palette = 8= {{colors.on_surface_variant.default.hex}} +palette = 9= {{colors.error.default.hex}} +palette = 10= {{colors.primary.default.hex}} +palette = 11= {{colors.secondary.default.hex}} +palette = 12= {{colors.tertiary.default.hex}} +palette = 13= {{colors.primary_fixed_dim.default.hex}} +palette = 14= {{colors.secondary_fixed_dim.default.hex}} +palette = 15= {{colors.on_surface.default.hex}} +background = {{colors.surface.default.hex}} +foreground = {{colors.on_surface.default.hex}} cursor-color = {{colors.on_surface.default.hex}} -cursor-text = {{colors.on_surface.default.hex}} - -selection-background = {{colors.on_secondary.default.hex}} -selection-foreground = {{colors.secondary_fixed_dim.default.hex}} +cursor-text = {{colors.surface.default.hex}} +selection-background = {{colors.tertiary.default.hex}} +selection-foreground = {{colors.on_tertiary.default.hex}} \ No newline at end of file diff --git a/Assets/Matugen/templates/gtk3.css b/Assets/Matugen/templates/gtk3.css deleted file mode 120000 index bbb0f953..00000000 --- a/Assets/Matugen/templates/gtk3.css +++ /dev/null @@ -1 +0,0 @@ -gtk4.css \ No newline at end of file diff --git a/Assets/Matugen/templates/gtk3.css b/Assets/Matugen/templates/gtk3.css new file mode 100644 index 00000000..e5ae1352 --- /dev/null +++ b/Assets/Matugen/templates/gtk3.css @@ -0,0 +1,23 @@ +/* +* GTK Colors +* Generated with Matugen +*/ + +@define-color accent_color {{colors.primary.default.hex}}; +@define-color accent_bg_color {{colors.primary.default.hex}}; +@define-color accent_fg_color {{colors.on_primary.default.hex}}; +@define-color window_bg_color {{colors.surface.default.hex}}; +@define-color window_fg_color {{colors.on_surface.default.hex}}; +@define-color headerbar_bg_color {{colors.surface.default.hex}}; +@define-color headerbar_fg_color {{colors.on_surface.default.hex}}; +@define-color popover_bg_color {{colors.surface_variant.default.hex}}; +@define-color popover_fg_color {{colors.on_surface_variant.default.hex}}; +@define-color view_bg_color {{colors.surface.default.hex}}; +@define-color view_fg_color {{colors.on_surface.default.hex}}; +@define-color card_bg_color {{colors.surface.default.hex}}; +@define-color card_fg_color {{colors.on_surface.default.hex}}; + +@define-color sidebar_bg_color @window_bg_color; +@define-color sidebar_fg_color @window_fg_color; +@define-color sidebar_border_color @window_bg_color; +@define-color sidebar_backdrop_color @window_bg_color; diff --git a/Assets/Matugen/templates/kitty.conf b/Assets/Matugen/templates/kitty.conf index 29c9a17b..4a3e55c0 100644 --- a/Assets/Matugen/templates/kitty.conf +++ b/Assets/Matugen/templates/kitty.conf @@ -3,23 +3,22 @@ color1 {{colors.error.default.hex}} color2 {{colors.tertiary.default.hex}} color3 {{colors.secondary.default.hex}} color4 {{colors.primary.default.hex}} -color5 {{colors.primary_fixed_dim.default.hex}} +color5 {{colors.tertiary_fixed_dim.default.hex}} color6 {{colors.secondary_fixed_dim.default.hex}} color7 {{colors.on_surface.default.hex}} color8 {{colors.outline.default.hex}} -color9 {{colors.tertiary_fixed_dim.default.hex}} -color10 {{colors.tertiary_container.default.hex}} -color11 {{colors.surface_container.default.hex}} -color12 {{colors.primary_container.default.hex}} -color13 {{colors.surface_dim.default.hex}} -color14 {{colors.surface_variant.default.hex}} -color15 {{colors.on_background.default.hex}} +color9 {{colors.error.default.hex}} +color10 {{colors.tertiary.default.hex}} +color11 {{colors.secondary.default.hex}} +color12 {{colors.primary.default.hex}} +color13 {{colors.tertiary_fixed_dim.default.hex}} +color14 {{colors.secondary_fixed_dim.default.hex}} +color15 {{colors.on_surface.default.hex}} -cursor {{colors.primary.default.hex}} -cursor_text_color {{colors.on_surface.default.hex}} - -foreground {{colors.on_surface.default.hex}} +cursor {{colors.on_surface.default.hex}} +cursor_text_color {{colors.surface.default.hex}} background {{colors.surface.default.hex}} -selection_foreground {{colors.on_secondary.default.hex}} -selection_background {{colors.secondary_fixed_dim.default.hex}} -url_color {{colors.primary.default.hex}} +foreground {{colors.on_surface.default.hex}} +selection_foreground {{colors.on_surface.default.hex}} +selection_background {{colors.surface.default.hex}} +url_color {{colors.primary.default.hex}} \ No newline at end of file