Early matugen implementation

This commit is contained in:
Ly-sec 2025-08-14 15:17:54 +02:00
parent 44656911cb
commit 2bdff80599
9 changed files with 162 additions and 120 deletions

View file

@ -0,0 +1,28 @@
# matugen configuration for Noctalia
# This file configures how matugen generates colors from wallpapers
[config]
# Color scheme type for generation
scheme = "dark"
# Color space for color extraction
color_space = "oklch"
# Algorithm for color extraction
algorithm = "kmeans"
# Number of colors to extract
color_count = 16
# Use source image colors
use_source_colors = true
# Generate dark theme variant
generate_dark = true
# Generate light theme variant
generate_light = false
[templates.noctalia]
input_path = "templates/noctalia.json"
output_path = "~/.config/noctalia/theme.json"

View file

@ -0,0 +1,26 @@
{
"backgroundPrimary": "{{colors.surface_dim.default.hex}}",
"backgroundSecondary": "{{colors.surface.default.hex}}",
"backgroundTertiary": "{{colors.surface_bright.default.hex}}",
"surface": "{{colors.surface.default.hex}}",
"surfaceVariant": "{{colors.surface_variant.default.hex}}",
"textPrimary": "{{colors.on_surface.default.hex}}",
"textSecondary": "{{colors.on_surface_variant.default.hex}}",
"textDisabled": "{{colors.on_surface_variant.default.hex}}",
"accentPrimary": "{{colors.primary.default.hex}}",
"accentSecondary": "{{colors.secondary.default.hex}}",
"accentTertiary": "{{colors.tertiary.default.hex}}",
"error": "{{colors.error.default.hex}}",
"warning": "{{colors.error_container.default.hex}}",
"hover": "{{colors.primary_container.default.hex}}",
"onAccent": "{{colors.on_primary.default.hex}}",
"outline": "{{colors.outline.default.hex}}",
"shadow": "{{colors.shadow.default.hex}}",
"overlay": "{{colors.scrim.default.hex}}"
}