mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2025-12-05 21:15:38 -05:00
more matugen tweaks
This commit is contained in:
17
matugen/matugen-content-cfg.toml
Normal file
17
matugen/matugen-content-cfg.toml
Normal file
@@ -0,0 +1,17 @@
|
||||
[config]
|
||||
|
||||
[templates.ghostty-dark]
|
||||
input_path = './matugen/templates/ghostty-colors-dark.conf'
|
||||
output_path = '~/.config/ghostty/config-dankcolors'
|
||||
|
||||
[templates.ghostty-light]
|
||||
input_path = './matugen/templates/ghostty-colors-light.conf'
|
||||
output_path = '~/.config/ghostty/config-dankcolors'
|
||||
|
||||
[templates.dgop]
|
||||
input_path = './matugen/templates/dgop.json'
|
||||
output_path = '~/.config/dgop/colors.json'
|
||||
|
||||
[templates.fastfetch]
|
||||
input_path = './matugen/templates/fastfetch-colors.jsonc'
|
||||
output_path = '~/.config/fastfetch/colors.jsonc'
|
||||
27
matugen/matugen-default-cfg.toml
Normal file
27
matugen/matugen-default-cfg.toml
Normal file
@@ -0,0 +1,27 @@
|
||||
[config]
|
||||
|
||||
[templates.gtk3]
|
||||
input_path = './matugen/templates/gtk-colors.css'
|
||||
output_path = '~/.config/gtk-3.0/dank-colors.css'
|
||||
|
||||
[templates.gtk4]
|
||||
input_path = './matugen/templates/gtk-colors.css'
|
||||
output_path = '~/.config/gtk-4.0/dank-colors.css'
|
||||
|
||||
[templates.qt5ct]
|
||||
input_path = './matugen/templates/qtct-colors.conf'
|
||||
output_path = '~/.config/qt5ct/colors/matugen.conf'
|
||||
|
||||
[templates.qt6ct]
|
||||
input_path = './matugen/templates/qtct-colors.conf'
|
||||
output_path = '~/.config/qt6ct/colors/matugen.conf'
|
||||
|
||||
[templates.kcolorscheme]
|
||||
input_path = './matugen/templates/matugen-kcolorscheme.colors'
|
||||
output_path = '~/.local/share/color-schemes/DankMatugen.colors'
|
||||
|
||||
|
||||
[templates.niri]
|
||||
input_path = './matugen/templates/niri-colors.kdl'
|
||||
output_path = '~/.config/niri/dankshell-colors.kdl'
|
||||
|
||||
49
matugen/templates/dgop.json
Normal file
49
matugen/templates/dgop.json
Normal file
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"ui": {
|
||||
"border_primary": "{{colors.primary.default.hex}}",
|
||||
"border_secondary": "{{colors.secondary.default.hex}}",
|
||||
"header_background": "{{colors.primary.default.hex}}",
|
||||
"header_text": "{{colors.on_primary.default.hex}}",
|
||||
"footer_background": "{{colors.surface_container.default.hex}}",
|
||||
"footer_text": "{{colors.on_surface_variant.default.hex}}",
|
||||
"text_primary": "{{colors.on_surface.default.hex}}",
|
||||
"text_secondary": "{{colors.on_surface_variant.default.hex}}",
|
||||
"text_accent": "{{colors.primary.default.hex}}",
|
||||
"selection_background": "{{colors.primary.default.hex}}",
|
||||
"selection_text": "{{colors.on_primary.default.hex}}"
|
||||
},
|
||||
"charts": {
|
||||
"network_download": "{{colors.primary.default.hex}}",
|
||||
"network_upload": "{{colors.primary_container.default.hex}}",
|
||||
"network_line": "{{colors.secondary.default.hex}}",
|
||||
"cpu_core_low": "{{colors.primary_container.default.hex}}",
|
||||
"cpu_core_medium": "{{colors.primary.default.hex}}",
|
||||
"cpu_core_high": "{{colors.tertiary.default.hex}}",
|
||||
"disk_read": "{{colors.primary.default.hex}}",
|
||||
"disk_write": "{{colors.primary_container.default.hex}}"
|
||||
},
|
||||
"progress_bars": {
|
||||
"memory_low": "{{colors.primary_container.default.hex}}",
|
||||
"memory_medium": "{{colors.primary.default.hex}}",
|
||||
"memory_high": "{{colors.tertiary.default.hex}}",
|
||||
"disk_low": "{{colors.primary_container.default.hex}}",
|
||||
"disk_medium": "{{colors.primary.default.hex}}",
|
||||
"disk_high": "{{colors.tertiary.default.hex}}",
|
||||
"cpu_low": "{{colors.primary_container.default.hex}}",
|
||||
"cpu_medium": "{{colors.primary.default.hex}}",
|
||||
"cpu_high": "{{colors.tertiary.default.hex}}",
|
||||
"progress_background": "{{colors.surface_container_high.default.hex}}"
|
||||
},
|
||||
"temperature": {
|
||||
"cold": "{{colors.primary_container.default.hex}}",
|
||||
"warm": "{{colors.primary.default.hex}}",
|
||||
"hot": "{{colors.tertiary.default.hex}}",
|
||||
"danger": "{{colors.error.default.hex}}"
|
||||
},
|
||||
"status": {
|
||||
"success": "#22C55E",
|
||||
"warning": "#F59E0B",
|
||||
"error": "{{colors.error.default.hex}}",
|
||||
"info": "{{colors.primary.default.hex}}"
|
||||
}
|
||||
}
|
||||
11
matugen/templates/fastfetch-colors.jsonc
Normal file
11
matugen/templates/fastfetch-colors.jsonc
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
|
||||
"display": {
|
||||
"color": {
|
||||
"keys": "{{colors.primary.default.hex}}",
|
||||
"title": "{{colors.on_surface.default.hex}}",
|
||||
"separator": "{{colors.outline.default.hex}}",
|
||||
"output": "{{colors.secondary.default.hex}}"
|
||||
}
|
||||
}
|
||||
}
|
||||
21
matugen/templates/ghostty-colors-dark.conf
Normal file
21
matugen/templates/ghostty-colors-dark.conf
Normal file
@@ -0,0 +1,21 @@
|
||||
background = {{colors.surface.default.hex}}
|
||||
foreground = {{colors.on_surface.default.hex}}
|
||||
cursor-color = {{colors.primary.default.hex}}
|
||||
selection-background = {{colors.surface_container.default.hex}}
|
||||
selection-foreground = {{colors.on_surface.default.hex}}
|
||||
palette = 0={{colors.surface.default.hex}}
|
||||
palette = 1={{colors.inverse_primary.default.hex}}
|
||||
palette = 2={{colors.primary_container.default.hex}}
|
||||
palette = 3={{colors.secondary_container.default.hex}}
|
||||
palette = 4={{colors.primary.default.hex}}
|
||||
palette = 5={{colors.secondary.default.hex}}
|
||||
palette = 6={{colors.secondary_container.default.hex}}
|
||||
palette = 7={{colors.on_surface.default.hex}}
|
||||
palette = 8={{colors.outline.default.hex}}
|
||||
palette = 9={{colors.error_container.default.hex}}
|
||||
palette = 10={{colors.primary_fixed.default.hex}}
|
||||
palette = 11={{colors.secondary_fixed.default.hex}}
|
||||
palette = 12={{colors.surface_variant.default.hex}}
|
||||
palette = 13={{colors.primary_fixed_dim.default.hex}}
|
||||
palette = 14={{colors.inverse_surface.default.hex}}
|
||||
palette = 15={{colors.on_background.default.hex}}
|
||||
21
matugen/templates/ghostty-colors-light.conf
Normal file
21
matugen/templates/ghostty-colors-light.conf
Normal file
@@ -0,0 +1,21 @@
|
||||
background = {{colors.surface.default.hex}}
|
||||
foreground = {{colors.on_surface.default.hex}}
|
||||
cursor-color = {{colors.primary.default.hex}}
|
||||
selection-background = {{colors.surface_container.default.hex}}
|
||||
selection-foreground = {{colors.on_surface.default.hex}}
|
||||
palette = 0={{colors.surface.default.hex}}
|
||||
palette = 1={{colors.error.default.hex}}
|
||||
palette = 2={{colors.primary.default.hex}}
|
||||
palette = 3={{colors.secondary.default.hex}}
|
||||
palette = 4={{colors.tertiary.default.hex}}
|
||||
palette = 5={{colors.primary_container.default.hex}}
|
||||
palette = 6={{colors.secondary_container.default.hex}}
|
||||
palette = 7={{colors.on_surface.default.hex}}
|
||||
palette = 8={{colors.outline.default.hex}}
|
||||
palette = 9={{colors.error_container.default.hex}}
|
||||
palette = 10={{colors.tertiary_container.default.hex}}
|
||||
palette = 11={{colors.outline_variant.default.hex}}
|
||||
palette = 12={{colors.on_surface_variant.default.hex}}
|
||||
palette = 13={{colors.shadow.default.hex}}
|
||||
palette = 14={{colors.inverse_surface.default.hex}}
|
||||
palette = 15={{colors.on_background.default.hex}}
|
||||
21
matugen/templates/ghostty-colors.conf
Normal file
21
matugen/templates/ghostty-colors.conf
Normal file
@@ -0,0 +1,21 @@
|
||||
background = {{colors.surface.default.hex}}
|
||||
foreground = {{colors.on_surface.default.hex}}
|
||||
cursor-color = {{colors.primary.default.hex}}
|
||||
selection-background = {{colors.surface_container.default.hex}}
|
||||
selection-foreground = {{colors.on_surface.default.hex}}
|
||||
palette = 0={{colors.surface.default.hex}}
|
||||
palette = 1={{colors.error.default.hex}}
|
||||
palette = 2={{colors.primary.default.hex}}
|
||||
palette = 3={{colors.secondary.default.hex}}
|
||||
palette = 4={{colors.tertiary.default.hex}}
|
||||
palette = 5={{colors.on_primary_fixed.default.hex}}
|
||||
palette = 6={{colors.secondary_container.default.hex}}
|
||||
palette = 7={{colors.on_surface.default.hex}}
|
||||
palette = 8={{colors.outline.default.hex}}
|
||||
palette = 9={{colors.error_container.default.hex}}
|
||||
palette = 10={{colors.tertiary_fixed.default.hex}}
|
||||
palette = 11={{colors.secondary_fixed.default.hex}}
|
||||
palette = 12={{colors.tertiary_fixed.default.hex}}
|
||||
palette = 13={{colors.primary_fixed_dim.default.hex}}
|
||||
palette = 14={{colors.inverse_surface.default.hex}}
|
||||
palette = 15={{colors.on_background.default.hex}}
|
||||
92
matugen/templates/gtk-colors.css
Normal file
92
matugen/templates/gtk-colors.css
Normal file
@@ -0,0 +1,92 @@
|
||||
/*
|
||||
* GTK Colors
|
||||
* Generated with Matugen
|
||||
*/
|
||||
|
||||
@define-color accent_color {{colors.primary_fixed_dim.default.hex}};
|
||||
@define-color accent_fg_color {{colors.on_primary_fixed.default.hex}};
|
||||
@define-color accent_bg_color {{colors.primary_fixed_dim.default.hex}};
|
||||
@define-color window_bg_color {{colors.surface_dim.default.hex}};
|
||||
@define-color window_fg_color {{colors.on_surface.default.hex}};
|
||||
@define-color headerbar_bg_color {{colors.surface_dim.default.hex}};
|
||||
@define-color headerbar_fg_color {{colors.on_surface.default.hex}};
|
||||
@define-color popover_bg_color {{colors.surface_dim.default.hex}};
|
||||
@define-color popover_fg_color {{colors.on_surface.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;
|
||||
|
||||
/* Titlebar and headerbar specific colors for window decorations */
|
||||
@define-color theme_bg_color {{colors.surface.default.hex}};
|
||||
@define-color theme_fg_color {{colors.on_surface.default.hex}};
|
||||
@define-color theme_base_color {{colors.surface.default.hex}};
|
||||
@define-color theme_text_color {{colors.on_surface.default.hex}};
|
||||
@define-color theme_selected_bg_color {{colors.primary.default.hex}};
|
||||
@define-color theme_selected_fg_color {{colors.on_primary.default.hex}};
|
||||
@define-color theme_button_background_normal {{colors.surface.default.hex}};
|
||||
@define-color theme_button_foreground_normal {{colors.on_surface.default.hex}};
|
||||
@define-color theme_button_background_hover alpha({{colors.on_surface.default.hex}}, 0.08);
|
||||
@define-color theme_button_foreground_hover {{colors.on_surface.default.hex}};
|
||||
@define-color theme_button_background_active alpha({{colors.on_surface.default.hex}}, 0.12);
|
||||
@define-color theme_button_foreground_active {{colors.on_surface.default.hex}};
|
||||
@define-color theme_button_background_disabled alpha({{colors.on_surface.default.hex}}, 0.04);
|
||||
@define-color theme_button_foreground_disabled alpha({{colors.on_surface.default.hex}}, 0.38);
|
||||
|
||||
/* Additional headerbar-specific colors for GTK4 compatibility */
|
||||
@define-color headerbar_backdrop_color {{colors.surface_container_low.default.hex}};
|
||||
@define-color headerbar_border_color {{colors.outline.default.hex}};
|
||||
@define-color headerbar_darker_shade_color {{colors.outline_variant.default.hex}};
|
||||
@define-color headerbar_shade_color {{colors.surface_variant.default.hex}};
|
||||
|
||||
/* Window control and decoration colors */
|
||||
@define-color wm_bg_a {{colors.surface_dim.default.hex}};
|
||||
@define-color wm_bg_b {{colors.surface_container.default.hex}};
|
||||
@define-color wm_border_a {{colors.outline.default.hex}};
|
||||
@define-color wm_border_b {{colors.outline_variant.default.hex}};
|
||||
@define-color wm_shadow {{colors.shadow.default.hex}};
|
||||
@define-color wm_outline {{colors.outline.default.hex}};
|
||||
|
||||
/* Menu and popover colors */
|
||||
@define-color menu_bg_color {{colors.surface_container.default.hex}};
|
||||
@define-color menu_fg_color {{colors.on_surface.default.hex}};
|
||||
@define-color menu_selected_bg_color {{colors.primary.default.hex}};
|
||||
@define-color menu_selected_fg_color {{colors.on_primary.default.hex}};
|
||||
|
||||
/* Button and control colors */
|
||||
@define-color button_bg_color {{colors.surface.default.hex}};
|
||||
@define-color button_fg_color {{colors.on_surface.default.hex}};
|
||||
@define-color button_border_color {{colors.outline_variant.default.hex}};
|
||||
@define-color button_active_bg_color {{colors.primary.default.hex}};
|
||||
@define-color button_active_fg_color {{colors.on_primary.default.hex}};
|
||||
|
||||
/* Entry and input colors */
|
||||
@define-color entry_bg_color {{colors.surface_variant.default.hex}};
|
||||
@define-color entry_fg_color {{colors.on_surface_variant.default.hex}};
|
||||
@define-color entry_border_color {{colors.outline.default.hex}};
|
||||
@define-color entry_focus_border_color {{colors.primary.default.hex}};
|
||||
|
||||
/* Scrollbar colors */
|
||||
@define-color scrollbar_bg_color {{colors.surface_variant.default.hex}};
|
||||
@define-color scrollbar_fg_color {{colors.on_surface_variant.default.hex}};
|
||||
@define-color scrollbar_hover_color {{colors.primary.default.hex}};
|
||||
|
||||
/* Selection and highlight colors */
|
||||
@define-color selection_bg_color {{colors.primary_container.default.hex}};
|
||||
@define-color selection_fg_color {{colors.on_primary_container.default.hex}};
|
||||
|
||||
/* Tooltip colors */
|
||||
@define-color tooltip_bg_color {{colors.inverse_surface.default.hex}};
|
||||
@define-color tooltip_fg_color {{colors.inverse_on_surface.default.hex}};
|
||||
|
||||
/* Warning and error colors */
|
||||
@define-color warning_color {{colors.tertiary.default.hex}};
|
||||
@define-color warning_fg_color {{colors.on_tertiary.default.hex}};
|
||||
@define-color error_color {{colors.error.default.hex}};
|
||||
@define-color error_fg_color {{colors.on_error.default.hex}};
|
||||
@define-color success_color {{colors.tertiary_container.default.hex}};
|
||||
@define-color success_fg_color {{colors.on_tertiary_container.default.hex}};
|
||||
8372
matugen/templates/gtk3-colloid-dark.css
Normal file
8372
matugen/templates/gtk3-colloid-dark.css
Normal file
File diff suppressed because it is too large
Load Diff
983
matugen/templates/gtk3-colloid-light.css
Normal file
983
matugen/templates/gtk3-colloid-light.css
Normal file
@@ -0,0 +1,983 @@
|
||||
@keyframes ripple {
|
||||
to {
|
||||
background-size: 1000% 1000%;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes ripple-on-slider {
|
||||
to {
|
||||
background-size: auto, 1000% 1000%;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes ripple-on-headerbar {
|
||||
from {
|
||||
background-image: radial-gradient(circle, {{colors.primary.default.hex}} 0%, transparent 0%);
|
||||
}
|
||||
to {
|
||||
background-image: radial-gradient(circle, {{colors.primary.default.hex}} 100%, transparent 0%);
|
||||
}
|
||||
}
|
||||
|
||||
* {
|
||||
background-clip: padding-box;
|
||||
-GtkToolButton-icon-spacing: 0;
|
||||
-GtkTextView-error-underline-color: #E53935;
|
||||
-GtkScrolledWindow-scrollbar-spacing: 0;
|
||||
-GtkToolItemGroup-expander-size: 11;
|
||||
-GtkWidget-text-handle-width: 24;
|
||||
-GtkWidget-text-handle-height: 24;
|
||||
-GtkDialog-button-spacing: 6;
|
||||
-GtkDialog-action-area-border: 6;
|
||||
outline-style: solid;
|
||||
outline-width: 2px;
|
||||
outline-color: transparent;
|
||||
outline-offset: -4px;
|
||||
-gtk-outline-radius: 6px;
|
||||
-gtk-secondary-caret-color: {{colors.primary.default.hex}};
|
||||
}
|
||||
|
||||
*:focus {
|
||||
outline-color: alpha(currentColor, 0.1);
|
||||
}
|
||||
|
||||
XfdesktopIconView.view:active, calendar.raven-calendar:selected, box.vertical > widget > widget:selected, calendar:selected, popover.background modelbutton.flat:selected,
|
||||
popover.background .menuitem.button.flat:selected, .csd treeview.view:selected, .background.csd .view:selected {
|
||||
color: rgba(0, 0, 0, 0.87);
|
||||
background-color: alpha(currentColor, 0.1);
|
||||
}
|
||||
|
||||
.nemo-window .view selection, .nemo-window .view:selected, .nautilus-window notebook .view:not(treeview) selection, .nautilus-window notebook .view:not(treeview):selected, .nautilus-window flowboxchild:selected .icon-item-background, label selection, flowbox flowboxchild:selected {
|
||||
color: {{colors.primary.default.hex}};
|
||||
background-color: {{colors.primary_container.default.hex}};
|
||||
}
|
||||
|
||||
.nemo-window .nemo-window-pane widget.entry:selected, window.background.csd evview.view.content-view:selected, window.background.csd evview.view.content-view:selected:backdrop, .nautilus-window.background.csd notebook widget.view:selected, entry selection, textview text selection:focus, textview text selection, widget.view:selected, .view:selected {
|
||||
color: {{colors.on_primary.default.hex}};
|
||||
background-color: {{colors.primary.default.hex}};
|
||||
}
|
||||
|
||||
.linked:not(.vertical) > button, .linked:not(.vertical) > entry {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.linked:not(.vertical) > button:first-child, .linked:not(.vertical) > entry:first-child {
|
||||
border-top-left-radius: 6px;
|
||||
border-bottom-left-radius: 6px;
|
||||
}
|
||||
|
||||
.linked:not(.vertical) > button:last-child, .linked:not(.vertical) > entry:last-child {
|
||||
border-top-right-radius: 6px;
|
||||
border-bottom-right-radius: 6px;
|
||||
}
|
||||
|
||||
.linked:not(.vertical) > button:only-child, .linked:not(.vertical) > entry:only-child {
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
.linked.vertical > button, .linked.vertical > entry {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.linked.vertical > button:first-child, .linked.vertical > entry:first-child {
|
||||
border-top-left-radius: 6px;
|
||||
border-top-right-radius: 6px;
|
||||
}
|
||||
|
||||
.linked.vertical > button:last-child, .linked.vertical > entry:last-child {
|
||||
border-bottom-left-radius: 6px;
|
||||
border-bottom-right-radius: 6px;
|
||||
}
|
||||
|
||||
.linked.vertical > button:only-child, .linked.vertical > entry:only-child {
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
/***************
|
||||
* Base States *
|
||||
***************/
|
||||
.background {
|
||||
background-color: {{colors.surface.default.hex}};
|
||||
color: {{colors.on_surface.default.hex}};
|
||||
}
|
||||
|
||||
dnd {
|
||||
color: {{colors.on_surface.default.hex}};
|
||||
}
|
||||
|
||||
.normal-icons {
|
||||
-gtk-icon-size: 16px;
|
||||
}
|
||||
|
||||
.large-icons {
|
||||
-gtk-icon-size: 32px;
|
||||
}
|
||||
|
||||
.background:backdrop {
|
||||
background-color: {{colors.surface_dim.default.hex}};
|
||||
color: {{colors.on_surface_variant.default.hex}};
|
||||
}
|
||||
|
||||
.csd.background {
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
/*************
|
||||
* Scrolling *
|
||||
*************/
|
||||
scrollbar {
|
||||
background-color: {{colors.surface.default.hex}};
|
||||
transition: 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
||||
}
|
||||
|
||||
* {
|
||||
-GtkScrollbar-has-backward-stepper: false;
|
||||
-GtkScrollbar-has-forward-stepper: false;
|
||||
}
|
||||
|
||||
scrollbar.top {
|
||||
border-bottom: 1px solid alpha({{colors.outline.default.hex}}, 0.3);
|
||||
}
|
||||
|
||||
scrollbar.bottom {
|
||||
border-top: 1px solid alpha({{colors.outline.default.hex}}, 0.3);
|
||||
}
|
||||
|
||||
scrollbar.left {
|
||||
border-right: 1px solid alpha({{colors.outline.default.hex}}, 0.3);
|
||||
}
|
||||
|
||||
scrollbar.right {
|
||||
border-left: 1px solid alpha({{colors.outline.default.hex}}, 0.3);
|
||||
}
|
||||
|
||||
scrollbar:backdrop {
|
||||
background-color: {{colors.surface_container_low.default.hex}};
|
||||
border-color: alpha({{colors.outline.default.hex}}, 0.3);
|
||||
transition: 200ms ease-out;
|
||||
}
|
||||
|
||||
scrollbar slider {
|
||||
min-width: 6px;
|
||||
min-height: 6px;
|
||||
margin: -1px;
|
||||
border: 4px solid transparent;
|
||||
border-radius: 8px;
|
||||
background-clip: padding-box;
|
||||
background-color: alpha({{colors.on_surface_variant.default.hex}}, 0.5);
|
||||
}
|
||||
|
||||
scrollbar slider:hover {
|
||||
background-color: alpha({{colors.on_surface_variant.default.hex}}, 0.7);
|
||||
}
|
||||
|
||||
scrollbar slider:hover:active {
|
||||
background-color: {{colors.on_surface_variant.default.hex}};
|
||||
}
|
||||
|
||||
scrollbar slider:backdrop {
|
||||
background-color: alpha({{colors.on_surface_variant.default.hex}}, 0.4);
|
||||
}
|
||||
|
||||
scrollbar slider:disabled {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
scrollbar.fine-tune slider {
|
||||
min-width: 4px;
|
||||
min-height: 4px;
|
||||
}
|
||||
|
||||
scrollbar.fine-tune.horizontal slider {
|
||||
border-width: 2px 4px;
|
||||
}
|
||||
|
||||
scrollbar.fine-tune.vertical slider {
|
||||
border-width: 4px 2px;
|
||||
}
|
||||
|
||||
scrollbar.overlay-indicator:not(.dragging):not(.hovering) {
|
||||
border-color: transparent;
|
||||
opacity: 0.4;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
scrollbar.overlay-indicator:not(.dragging):not(.hovering) slider {
|
||||
margin: 0;
|
||||
min-width: 3px;
|
||||
min-height: 3px;
|
||||
background-color: {{colors.on_surface.default.hex}};
|
||||
border: 1px solid {{colors.surface.default.hex}};
|
||||
}
|
||||
|
||||
scrollbar.overlay-indicator:not(.dragging):not(.hovering) button {
|
||||
min-width: 5px;
|
||||
min-height: 5px;
|
||||
background-color: {{colors.on_surface.default.hex}};
|
||||
background-clip: padding-box;
|
||||
border-radius: 100px;
|
||||
border: 1px solid {{colors.surface.default.hex}};
|
||||
-gtk-icon-source: none;
|
||||
}
|
||||
|
||||
scrollbar.overlay-indicator:not(.dragging):not(.hovering).horizontal slider {
|
||||
margin: 0 2px;
|
||||
min-width: 40px;
|
||||
}
|
||||
|
||||
scrollbar.overlay-indicator:not(.dragging):not(.hovering).horizontal button {
|
||||
margin: 1px 2px;
|
||||
min-width: 5px;
|
||||
}
|
||||
|
||||
scrollbar.overlay-indicator:not(.dragging):not(.hovering).vertical slider {
|
||||
margin: 2px 0;
|
||||
min-height: 40px;
|
||||
}
|
||||
|
||||
scrollbar.overlay-indicator:not(.dragging):not(.hovering).vertical button {
|
||||
margin: 2px 1px;
|
||||
min-height: 5px;
|
||||
}
|
||||
|
||||
scrollbar.overlay-indicator.dragging, scrollbar.overlay-indicator.hovering {
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
scrollbar.horizontal slider {
|
||||
min-width: 40px;
|
||||
}
|
||||
|
||||
scrollbar.vertical slider {
|
||||
min-height: 40px;
|
||||
}
|
||||
|
||||
scrollbar button {
|
||||
padding: 0;
|
||||
min-width: 12px;
|
||||
min-height: 12px;
|
||||
border-style: none;
|
||||
border-radius: 0;
|
||||
transition-property: min-height, min-width, color;
|
||||
border-color: transparent;
|
||||
background-color: transparent;
|
||||
background-image: none;
|
||||
box-shadow: inset 0 1px alpha({{colors.surface.default.hex}}, 0);
|
||||
text-shadow: none;
|
||||
-gtk-icon-shadow: none;
|
||||
color: alpha({{colors.on_surface_variant.default.hex}}, 0.5);
|
||||
}
|
||||
|
||||
scrollbar button:hover {
|
||||
border-color: transparent;
|
||||
background-color: transparent;
|
||||
background-image: none;
|
||||
box-shadow: inset 0 1px alpha({{colors.surface.default.hex}}, 0);
|
||||
text-shadow: none;
|
||||
-gtk-icon-shadow: none;
|
||||
color: alpha({{colors.on_surface_variant.default.hex}}, 0.7);
|
||||
}
|
||||
|
||||
scrollbar button:active, scrollbar button:checked {
|
||||
border-color: transparent;
|
||||
background-color: transparent;
|
||||
background-image: none;
|
||||
box-shadow: inset 0 1px alpha({{colors.surface.default.hex}}, 0);
|
||||
text-shadow: none;
|
||||
-gtk-icon-shadow: none;
|
||||
color: {{colors.on_surface_variant.default.hex}};
|
||||
}
|
||||
|
||||
scrollbar button:disabled {
|
||||
border-color: transparent;
|
||||
background-color: transparent;
|
||||
background-image: none;
|
||||
box-shadow: inset 0 1px alpha({{colors.surface.default.hex}}, 0);
|
||||
text-shadow: none;
|
||||
-gtk-icon-shadow: none;
|
||||
color: alpha({{colors.on_surface.default.hex}}, 0.3);
|
||||
}
|
||||
|
||||
scrollbar button:backdrop {
|
||||
border-color: transparent;
|
||||
background-color: transparent;
|
||||
background-image: none;
|
||||
box-shadow: inset 0 1px alpha({{colors.surface.default.hex}}, 0);
|
||||
text-shadow: none;
|
||||
-gtk-icon-shadow: none;
|
||||
color: alpha({{colors.on_surface_variant.default.hex}}, 0.4);
|
||||
}
|
||||
|
||||
scrollbar button:backdrop:disabled {
|
||||
border-color: transparent;
|
||||
background-color: transparent;
|
||||
background-image: none;
|
||||
box-shadow: inset 0 1px alpha({{colors.surface.default.hex}}, 0);
|
||||
text-shadow: none;
|
||||
-gtk-icon-shadow: none;
|
||||
color: alpha({{colors.on_surface.default.hex}}, 0.3);
|
||||
}
|
||||
|
||||
scrollbar.vertical button.down {
|
||||
-gtk-icon-source: -gtk-icontheme("pan-down-symbolic");
|
||||
}
|
||||
|
||||
scrollbar.vertical button.up {
|
||||
-gtk-icon-source: -gtk-icontheme("pan-up-symbolic");
|
||||
}
|
||||
|
||||
scrollbar.horizontal button.down {
|
||||
-gtk-icon-source: -gtk-icontheme("pan-end-symbolic");
|
||||
}
|
||||
|
||||
scrollbar.horizontal button.up {
|
||||
-gtk-icon-source: -gtk-icontheme("pan-start-symbolic");
|
||||
}
|
||||
|
||||
/***********
|
||||
* Buttons *
|
||||
***********/
|
||||
@keyframes needs_attention {
|
||||
from {
|
||||
background-image: -gtk-gradient(radial, center center, 0, center center, 0.01, to({{colors.primary.default.hex}}), to(transparent));
|
||||
}
|
||||
to {
|
||||
background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to({{colors.primary.default.hex}}), to(transparent));
|
||||
}
|
||||
}
|
||||
|
||||
button {
|
||||
min-height: 24px;
|
||||
min-width: 16px;
|
||||
padding: 8px 16px;
|
||||
border: 1px solid;
|
||||
border-radius: 6px;
|
||||
transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
||||
border-color: alpha({{colors.outline.default.hex}}, 0.5);
|
||||
background-color: {{colors.surface.default.hex}};
|
||||
color: {{colors.on_surface.default.hex}};
|
||||
text-shadow: none;
|
||||
-gtk-icon-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
button:hover {
|
||||
border-color: alpha({{colors.outline.default.hex}}, 0.5);
|
||||
background-color: alpha({{colors.on_surface.default.hex}}, 0.08);
|
||||
color: {{colors.on_surface.default.hex}};
|
||||
}
|
||||
|
||||
button:active, button:checked {
|
||||
border-color: alpha({{colors.outline.default.hex}}, 0.5);
|
||||
background-color: alpha({{colors.on_surface.default.hex}}, 0.12);
|
||||
color: {{colors.on_surface.default.hex}};
|
||||
box-shadow: none;
|
||||
transition-duration: 50ms;
|
||||
}
|
||||
|
||||
button:backdrop {
|
||||
border-color: alpha({{colors.outline.default.hex}}, 0.3);
|
||||
background-color: {{colors.surface_dim.default.hex}};
|
||||
color: {{colors.on_surface_variant.default.hex}};
|
||||
text-shadow: none;
|
||||
-gtk-icon-shadow: none;
|
||||
}
|
||||
|
||||
button:backdrop:active, button:backdrop:checked {
|
||||
border-color: alpha({{colors.outline.default.hex}}, 0.3);
|
||||
background-color: alpha({{colors.on_surface_variant.default.hex}}, 0.08);
|
||||
color: {{colors.on_surface_variant.default.hex}};
|
||||
}
|
||||
|
||||
button:backdrop:disabled {
|
||||
border-color: alpha({{colors.outline.default.hex}}, 0.12);
|
||||
background-color: alpha({{colors.on_surface.default.hex}}, 0.04);
|
||||
color: alpha({{colors.on_surface.default.hex}}, 0.38);
|
||||
text-shadow: none;
|
||||
-gtk-icon-shadow: none;
|
||||
}
|
||||
|
||||
button:backdrop:disabled:active, button:backdrop:disabled:checked {
|
||||
border-color: alpha({{colors.outline.default.hex}}, 0.12);
|
||||
background-color: alpha({{colors.on_surface.default.hex}}, 0.04);
|
||||
color: alpha({{colors.on_surface.default.hex}}, 0.38);
|
||||
}
|
||||
|
||||
button:disabled {
|
||||
border-color: alpha({{colors.outline.default.hex}}, 0.12);
|
||||
background-color: alpha({{colors.on_surface.default.hex}}, 0.04);
|
||||
color: alpha({{colors.on_surface.default.hex}}, 0.38);
|
||||
text-shadow: none;
|
||||
-gtk-icon-shadow: none;
|
||||
}
|
||||
|
||||
button:disabled:active, button:disabled:checked {
|
||||
border-color: alpha({{colors.outline.default.hex}}, 0.12);
|
||||
background-color: alpha({{colors.on_surface.default.hex}}, 0.04);
|
||||
color: alpha({{colors.on_surface.default.hex}}, 0.38);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
button.suggested-action {
|
||||
border-color: {{colors.primary.default.hex}};
|
||||
background-color: {{colors.primary.default.hex}};
|
||||
color: {{colors.on_primary.default.hex}};
|
||||
}
|
||||
|
||||
button.suggested-action.flat {
|
||||
border-color: transparent;
|
||||
background-color: transparent;
|
||||
background-image: none;
|
||||
color: {{colors.primary.default.hex}};
|
||||
}
|
||||
|
||||
button.suggested-action:hover {
|
||||
border-color: {{colors.primary.default.hex}};
|
||||
background-color: alpha({{colors.on_primary.default.hex}}, 0.08);
|
||||
color: {{colors.on_primary.default.hex}};
|
||||
}
|
||||
|
||||
button.suggested-action:active, button.suggested-action:checked {
|
||||
border-color: {{colors.primary.default.hex}};
|
||||
background-color: alpha({{colors.on_primary.default.hex}}, 0.12);
|
||||
color: {{colors.on_primary.default.hex}};
|
||||
}
|
||||
|
||||
button.suggested-action:backdrop {
|
||||
border-color: {{colors.primary.default.hex}};
|
||||
background-color: {{colors.primary.default.hex}};
|
||||
color: {{colors.on_primary.default.hex}};
|
||||
}
|
||||
|
||||
button.suggested-action:backdrop:disabled {
|
||||
border-color: alpha({{colors.outline.default.hex}}, 0.12);
|
||||
background-color: alpha({{colors.on_surface.default.hex}}, 0.04);
|
||||
color: alpha({{colors.on_surface.default.hex}}, 0.38);
|
||||
}
|
||||
|
||||
button.suggested-action:disabled {
|
||||
border-color: alpha({{colors.outline.default.hex}}, 0.12);
|
||||
background-color: alpha({{colors.on_surface.default.hex}}, 0.04);
|
||||
color: alpha({{colors.on_surface.default.hex}}, 0.38);
|
||||
}
|
||||
|
||||
button.destructive-action {
|
||||
border-color: {{colors.error.default.hex}};
|
||||
background-color: {{colors.error.default.hex}};
|
||||
color: {{colors.on_error.default.hex}};
|
||||
}
|
||||
|
||||
button.destructive-action.flat {
|
||||
border-color: transparent;
|
||||
background-color: transparent;
|
||||
background-image: none;
|
||||
color: {{colors.error.default.hex}};
|
||||
}
|
||||
|
||||
button.destructive-action:hover {
|
||||
border-color: {{colors.error.default.hex}};
|
||||
background-color: alpha({{colors.on_error.default.hex}}, 0.08);
|
||||
color: {{colors.on_error.default.hex}};
|
||||
}
|
||||
|
||||
button.destructive-action:active, button.destructive-action:checked {
|
||||
border-color: {{colors.error.default.hex}};
|
||||
background-color: alpha({{colors.on_error.default.hex}}, 0.12);
|
||||
color: {{colors.on_error.default.hex}};
|
||||
}
|
||||
|
||||
button.destructive-action:backdrop {
|
||||
border-color: {{colors.error.default.hex}};
|
||||
background-color: {{colors.error.default.hex}};
|
||||
color: {{colors.on_error.default.hex}};
|
||||
}
|
||||
|
||||
button.destructive-action:backdrop:disabled {
|
||||
border-color: alpha({{colors.outline.default.hex}}, 0.12);
|
||||
background-color: alpha({{colors.on_surface.default.hex}}, 0.04);
|
||||
color: alpha({{colors.on_surface.default.hex}}, 0.38);
|
||||
}
|
||||
|
||||
button.destructive-action:disabled {
|
||||
border-color: alpha({{colors.outline.default.hex}}, 0.12);
|
||||
background-color: alpha({{colors.on_surface.default.hex}}, 0.04);
|
||||
color: alpha({{colors.on_surface.default.hex}}, 0.38);
|
||||
}
|
||||
|
||||
button.flat {
|
||||
border-color: transparent;
|
||||
background-color: transparent;
|
||||
background-image: none;
|
||||
box-shadow: inset 0 1px alpha({{colors.surface.default.hex}}, 0);
|
||||
text-shadow: none;
|
||||
-gtk-icon-shadow: none;
|
||||
transition: none;
|
||||
}
|
||||
|
||||
button.flat:hover {
|
||||
transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
||||
transition-duration: 500ms;
|
||||
border-color: transparent;
|
||||
background-color: alpha({{colors.on_surface.default.hex}}, 0.08);
|
||||
background-image: none;
|
||||
}
|
||||
|
||||
button.flat:hover:active {
|
||||
transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
||||
}
|
||||
|
||||
button.flat:backdrop {
|
||||
border-color: transparent;
|
||||
background-color: transparent;
|
||||
background-image: none;
|
||||
box-shadow: inset 0 1px alpha({{colors.surface.default.hex}}, 0);
|
||||
text-shadow: none;
|
||||
-gtk-icon-shadow: none;
|
||||
color: {{colors.on_surface_variant.default.hex}};
|
||||
}
|
||||
|
||||
button.flat:disabled {
|
||||
border-color: transparent;
|
||||
background-color: transparent;
|
||||
background-image: none;
|
||||
box-shadow: inset 0 1px alpha({{colors.surface.default.hex}}, 0);
|
||||
text-shadow: none;
|
||||
-gtk-icon-shadow: none;
|
||||
color: alpha({{colors.on_surface.default.hex}}, 0.38);
|
||||
}
|
||||
|
||||
button.flat:backdrop:disabled {
|
||||
border-color: transparent;
|
||||
background-color: transparent;
|
||||
background-image: none;
|
||||
box-shadow: inset 0 1px alpha({{colors.surface.default.hex}}, 0);
|
||||
text-shadow: none;
|
||||
-gtk-icon-shadow: none;
|
||||
color: alpha({{colors.on_surface.default.hex}}, 0.38);
|
||||
}
|
||||
|
||||
button.flat:active, button.flat:checked {
|
||||
transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
||||
border-color: transparent;
|
||||
background-color: alpha({{colors.on_surface.default.hex}}, 0.12);
|
||||
background-image: none;
|
||||
box-shadow: inset 0 1px alpha({{colors.surface.default.hex}}, 0);
|
||||
text-shadow: none;
|
||||
-gtk-icon-shadow: none;
|
||||
}
|
||||
|
||||
button.flat:backdrop:active, button.flat:backdrop:checked {
|
||||
border-color: transparent;
|
||||
background-color: alpha({{colors.on_surface_variant.default.hex}}, 0.08);
|
||||
background-image: none;
|
||||
box-shadow: inset 0 1px alpha({{colors.surface.default.hex}}, 0);
|
||||
text-shadow: none;
|
||||
-gtk-icon-shadow: none;
|
||||
color: {{colors.on_surface_variant.default.hex}};
|
||||
}
|
||||
|
||||
button.flat:disabled:active, button.flat:disabled:checked {
|
||||
border-color: transparent;
|
||||
background-color: alpha({{colors.on_surface.default.hex}}, 0.04);
|
||||
background-image: none;
|
||||
box-shadow: inset 0 1px alpha({{colors.surface.default.hex}}, 0);
|
||||
text-shadow: none;
|
||||
-gtk-icon-shadow: none;
|
||||
color: alpha({{colors.on_surface.default.hex}}, 0.38);
|
||||
}
|
||||
|
||||
button.flat.suggested-action {
|
||||
color: {{colors.primary.default.hex}};
|
||||
}
|
||||
|
||||
button.flat.suggested-action:hover {
|
||||
border-color: transparent;
|
||||
background-color: alpha({{colors.primary.default.hex}}, 0.08);
|
||||
background-image: none;
|
||||
color: {{colors.primary.default.hex}};
|
||||
}
|
||||
|
||||
button.flat.suggested-action:active, button.flat.suggested-action:checked {
|
||||
border-color: transparent;
|
||||
background-color: alpha({{colors.primary.default.hex}}, 0.12);
|
||||
background-image: none;
|
||||
color: {{colors.primary.default.hex}};
|
||||
}
|
||||
|
||||
button.flat.suggested-action:backdrop {
|
||||
color: {{colors.primary.default.hex}};
|
||||
}
|
||||
|
||||
button.flat.suggested-action:disabled, button.flat.suggested-action:backdrop:disabled {
|
||||
color: alpha({{colors.on_surface.default.hex}}, 0.38);
|
||||
}
|
||||
|
||||
button.flat.destructive-action {
|
||||
color: {{colors.error.default.hex}};
|
||||
}
|
||||
|
||||
button.flat.destructive-action:hover {
|
||||
border-color: transparent;
|
||||
background-color: alpha({{colors.error.default.hex}}, 0.08);
|
||||
background-image: none;
|
||||
color: {{colors.error.default.hex}};
|
||||
}
|
||||
|
||||
button.flat.destructive-action:active, button.flat.destructive-action:checked {
|
||||
border-color: transparent;
|
||||
background-color: alpha({{colors.error.default.hex}}, 0.12);
|
||||
background-image: none;
|
||||
color: {{colors.error.default.hex}};
|
||||
}
|
||||
|
||||
button.flat.destructive-action:backdrop {
|
||||
color: {{colors.error.default.hex}};
|
||||
}
|
||||
|
||||
button.flat.destructive-action:disabled, button.flat.destructive-action:backdrop:disabled {
|
||||
color: alpha({{colors.on_surface.default.hex}}, 0.38);
|
||||
}
|
||||
|
||||
button.image-button {
|
||||
min-width: 24px;
|
||||
padding-left: 8px;
|
||||
padding-right: 8px;
|
||||
}
|
||||
|
||||
button.text-button {
|
||||
padding-left: 16px;
|
||||
padding-right: 16px;
|
||||
}
|
||||
|
||||
button.text-button.image-button {
|
||||
padding-left: 12px;
|
||||
padding-right: 16px;
|
||||
}
|
||||
|
||||
button.text-button.image-button label {
|
||||
padding-left: 8px;
|
||||
padding-right: 0px;
|
||||
}
|
||||
|
||||
button.text-button.image-button label:dir(rtl) {
|
||||
padding-left: 0px;
|
||||
padding-right: 8px;
|
||||
}
|
||||
|
||||
menubutton.circular button, button.circular {
|
||||
border-radius: 9999px;
|
||||
-gtk-outline-radius: 9999px;
|
||||
}
|
||||
|
||||
menubutton.circular button label, button.circular label {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
button:drop(active) {
|
||||
border-color: {{colors.primary.default.hex}};
|
||||
box-shadow: inset 0 0 0 1px {{colors.primary.default.hex}};
|
||||
}
|
||||
|
||||
/***************
|
||||
* Header bars *
|
||||
***************/
|
||||
.nemo-window .primary-toolbar button:not(.text-button), headerbar button:not(.suggested-action):not(.destructive-action) {
|
||||
color: {{colors.on_surface_variant.default.hex}};
|
||||
}
|
||||
|
||||
.nemo-window .primary-toolbar .linked:not(.vertical) > button:not(.text-button), headerbar .linked:not(.vertical) > button:not(.suggested-action):not(.destructive-action) {
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
.nemo-window .primary-toolbar button:focus:not(.text-button), headerbar button:focus:not(.suggested-action):not(.destructive-action), .nemo-window .primary-toolbar button:hover:not(.text-button), headerbar button:hover:not(.suggested-action):not(.destructive-action), .nemo-window .primary-toolbar button:active:not(.text-button), headerbar button:active:not(.suggested-action):not(.destructive-action), .nemo-window .primary-toolbar button:checked:not(.text-button), headerbar button:checked:not(.suggested-action):not(.destructive-action) {
|
||||
color: {{colors.on_surface.default.hex}};
|
||||
}
|
||||
|
||||
.nemo-window .primary-toolbar button:disabled:not(.text-button), headerbar button:disabled:not(.suggested-action):not(.destructive-action) {
|
||||
color: alpha({{colors.on_surface.default.hex}}, 0.3);
|
||||
}
|
||||
|
||||
.nemo-window .primary-toolbar button:checked:disabled:not(.text-button), headerbar button:checked:disabled:not(.suggested-action):not(.destructive-action) {
|
||||
background-color: transparent;
|
||||
color: alpha({{colors.on_surface.default.hex}}, 0.38);
|
||||
}
|
||||
|
||||
.nemo-window .primary-toolbar button:backdrop:not(.text-button), headerbar button:backdrop:not(.suggested-action):not(.destructive-action) {
|
||||
color: alpha({{colors.on_surface.default.hex}}, 0.38);
|
||||
}
|
||||
|
||||
.nemo-window .primary-toolbar button:backdrop:focus:not(.text-button), headerbar button:backdrop:focus:not(.suggested-action):not(.destructive-action), .nemo-window .primary-toolbar button:backdrop:hover:not(.text-button), headerbar button:backdrop:hover:not(.suggested-action):not(.destructive-action), .nemo-window .primary-toolbar button:backdrop:active:not(.text-button), headerbar button:backdrop:active:not(.suggested-action):not(.destructive-action) {
|
||||
color: {{colors.on_surface_variant.default.hex}};
|
||||
}
|
||||
|
||||
.nemo-window .primary-toolbar button:backdrop:disabled:not(.text-button), headerbar button:backdrop:disabled:not(.suggested-action):not(.destructive-action) {
|
||||
color: alpha({{colors.on_surface.default.hex}}, 0.3);
|
||||
}
|
||||
|
||||
.nemo-window .primary-toolbar button:backdrop:checked:not(.text-button), headerbar button:backdrop:checked:not(.suggested-action):not(.destructive-action) {
|
||||
color: {{colors.on_surface_variant.default.hex}};
|
||||
}
|
||||
|
||||
.nemo-window .primary-toolbar button:backdrop:checked:disabled:not(.text-button), headerbar button:backdrop:checked:disabled:not(.suggested-action):not(.destructive-action) {
|
||||
color: alpha({{colors.on_surface.default.hex}}, 0.3);
|
||||
}
|
||||
|
||||
.nemo-window .primary-toolbar entry, .titlebar entry {
|
||||
background-color: alpha({{colors.on_surface.default.hex}}, 0.04);
|
||||
color: {{colors.on_surface.default.hex}};
|
||||
}
|
||||
|
||||
.nemo-window .primary-toolbar entry:disabled, .titlebar entry:disabled {
|
||||
background-color: alpha({{colors.on_surface.default.hex}}, 0.04);
|
||||
color: alpha({{colors.on_surface.default.hex}}, 0.38);
|
||||
}
|
||||
|
||||
.nemo-window .primary-toolbar entry image, .titlebar entry image {
|
||||
color: {{colors.on_surface_variant.default.hex}};
|
||||
}
|
||||
|
||||
.nemo-window .primary-toolbar entry image:hover, .titlebar entry image:hover, .nemo-window .primary-toolbar entry image:active, .titlebar entry image:active {
|
||||
color: {{colors.on_surface.default.hex}};
|
||||
}
|
||||
|
||||
.nemo-window .primary-toolbar entry image:disabled, .titlebar entry image:disabled {
|
||||
color: alpha({{colors.on_surface.default.hex}}, 0.38);
|
||||
}
|
||||
|
||||
.titlebar {
|
||||
transition: all 75ms cubic-bezier(0, 0, 0.2, 1);
|
||||
background-color: {{colors.surface_container_low.default.hex}};
|
||||
color: {{colors.on_surface.default.hex}};
|
||||
border-radius: 12px 12px 0 0;
|
||||
box-shadow: inset 0 -1px alpha({{colors.outline.default.hex}}, 0.12), inset 0 1px alpha({{colors.surface_bright.default.hex}}, 0.15);
|
||||
}
|
||||
|
||||
.titlebar:disabled {
|
||||
color: alpha({{colors.on_surface.default.hex}}, 0.38);
|
||||
}
|
||||
|
||||
.titlebar:backdrop {
|
||||
color: {{colors.on_surface_variant.default.hex}};
|
||||
}
|
||||
|
||||
.titlebar:backdrop:disabled {
|
||||
color: alpha({{colors.on_surface.default.hex}}, 0.3);
|
||||
}
|
||||
|
||||
.csd .titlebar:backdrop {
|
||||
background-color: {{colors.surface_container_lowest.default.hex}};
|
||||
}
|
||||
|
||||
.titlebar .title {
|
||||
padding: 0 12px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.titlebar .subtitle {
|
||||
padding: 0 12px;
|
||||
font-size: smaller;
|
||||
}
|
||||
|
||||
.titlebar .subtitle,
|
||||
.titlebar .dim-label {
|
||||
transition: color 75ms cubic-bezier(0, 0, 0.2, 1);
|
||||
color: {{colors.on_surface_variant.default.hex}};
|
||||
}
|
||||
|
||||
.titlebar .subtitle:backdrop,
|
||||
.titlebar .dim-label:backdrop {
|
||||
color: alpha({{colors.on_surface.default.hex}}, 0.38);
|
||||
}
|
||||
|
||||
.titlebar .titlebar {
|
||||
background-color: transparent;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.titlebar + separator, .titlebar + separator.sidebar {
|
||||
background-color: {{colors.surface_container_low.default.hex}};
|
||||
background-image: none;
|
||||
transition: all 75ms cubic-bezier(0, 0, 0.2, 1);
|
||||
box-shadow: inset 0 -1px alpha({{colors.outline.default.hex}}, 0.12), inset 0 1px alpha({{colors.surface_bright.default.hex}}, 0.15);
|
||||
}
|
||||
|
||||
.titlebar + separator:backdrop, .titlebar + separator.sidebar:backdrop {
|
||||
background-color: {{colors.surface_container_lowest.default.hex}};
|
||||
}
|
||||
|
||||
.titlebar.selection-mode + separator, .titlebar.selection-mode + separator.sidebar, .selection-mode .titlebar + separator, .selection-mode .titlebar + separator.sidebar {
|
||||
background-color: {{colors.primary.default.hex}};
|
||||
}
|
||||
|
||||
.titlebar.selection-mode + separator:backdrop, .titlebar.selection-mode + separator.sidebar:backdrop, .selection-mode .titlebar + separator:backdrop, .selection-mode .titlebar + separator.sidebar:backdrop {
|
||||
background-color: {{colors.primary.default.hex}};
|
||||
}
|
||||
|
||||
.background.csd.unified .titlebar + separator, .background.csd.unified .titlebar + separator.sidebar {
|
||||
box-shadow: inset 0 -1px alpha({{colors.outline.default.hex}}, 0.12);
|
||||
}
|
||||
|
||||
.titlebar .linked:not(.vertical) > entry {
|
||||
border-radius: 6px;
|
||||
margin-left: 3px;
|
||||
margin-right: 3px;
|
||||
}
|
||||
|
||||
.titlebar button.suggested-action:disabled, .titlebar button.destructive-action:disabled {
|
||||
background-color: alpha({{colors.on_surface.default.hex}}, 0.04);
|
||||
color: alpha({{colors.on_surface.default.hex}}, 0.38);
|
||||
}
|
||||
|
||||
.titlebar .path-bar button:not(.suggested-action):not(.destructive-action).text-button {
|
||||
min-width: 0;
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
.titlebar.selection-mode {
|
||||
transition: background-color 0.1ms 225ms, color 75ms cubic-bezier(0, 0, 0.2, 1);
|
||||
animation: ripple-on-headerbar 225ms cubic-bezier(0, 0, 0.2, 1);
|
||||
background-color: {{colors.primary.default.hex}};
|
||||
color: {{colors.on_primary.default.hex}};
|
||||
box-shadow: inset 0 -1px alpha({{colors.outline.default.hex}}, 0.12), inset 0 1px alpha({{colors.surface_bright.default.hex}}, 0.2);
|
||||
}
|
||||
|
||||
.titlebar.selection-mode:backdrop {
|
||||
color: alpha({{colors.on_primary.default.hex}}, 0.7);
|
||||
background-color: {{colors.primary.default.hex}};
|
||||
}
|
||||
|
||||
.titlebar.selection-mode .subtitle:link {
|
||||
color: {{colors.on_primary.default.hex}};
|
||||
}
|
||||
|
||||
.titlebar.selection-mode button:not(.suggested-action):not(.destructive-action) {
|
||||
color: {{colors.on_primary.default.hex}};
|
||||
}
|
||||
|
||||
.titlebar.selection-mode button:not(.suggested-action):not(.destructive-action):disabled {
|
||||
color: alpha({{colors.on_primary.default.hex}}, 0.5);
|
||||
}
|
||||
|
||||
.titlebar.selection-mode button:not(.suggested-action):not(.destructive-action):checked {
|
||||
color: {{colors.on_primary.default.hex}};
|
||||
}
|
||||
|
||||
.titlebar.selection-mode button:not(.suggested-action):not(.destructive-action):checked:disabled {
|
||||
color: alpha({{colors.on_primary.default.hex}}, 0.5);
|
||||
}
|
||||
|
||||
.titlebar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop:not(.titlebutton) {
|
||||
color: alpha({{colors.on_primary.default.hex}}, 0.7);
|
||||
}
|
||||
|
||||
.titlebar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop:disabled {
|
||||
color: alpha({{colors.on_primary.default.hex}}, 0.32);
|
||||
}
|
||||
|
||||
.titlebar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop:checked {
|
||||
color: alpha({{colors.on_primary.default.hex}}, 0.7);
|
||||
}
|
||||
|
||||
.titlebar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop:checked:disabled {
|
||||
color: alpha({{colors.on_primary.default.hex}}, 0.32);
|
||||
}
|
||||
|
||||
.titlebar.selection-mode .selection-menu {
|
||||
padding-left: 16px;
|
||||
padding-right: 16px;
|
||||
}
|
||||
|
||||
.titlebar.selection-mode .selection-menu arrow {
|
||||
-GtkArrow-arrow-scaling: 1;
|
||||
}
|
||||
|
||||
.titlebar.selection-mode .selection-menu .arrow {
|
||||
-gtk-icon-source: -gtk-icontheme("pan-down-symbolic");
|
||||
}
|
||||
|
||||
.tiled .titlebar, .tiled-top .titlebar, .tiled-right .titlebar, .tiled-bottom .titlebar, .tiled-left .titlebar, .maximized .titlebar, .fullscreen .titlebar {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.titlebar.default-decoration {
|
||||
min-height: 24px;
|
||||
padding: 6px 12px;
|
||||
border-radius: 12px 12px 0 0;
|
||||
border: none;
|
||||
background-color: {{colors.surface_container_low.default.hex}};
|
||||
background-image: none;
|
||||
box-shadow: inset 0 1px alpha({{colors.surface_bright.default.hex}}, 0.15);
|
||||
}
|
||||
|
||||
.titlebar.default-decoration:backdrop {
|
||||
background-color: {{colors.surface_container_lowest.default.hex}};
|
||||
}
|
||||
|
||||
.tiled .titlebar.default-decoration, .maximized .titlebar.default-decoration, .fullscreen .titlebar.default-decoration {
|
||||
box-shadow: none;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.titlebar.default-decoration button.titlebutton {
|
||||
min-height: 24px;
|
||||
min-width: 24px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.background.csd .titlebar.default-decoration {
|
||||
padding: 6px;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.background:not(.csd) .titlebar.default-decoration button.titlebutton:active {
|
||||
background-size: 1000% 1000%;
|
||||
}
|
||||
|
||||
.solid-csd .titlebar:dir(rtl), .solid-csd .titlebar:dir(ltr) {
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
headerbar {
|
||||
min-height: 46px;
|
||||
padding: 0 6px;
|
||||
}
|
||||
|
||||
box.vertical headerbar {
|
||||
background-color: {{colors.surface_container_low.default.hex}};
|
||||
}
|
||||
|
||||
headerbar entry,
|
||||
headerbar spinbutton,
|
||||
headerbar button,
|
||||
headerbar stackswitcher {
|
||||
margin-top: 6px;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
headerbar button, headerbar button.image-button {
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
headerbar > box.left,
|
||||
headerbar > box.right {
|
||||
padding: 0 4px;
|
||||
}
|
||||
|
||||
headerbar separator.titlebutton, headerbar separator.sidebar {
|
||||
margin-top: 11.5px;
|
||||
margin-bottom: 11.5px;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
headerbar switch {
|
||||
margin-top: 11px;
|
||||
margin-bottom: 11px;
|
||||
}
|
||||
|
||||
headerbar spinbutton button {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
146
matugen/templates/matugen-kcolorscheme.colors
Normal file
146
matugen/templates/matugen-kcolorscheme.colors
Normal file
@@ -0,0 +1,146 @@
|
||||
[KDE]
|
||||
contrast=4
|
||||
|
||||
[General]
|
||||
ColorScheme=DankMatugen
|
||||
Name=Dank Shell (matugen)
|
||||
|
||||
[ColorEffects:Disabled]
|
||||
Color={{colors.on_surface_variant.default.red}},{{colors.on_surface_variant.default.green}},{{colors.on_surface_variant.default.blue}}
|
||||
ColorAmount=0
|
||||
ColorEffect=0
|
||||
ContrastAmount=0.65
|
||||
ContrastEffect=1
|
||||
IntensityAmount=0.1
|
||||
IntensityEffect=2
|
||||
|
||||
[ColorEffects:Inactive]
|
||||
ChangeSelectionColor=true
|
||||
Color={{colors.outline.default.red}},{{colors.outline.default.green}},{{colors.outline.default.blue}}
|
||||
ColorAmount=0.025
|
||||
ColorEffect=2
|
||||
ContrastAmount=0.1
|
||||
ContrastEffect=2
|
||||
Enable=false
|
||||
IntensityAmount=0
|
||||
IntensityEffect=0
|
||||
|
||||
[Colors:Button]
|
||||
BackgroundAlternate={{colors.surface_container_high.default.red}},{{colors.surface_container_high.default.green}},{{colors.surface_container_high.default.blue}}
|
||||
BackgroundNormal={{colors.surface_container.default.red}},{{colors.surface_container.default.green}},{{colors.surface_container.default.blue}}
|
||||
DecorationFocus={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
DecorationHover={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
ForegroundActive={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
ForegroundInactive={{colors.on_surface_variant.default.red}},{{colors.on_surface_variant.default.green}},{{colors.on_surface_variant.default.blue}}
|
||||
ForegroundLink={{colors.tertiary.default.red}},{{colors.tertiary.default.green}},{{colors.tertiary.default.blue}}
|
||||
ForegroundNegative={{colors.error.default.red}},{{colors.error.default.green}},{{colors.error.default.blue}}
|
||||
ForegroundNeutral={{colors.secondary.default.red}},{{colors.secondary.default.green}},{{colors.secondary.default.blue}}
|
||||
ForegroundNormal={{colors.on_surface.default.red}},{{colors.on_surface.default.green}},{{colors.on_surface.default.blue}}
|
||||
ForegroundPositive={{colors.tertiary.default.red}},{{colors.tertiary.default.green}},{{colors.tertiary.default.blue}}
|
||||
ForegroundVisited={{colors.secondary.default.red}},{{colors.secondary.default.green}},{{colors.secondary.default.blue}}
|
||||
|
||||
[Colors:Complementary]
|
||||
BackgroundAlternate={{colors.surface_container_high.default.red}},{{colors.surface_container_high.default.green}},{{colors.surface_container_high.default.blue}}
|
||||
BackgroundNormal={{colors.surface.default.red}},{{colors.surface.default.green}},{{colors.surface.default.blue}}
|
||||
DecorationFocus={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
DecorationHover={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
ForegroundActive={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
ForegroundInactive={{colors.on_surface_variant.default.red}},{{colors.on_surface_variant.default.green}},{{colors.on_surface_variant.default.blue}}
|
||||
ForegroundLink={{colors.tertiary.default.red}},{{colors.tertiary.default.green}},{{colors.tertiary.default.blue}}
|
||||
ForegroundNegative={{colors.error.default.red}},{{colors.error.default.green}},{{colors.error.default.blue}}
|
||||
ForegroundNeutral={{colors.secondary.default.red}},{{colors.secondary.default.green}},{{colors.secondary.default.blue}}
|
||||
ForegroundNormal={{colors.on_surface.default.red}},{{colors.on_surface.default.green}},{{colors.on_surface.default.blue}}
|
||||
ForegroundPositive={{colors.tertiary.default.red}},{{colors.tertiary.default.green}},{{colors.tertiary.default.blue}}
|
||||
ForegroundVisited={{colors.secondary.default.red}},{{colors.secondary.default.green}},{{colors.secondary.default.blue}}
|
||||
|
||||
[Colors:Header]
|
||||
BackgroundAlternate={{colors.surface.default.red}},{{colors.surface.default.green}},{{colors.surface.default.blue}}
|
||||
BackgroundNormal={{colors.surface_container.default.red}},{{colors.surface_container.default.green}},{{colors.surface_container.default.blue}}
|
||||
DecorationFocus={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
DecorationHover={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
ForegroundActive={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
ForegroundInactive={{colors.on_surface_variant.default.red}},{{colors.on_surface_variant.default.green}},{{colors.on_surface_variant.default.blue}}
|
||||
ForegroundLink={{colors.tertiary.default.red}},{{colors.tertiary.default.green}},{{colors.tertiary.default.blue}}
|
||||
ForegroundNegative={{colors.error.default.red}},{{colors.error.default.green}},{{colors.error.default.blue}}
|
||||
ForegroundNeutral={{colors.secondary.default.red}},{{colors.secondary.default.green}},{{colors.secondary.default.blue}}
|
||||
ForegroundNormal={{colors.on_surface.default.red}},{{colors.on_surface.default.green}},{{colors.on_surface.default.blue}}
|
||||
ForegroundPositive={{colors.tertiary.default.red}},{{colors.tertiary.default.green}},{{colors.tertiary.default.blue}}
|
||||
ForegroundVisited={{colors.secondary.default.red}},{{colors.secondary.default.green}},{{colors.secondary.default.blue}}
|
||||
|
||||
[Colors:Header][Inactive]
|
||||
BackgroundAlternate={{colors.surface_container.default.red}},{{colors.surface_container.default.green}},{{colors.surface_container.default.blue}}
|
||||
BackgroundNormal={{colors.surface.default.red}},{{colors.surface.default.green}},{{colors.surface.default.blue}}
|
||||
DecorationFocus={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
DecorationHover={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
ForegroundActive={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
ForegroundInactive={{colors.on_surface_variant.default.red}},{{colors.on_surface_variant.default.green}},{{colors.on_surface_variant.default.blue}}
|
||||
ForegroundLink={{colors.tertiary.default.red}},{{colors.tertiary.default.green}},{{colors.tertiary.default.blue}}
|
||||
ForegroundNegative={{colors.error.default.red}},{{colors.error.default.green}},{{colors.error.default.blue}}
|
||||
ForegroundNeutral={{colors.secondary.default.red}},{{colors.secondary.default.green}},{{colors.secondary.default.blue}}
|
||||
ForegroundNormal={{colors.on_surface.default.red}},{{colors.on_surface.default.green}},{{colors.on_surface.default.blue}}
|
||||
ForegroundPositive={{colors.tertiary.default.red}},{{colors.tertiary.default.green}},{{colors.tertiary.default.blue}}
|
||||
ForegroundVisited={{colors.secondary.default.red}},{{colors.secondary.default.green}},{{colors.secondary.default.blue}}
|
||||
|
||||
[Colors:Selection]
|
||||
BackgroundAlternate={{colors.primary_container.default.red}},{{colors.primary_container.default.green}},{{colors.primary_container.default.blue}}
|
||||
BackgroundNormal={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
DecorationFocus={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
DecorationHover={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
ForegroundActive={{colors.on_primary.default.red}},{{colors.on_primary.default.green}},{{colors.on_primary.default.blue}}
|
||||
ForegroundInactive={{colors.on_surface_variant.default.red}},{{colors.on_surface_variant.default.green}},{{colors.on_surface_variant.default.blue}}
|
||||
ForegroundLink={{colors.tertiary.default.red}},{{colors.tertiary.default.green}},{{colors.tertiary.default.blue}}
|
||||
ForegroundNegative={{colors.error.default.red}},{{colors.error.default.green}},{{colors.error.default.blue}}
|
||||
ForegroundNeutral={{colors.secondary.default.red}},{{colors.secondary.default.green}},{{colors.secondary.default.blue}}
|
||||
ForegroundNormal={{colors.on_primary.default.red}},{{colors.on_primary.default.green}},{{colors.on_primary.default.blue}}
|
||||
ForegroundPositive={{colors.tertiary.default.red}},{{colors.tertiary.default.green}},{{colors.tertiary.default.blue}}
|
||||
ForegroundVisited={{colors.secondary.default.red}},{{colors.secondary.default.green}},{{colors.secondary.default.blue}}
|
||||
|
||||
[Colors:Tooltip]
|
||||
BackgroundAlternate={{colors.surface.default.red}},{{colors.surface.default.green}},{{colors.surface.default.blue}}
|
||||
BackgroundNormal={{colors.surface_container.default.red}},{{colors.surface_container.default.green}},{{colors.surface_container.default.blue}}
|
||||
DecorationFocus={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
DecorationHover={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
ForegroundActive={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
ForegroundInactive={{colors.on_surface_variant.default.red}},{{colors.on_surface_variant.default.green}},{{colors.on_surface_variant.default.blue}}
|
||||
ForegroundLink={{colors.tertiary.default.red}},{{colors.tertiary.default.green}},{{colors.tertiary.default.blue}}
|
||||
ForegroundNegative={{colors.error.default.red}},{{colors.error.default.green}},{{colors.error.default.blue}}
|
||||
ForegroundNeutral={{colors.secondary.default.red}},{{colors.secondary.default.green}},{{colors.secondary.default.blue}}
|
||||
ForegroundNormal={{colors.on_surface.default.red}},{{colors.on_surface.default.green}},{{colors.on_surface.default.blue}}
|
||||
ForegroundPositive={{colors.tertiary.default.red}},{{colors.tertiary.default.green}},{{colors.tertiary.default.blue}}
|
||||
ForegroundVisited={{colors.secondary.default.red}},{{colors.secondary.default.green}},{{colors.secondary.default.blue}}
|
||||
|
||||
[Colors:View]
|
||||
BackgroundAlternate={{colors.surface_container_low.default.red}},{{colors.surface_container_low.default.green}},{{colors.surface_container_low.default.blue}}
|
||||
BackgroundNormal={{colors.background.default.red}},{{colors.background.default.green}},{{colors.background.default.blue}}
|
||||
DecorationFocus={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
DecorationHover={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
ForegroundActive={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
ForegroundInactive={{colors.on_surface_variant.default.red}},{{colors.on_surface_variant.default.green}},{{colors.on_surface_variant.default.blue}}
|
||||
ForegroundLink={{colors.tertiary.default.red}},{{colors.tertiary.default.green}},{{colors.tertiary.default.blue}}
|
||||
ForegroundNegative={{colors.error.default.red}},{{colors.error.default.green}},{{colors.error.default.blue}}
|
||||
ForegroundNeutral={{colors.secondary.default.red}},{{colors.secondary.default.green}},{{colors.secondary.default.blue}}
|
||||
ForegroundNormal={{colors.on_surface.default.red}},{{colors.on_surface.default.green}},{{colors.on_surface.default.blue}}
|
||||
ForegroundPositive={{colors.tertiary.default.red}},{{colors.tertiary.default.green}},{{colors.tertiary.default.blue}}
|
||||
ForegroundVisited={{colors.secondary.default.red}},{{colors.secondary.default.green}},{{colors.secondary.default.blue}}
|
||||
|
||||
[Colors:Window]
|
||||
BackgroundAlternate={{colors.surface_container.default.red}},{{colors.surface_container.default.green}},{{colors.surface_container.default.blue}}
|
||||
BackgroundNormal={{colors.surface.default.red}},{{colors.surface.default.green}},{{colors.surface.default.blue}}
|
||||
DecorationFocus={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
DecorationHover={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
ForegroundActive={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
ForegroundInactive={{colors.on_surface_variant.default.red}},{{colors.on_surface_variant.default.green}},{{colors.on_surface_variant.default.blue}}
|
||||
ForegroundLink={{colors.tertiary.default.red}},{{colors.tertiary.default.green}},{{colors.tertiary.default.blue}}
|
||||
ForegroundNegative={{colors.error.default.red}},{{colors.error.default.green}},{{colors.error.default.blue}}
|
||||
ForegroundNeutral={{colors.secondary.default.red}},{{colors.secondary.default.green}},{{colors.secondary.default.blue}}
|
||||
ForegroundNormal={{colors.on_surface.default.red}},{{colors.on_surface.default.green}},{{colors.on_surface.default.blue}}
|
||||
ForegroundPositive={{colors.tertiary.default.red}},{{colors.tertiary.default.green}},{{colors.tertiary.default.blue}}
|
||||
ForegroundVisited={{colors.secondary.default.red}},{{colors.secondary.default.green}},{{colors.secondary.default.blue}}
|
||||
|
||||
[WM]
|
||||
activeBackground={{colors.surface_container.default.red}},{{colors.surface_container.default.green}},{{colors.surface_container.default.blue}}
|
||||
activeBlend={{colors.on_surface.default.red}},{{colors.on_surface.default.green}},{{colors.on_surface.default.blue}}
|
||||
activeForeground={{colors.on_surface.default.red}},{{colors.on_surface.default.green}},{{colors.on_surface.default.blue}}
|
||||
inactiveBackground={{colors.surface.default.red}},{{colors.surface.default.green}},{{colors.surface.default.blue}}
|
||||
inactiveBlend={{colors.on_surface_variant.default.red}},{{colors.on_surface_variant.default.green}},{{colors.on_surface_variant.default.blue}}
|
||||
inactiveForeground={{colors.on_surface_variant.default.red}},{{colors.on_surface_variant.default.green}},{{colors.on_surface_variant.default.blue}}
|
||||
10
matugen/templates/niri-colors.kdl
Normal file
10
matugen/templates/niri-colors.kdl
Normal file
@@ -0,0 +1,10 @@
|
||||
layout {
|
||||
border {
|
||||
active-color "{{colors.primary.default.hex}}"
|
||||
inactive-color "{{colors.secondary.default.hex}}"
|
||||
}
|
||||
focus-ring {
|
||||
active-color "{{colors.inverse_primary.default.hex}}"
|
||||
}
|
||||
background-color "{{colors.background.default.hex}}"
|
||||
}
|
||||
144
matugen/templates/qtct-colors.conf
Normal file
144
matugen/templates/qtct-colors.conf
Normal file
@@ -0,0 +1,144 @@
|
||||
[ColorScheme]
|
||||
active_colors={{colors.on_surface.default.hex}}, {{colors.surface_container.default.hex}}, {{colors.surface_container_high.default.hex}}, {{colors.outline.default.hex}}, {{colors.surface_variant.default.hex}}, {{colors.outline_variant.default.hex}}, {{colors.on_surface.default.hex}}, {{colors.on_primary.default.hex}}, {{colors.on_surface.default.hex}}, {{colors.surface.default.hex}}, {{colors.background.default.hex}}, {{colors.shadow.default.hex}}, {{colors.primary.default.hex}}, {{colors.on_primary.default.hex}}, {{colors.secondary.default.hex}}, {{colors.secondary.default.hex}}, {{colors.surface_container_low.default.hex}}, {{colors.surface_container.default.hex}}, {{colors.surface_container.default.hex}}, {{colors.on_surface_variant.default.hex}}, {{colors.on_surface_variant.default.hex}}
|
||||
disabled_colors={{colors.on_surface_variant.default.hex}}, {{colors.surface_variant.default.hex}}, {{colors.surface_container_high.default.hex}}, {{colors.outline.default.hex}}, {{colors.surface_variant.default.hex}}, {{colors.outline_variant.default.hex}}, {{colors.on_surface_variant.default.hex}}, {{colors.on_surface_variant.default.hex}}, {{colors.on_surface_variant.default.hex}}, {{colors.surface_variant.default.hex}}, {{colors.surface_variant.default.hex}}, {{colors.shadow.default.hex}}, {{colors.surface_variant.default.hex}}, {{colors.on_surface_variant.default.hex}}, {{colors.on_surface_variant.default.hex}}, {{colors.on_surface_variant.default.hex}}, {{colors.surface_variant.default.hex}}, {{colors.surface_variant.default.hex}}, {{colors.surface_variant.default.hex}}, {{colors.on_surface_variant.default.hex}}, {{colors.on_surface_variant.default.hex}}
|
||||
inactive_colors={{colors.on_surface_variant.default.hex}}, {{colors.surface_container.default.hex}}, {{colors.surface_container_high.default.hex}}, {{colors.outline.default.hex}}, {{colors.surface_variant.default.hex}}, {{colors.outline_variant.default.hex}}, {{colors.on_surface_variant.default.hex}}, {{colors.on_surface_variant.default.hex}}, {{colors.on_surface_variant.default.hex}}, {{colors.surface_container.default.hex}}, {{colors.surface_container.default.hex}}, {{colors.shadow.default.hex}}, {{colors.secondary.default.hex}}, {{colors.on_secondary.default.hex}}, {{colors.secondary.default.hex}}, {{colors.secondary.default.hex}}, {{colors.surface_container_low.default.hex}}, {{colors.surface_container.default.hex}}, {{colors.surface_container.default.hex}}, {{colors.on_surface_variant.default.hex}}, {{colors.on_surface_variant.default.hex}}
|
||||
|
||||
[ColorEffects:Disabled]
|
||||
Color={{colors.on_surface_variant.default.red}},{{colors.on_surface_variant.default.green}},{{colors.on_surface_variant.default.blue}}
|
||||
ColorAmount=0
|
||||
ColorEffect=0
|
||||
ContrastAmount=0.65
|
||||
ContrastEffect=1
|
||||
IntensityAmount=0.1
|
||||
IntensityEffect=2
|
||||
|
||||
[ColorEffects:Inactive]
|
||||
ChangeSelectionColor=true
|
||||
Color={{colors.outline.default.red}},{{colors.outline.default.green}},{{colors.outline.default.blue}}
|
||||
ColorAmount=0.025
|
||||
ColorEffect=2
|
||||
ContrastAmount=0.1
|
||||
ContrastEffect=2
|
||||
Enable=false
|
||||
IntensityAmount=0
|
||||
IntensityEffect=0
|
||||
|
||||
[Colors:Button]
|
||||
BackgroundAlternate={{colors.surface_container_high.default.red}},{{colors.surface_container_high.default.green}},{{colors.surface_container_high.default.blue}}
|
||||
BackgroundNormal={{colors.surface_container.default.red}},{{colors.surface_container.default.green}},{{colors.surface_container.default.blue}}
|
||||
DecorationFocus={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
DecorationHover={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
ForegroundActive={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
ForegroundInactive={{colors.on_surface_variant.default.red}},{{colors.on_surface_variant.default.green}},{{colors.on_surface_variant.default.blue}}
|
||||
ForegroundLink={{colors.tertiary.default.red}},{{colors.tertiary.default.green}},{{colors.tertiary.default.blue}}
|
||||
ForegroundNegative={{colors.error.default.red}},{{colors.error.default.green}},{{colors.error.default.blue}}
|
||||
ForegroundNeutral={{colors.secondary.default.red}},{{colors.secondary.default.green}},{{colors.secondary.default.blue}}
|
||||
ForegroundNormal={{colors.on_surface.default.red}},{{colors.on_surface.default.green}},{{colors.on_surface.default.blue}}
|
||||
ForegroundPositive={{colors.tertiary.default.red}},{{colors.tertiary.default.green}},{{colors.tertiary.default.blue}}
|
||||
ForegroundVisited={{colors.secondary.default.red}},{{colors.secondary.default.green}},{{colors.secondary.default.blue}}
|
||||
|
||||
[Colors:Complementary]
|
||||
BackgroundAlternate={{colors.surface_container_high.default.red}},{{colors.surface_container_high.default.green}},{{colors.surface_container_high.default.blue}}
|
||||
BackgroundNormal={{colors.surface.default.red}},{{colors.surface.default.green}},{{colors.surface.default.blue}}
|
||||
DecorationFocus={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
DecorationHover={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
ForegroundActive={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
ForegroundInactive={{colors.on_surface_variant.default.red}},{{colors.on_surface_variant.default.green}},{{colors.on_surface_variant.default.blue}}
|
||||
ForegroundLink={{colors.tertiary.default.red}},{{colors.tertiary.default.green}},{{colors.tertiary.default.blue}}
|
||||
ForegroundNegative={{colors.error.default.red}},{{colors.error.default.green}},{{colors.error.default.blue}}
|
||||
ForegroundNeutral={{colors.secondary.default.red}},{{colors.secondary.default.green}},{{colors.secondary.default.blue}}
|
||||
ForegroundNormal={{colors.on_surface.default.red}},{{colors.on_surface.default.green}},{{colors.on_surface.default.blue}}
|
||||
ForegroundPositive={{colors.tertiary.default.red}},{{colors.tertiary.default.green}},{{colors.tertiary.default.blue}}
|
||||
ForegroundVisited={{colors.secondary.default.red}},{{colors.secondary.default.green}},{{colors.secondary.default.blue}}
|
||||
|
||||
[Colors:Header]
|
||||
BackgroundAlternate={{colors.surface.default.red}},{{colors.surface.default.green}},{{colors.surface.default.blue}}
|
||||
BackgroundNormal={{colors.surface_container.default.red}},{{colors.surface_container.default.green}},{{colors.surface_container.default.blue}}
|
||||
DecorationFocus={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
DecorationHover={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
ForegroundActive={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
ForegroundInactive={{colors.on_surface_variant.default.red}},{{colors.on_surface_variant.default.green}},{{colors.on_surface_variant.default.blue}}
|
||||
ForegroundLink={{colors.tertiary.default.red}},{{colors.tertiary.default.green}},{{colors.tertiary.default.blue}}
|
||||
ForegroundNegative={{colors.error.default.red}},{{colors.error.default.green}},{{colors.error.default.blue}}
|
||||
ForegroundNeutral={{colors.secondary.default.red}},{{colors.secondary.default.green}},{{colors.secondary.default.blue}}
|
||||
ForegroundNormal={{colors.on_surface.default.red}},{{colors.on_surface.default.green}},{{colors.on_surface.default.blue}}
|
||||
ForegroundPositive={{colors.tertiary.default.red}},{{colors.tertiary.default.green}},{{colors.tertiary.default.blue}}
|
||||
ForegroundVisited={{colors.secondary.default.red}},{{colors.secondary.default.green}},{{colors.secondary.default.blue}}
|
||||
|
||||
[Colors:Header][Inactive]
|
||||
BackgroundAlternate={{colors.surface_container.default.red}},{{colors.surface_container.default.green}},{{colors.surface_container.default.blue}}
|
||||
BackgroundNormal={{colors.surface.default.red}},{{colors.surface.default.green}},{{colors.surface.default.blue}}
|
||||
DecorationFocus={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
DecorationHover={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
ForegroundActive={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
ForegroundInactive={{colors.on_surface_variant.default.red}},{{colors.on_surface_variant.default.green}},{{colors.on_surface_variant.default.blue}}
|
||||
ForegroundLink={{colors.tertiary.default.red}},{{colors.tertiary.default.green}},{{colors.tertiary.default.blue}}
|
||||
ForegroundNegative={{colors.error.default.red}},{{colors.error.default.green}},{{colors.error.default.blue}}
|
||||
ForegroundNeutral={{colors.secondary.default.red}},{{colors.secondary.default.green}},{{colors.secondary.default.blue}}
|
||||
ForegroundNormal={{colors.on_surface.default.red}},{{colors.on_surface.default.green}},{{colors.on_surface.default.blue}}
|
||||
ForegroundPositive={{colors.tertiary.default.red}},{{colors.tertiary.default.green}},{{colors.tertiary.default.blue}}
|
||||
ForegroundVisited={{colors.secondary.default.red}},{{colors.secondary.default.green}},{{colors.secondary.default.blue}}
|
||||
|
||||
[Colors:Selection]
|
||||
BackgroundAlternate={{colors.primary_container.default.red}},{{colors.primary_container.default.green}},{{colors.primary_container.default.blue}}
|
||||
BackgroundNormal={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
DecorationFocus={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
DecorationHover={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
ForegroundActive={{colors.on_primary.default.red}},{{colors.on_primary.default.green}},{{colors.on_primary.default.blue}}
|
||||
ForegroundInactive={{colors.on_surface_variant.default.red}},{{colors.on_surface_variant.default.green}},{{colors.on_surface_variant.default.blue}}
|
||||
ForegroundLink={{colors.tertiary.default.red}},{{colors.tertiary.default.green}},{{colors.tertiary.default.blue}}
|
||||
ForegroundNegative={{colors.error.default.red}},{{colors.error.default.green}},{{colors.error.default.blue}}
|
||||
ForegroundNeutral={{colors.secondary.default.red}},{{colors.secondary.default.green}},{{colors.secondary.default.blue}}
|
||||
ForegroundNormal={{colors.on_primary.default.red}},{{colors.on_primary.default.green}},{{colors.on_primary.default.blue}}
|
||||
ForegroundPositive={{colors.tertiary.default.red}},{{colors.tertiary.default.green}},{{colors.tertiary.default.blue}}
|
||||
ForegroundVisited={{colors.secondary.default.red}},{{colors.secondary.default.green}},{{colors.secondary.default.blue}}
|
||||
|
||||
[Colors:Tooltip]
|
||||
BackgroundAlternate={{colors.surface.default.red}},{{colors.surface.default.green}},{{colors.surface.default.blue}}
|
||||
BackgroundNormal={{colors.surface_container.default.red}},{{colors.surface_container.default.green}},{{colors.surface_container.default.blue}}
|
||||
DecorationFocus={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
DecorationHover={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
ForegroundActive={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
ForegroundInactive={{colors.on_surface_variant.default.red}},{{colors.on_surface_variant.default.green}},{{colors.on_surface_variant.default.blue}}
|
||||
ForegroundLink={{colors.tertiary.default.red}},{{colors.tertiary.default.green}},{{colors.tertiary.default.blue}}
|
||||
ForegroundNegative={{colors.error.default.red}},{{colors.error.default.green}},{{colors.error.default.blue}}
|
||||
ForegroundNeutral={{colors.secondary.default.red}},{{colors.secondary.default.green}},{{colors.secondary.default.blue}}
|
||||
ForegroundNormal={{colors.on_surface.default.red}},{{colors.on_surface.default.green}},{{colors.on_surface.default.blue}}
|
||||
ForegroundPositive={{colors.tertiary.default.red}},{{colors.tertiary.default.green}},{{colors.tertiary.default.blue}}
|
||||
ForegroundVisited={{colors.secondary.default.red}},{{colors.secondary.default.green}},{{colors.secondary.default.blue}}
|
||||
|
||||
[Colors:View]
|
||||
BackgroundAlternate={{colors.surface_container_low.default.red}},{{colors.surface_container_low.default.green}},{{colors.surface_container_low.default.blue}}
|
||||
BackgroundNormal={{colors.background.default.red}},{{colors.background.default.green}},{{colors.background.default.blue}}
|
||||
DecorationFocus={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
DecorationHover={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
ForegroundActive={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
ForegroundInactive={{colors.on_surface_variant.default.red}},{{colors.on_surface_variant.default.green}},{{colors.on_surface_variant.default.blue}}
|
||||
ForegroundLink={{colors.tertiary.default.red}},{{colors.tertiary.default.green}},{{colors.tertiary.default.blue}}
|
||||
ForegroundNegative={{colors.error.default.red}},{{colors.error.default.green}},{{colors.error.default.blue}}
|
||||
ForegroundNeutral={{colors.secondary.default.red}},{{colors.secondary.default.green}},{{colors.secondary.default.blue}}
|
||||
ForegroundNormal={{colors.on_surface.default.red}},{{colors.on_surface.default.green}},{{colors.on_surface.default.blue}}
|
||||
ForegroundPositive={{colors.tertiary.default.red}},{{colors.tertiary.default.green}},{{colors.tertiary.default.blue}}
|
||||
ForegroundVisited={{colors.secondary.default.red}},{{colors.secondary.default.green}},{{colors.secondary.default.blue}}
|
||||
|
||||
[Colors:Window]
|
||||
BackgroundAlternate={{colors.surface_container.default.red}},{{colors.surface_container.default.green}},{{colors.surface_container.default.blue}}
|
||||
BackgroundNormal={{colors.surface.default.red}},{{colors.surface.default.green}},{{colors.surface.default.blue}}
|
||||
DecorationFocus={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
DecorationHover={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
ForegroundActive={{colors.primary.default.red}},{{colors.primary.default.green}},{{colors.primary.default.blue}}
|
||||
ForegroundInactive={{colors.on_surface_variant.default.red}},{{colors.on_surface_variant.default.green}},{{colors.on_surface_variant.default.blue}}
|
||||
ForegroundLink={{colors.tertiary.default.red}},{{colors.tertiary.default.green}},{{colors.tertiary.default.blue}}
|
||||
ForegroundNegative={{colors.error.default.red}},{{colors.error.default.green}},{{colors.error.default.blue}}
|
||||
ForegroundNeutral={{colors.secondary.default.red}},{{colors.secondary.default.green}},{{colors.secondary.default.blue}}
|
||||
ForegroundNormal={{colors.on_surface.default.red}},{{colors.on_surface.default.green}},{{colors.on_surface.default.blue}}
|
||||
ForegroundPositive={{colors.tertiary.default.red}},{{colors.tertiary.default.green}},{{colors.tertiary.default.blue}}
|
||||
ForegroundVisited={{colors.secondary.default.red}},{{colors.secondary.default.green}},{{colors.secondary.default.blue}}
|
||||
|
||||
[WM]
|
||||
activeBackground={{colors.surface_container.default.red}},{{colors.surface_container.default.green}},{{colors.surface_container.default.blue}}
|
||||
activeBlend={{colors.on_surface.default.red}},{{colors.on_surface.default.green}},{{colors.on_surface.default.blue}}
|
||||
activeForeground={{colors.on_surface.default.red}},{{colors.on_surface.default.green}},{{colors.on_surface.default.blue}}
|
||||
inactiveBackground={{colors.surface.default.red}},{{colors.surface.default.green}},{{colors.surface.default.blue}}
|
||||
inactiveBlend={{colors.on_surface_variant.default.red}},{{colors.on_surface_variant.default.green}},{{colors.on_surface_variant.default.blue}}
|
||||
inactiveForeground={{colors.on_surface_variant.default.red}},{{colors.on_surface_variant.default.green}},{{colors.on_surface_variant.default.blue}}
|
||||
@@ -64,22 +64,22 @@ mkdir -p "$CONFIG_DIR/gtk-3.0" "$CONFIG_DIR/gtk-4.0" "$CONFIG_DIR/qt5ct/colors"
|
||||
|
||||
cd "$SHELL_DIR" || exit 1
|
||||
|
||||
if [ ! -f "matugen-config.toml" ]; then
|
||||
echo "Config file not found: $SHELL_DIR/matugen-config.toml" >&2
|
||||
if [ ! -f "matugen/matugen-default-cfg.toml" ]; then
|
||||
echo "Config file not found: $SHELL_DIR/matugen/matugen-default-cfg.toml" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
TEMP_CONFIG="/tmp/matugen-config-$$.toml"
|
||||
cp "matugen-config.toml" "$TEMP_CONFIG"
|
||||
cp "matugen/matugen-default-cfg.toml" "$TEMP_CONFIG"
|
||||
|
||||
if [ "$IS_LIGHT" = "true" ]; then
|
||||
COLLOID_TEMPLATE="$SHELL_DIR/templates/gtk3-colloid-light.css"
|
||||
COLLOID_TEMPLATE="$SHELL_DIR/matugen/templates/gtk3-colloid-light.css"
|
||||
else
|
||||
COLLOID_TEMPLATE="$SHELL_DIR/templates/gtk3-colloid-dark.css"
|
||||
COLLOID_TEMPLATE="$SHELL_DIR/matugen/templates/gtk3-colloid-dark.css"
|
||||
fi
|
||||
|
||||
sed -i "/\[templates\.gtk3\]/,/^\[/ s|input_path = './templates/gtk-colors.css'|input_path = '$COLLOID_TEMPLATE'|" "$TEMP_CONFIG"
|
||||
sed -i "s|input_path = './templates/|input_path = '$SHELL_DIR/templates/|g" "$TEMP_CONFIG"
|
||||
sed -i "/\[templates\.gtk3\]/,/^\[/ s|input_path = './matugen/templates/gtk-colors.css'|input_path = '$COLLOID_TEMPLATE'|" "$TEMP_CONFIG"
|
||||
sed -i "s|input_path = './matugen/templates/|input_path = '$SHELL_DIR/matugen/templates/|g" "$TEMP_CONFIG"
|
||||
|
||||
MATUGEN_MODE=""
|
||||
if [ "$IS_LIGHT" = "true" ]; then
|
||||
@@ -108,7 +108,27 @@ elif [ "$MODE" = "generate-color" ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
rm -f "$TEMP_CONFIG"
|
||||
# Generate ghostty, dgop, and fastfetch colors with content scheme for better contrast
|
||||
TEMP_CONTENT_CONFIG="/tmp/matugen-content-config-$$.toml"
|
||||
cp "matugen/matugen-content-cfg.toml" "$TEMP_CONTENT_CONFIG"
|
||||
sed -i "s|input_path = './matugen/templates/|input_path = '$SHELL_DIR/matugen/templates/|g" "$TEMP_CONTENT_CONFIG"
|
||||
|
||||
# Remove the unused ghostty template based on light/dark mode
|
||||
if [ "$IS_LIGHT" = "true" ]; then
|
||||
sed -i '/\[templates\.ghostty-dark\]/,/^$/d' "$TEMP_CONTENT_CONFIG"
|
||||
else
|
||||
sed -i '/\[templates\.ghostty-light\]/,/^$/d' "$TEMP_CONTENT_CONFIG"
|
||||
fi
|
||||
|
||||
if [ "$MODE" = "generate" ]; then
|
||||
echo "Generating ghostty, dgop, and fastfetch colors with content scheme..."
|
||||
matugen -v -c "$TEMP_CONTENT_CONFIG" -t scheme-fidelity image "$INPUT_SOURCE" $MATUGEN_MODE
|
||||
elif [ "$MODE" = "generate-color" ]; then
|
||||
echo "Generating ghostty, dgop, and fastfetch colors with content scheme..."
|
||||
matugen -v -c "$TEMP_CONTENT_CONFIG" -t scheme-fidelity color hex "$INPUT_SOURCE" $MATUGEN_MODE
|
||||
fi
|
||||
|
||||
rm -f "$TEMP_CONFIG" "$TEMP_CONTENT_CONFIG"
|
||||
|
||||
echo "Updating system theme preferences..."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user