From 81f52ee999a11aeab03960e7d54d4ca5d125f822 Mon Sep 17 00:00:00 2001 From: InioX Date: Sun, 3 Dec 2023 09:12:24 +0100 Subject: [PATCH] feat: update example config and template file --- example/colors.css | 52 +++++++++++++++++++++++++++++++++++++++++++++ example/config.toml | 9 ++------ 2 files changed, 54 insertions(+), 7 deletions(-) create mode 100644 example/colors.css diff --git a/example/colors.css b/example/colors.css new file mode 100644 index 0000000..dce1089 --- /dev/null +++ b/example/colors.css @@ -0,0 +1,52 @@ +@define-color primary @{primary}; +@define-color on_primary @{on_primary}; +@define-color primary_container @{primary_container}; +@define-color on_primary_container @{on_primary_container}; +@define-color secondary @{secondary}; +@define-color on_secondary @{on_secondary}; +@define-color secondary_container @{secondary_container}; +@define-color on_secondary_container @{on_secondary_container}; +@define-color tertiary @{tertiary}; +@define-color on_tertiary @{on_tertiary}; +@define-color tertiary_container @{tertiary_container}; +@define-color on_tertiary_container @{on_tertiary_container}; +@define-color error @{error}; +@define-color on_error @{on_error}; +@define-color error_container @{error_container}; +@define-color on_error_container @{on_error_container}; +@define-color surface @{surface}; +@define-color on_surface @{on_surface}; +@define-color on_surface_variant @{on_surface_variant}; +@define-color outline @{outline}; +@define-color shadow @{shadow}; +@define-color scrim @{scrim}; +@define-color inverse_surface @{inverse_surface}; +@define-color inverse_on_surface @{inverse_on_surface}; +@define-color inverse_primary @{inverse_primary}; + +@define-color source_color @{source_color}; +@define-color color_accent_primary @{color_accent_primary}; +@define-color color_accent_primary_variant @{color_accent_primary_variant}; +@define-color color_accent_secondary @{color_accent_secondary}; +@define-color color_accent_secondary_variant @{color_accent_secondary_variant}; +@define-color color_accent_tertiary @{color_accent_tertiary}; +@define-color color_accent_tertiary_variant @{color_accent_tertiary_variant}; +@define-color text_color_primary @{text_color_primary}; +@define-color text_color_secondary @{text_color_secondary}; +@define-color text_color_tertiary @{text_color_tertiary}; +@define-color text_color_primary_inverse @{text_color_primary_inverse}; +@define-color text_color_secondary_inverse @{text_color_secondary_inverse}; +@define-color text_color_tertiary_inverse @{text_color_tertiary_inverse}; +@define-color color_background @{color_background}; +@define-color color_background_floating @{color_background_floating}; +@define-color color_surface @{color_surface}; +@define-color color_surface_variant @{color_surface_variant}; +@define-color color_surface_highlight @{color_surface_highlight}; +@define-color surface_header @{surface_header}; +@define-color under_surface @{under_surface}; +@define-color off_state @{off_state}; +@define-color accent_surface @{accent_surface}; +@define-color text_primary_on_accent @{text_primary_on_accent}; +@define-color text_secondary_on_accent @{text_secondary_on_accent}; +@define-color volume_background @{volume_background}; +@define-color scrim_android @{scrim_android}; \ No newline at end of file diff --git a/example/config.toml b/example/config.toml index 3ccc68c..92a0d04 100644 --- a/example/config.toml +++ b/example/config.toml @@ -1,6 +1,4 @@ [config] -reload_apps = true -reload_gtk_theme = false set_wallpaper = true wallpaper_tool = 'Swww' prefix = '@' @@ -8,10 +6,7 @@ swww_options = [ "--transition-type", "center", ] -run_after = [ - [ "echo", "'hello'" ] -] [templates.name1] -input_path = "~/colors.css" -output_path = "~/.config/colors.css" \ No newline at end of file +input_path = "~/dev/matugen/example/colors.css" +output_path = "~/dev/matugen/example/a/colors-generated.css" \ No newline at end of file