template-processor: updated comments

This commit is contained in:
Lemmy
2026-01-21 21:50:06 -05:00
parent e3c25de1b1
commit f6836afd28
2 changed files with 5 additions and 4 deletions
+3 -3
View File
@@ -126,10 +126,10 @@ def _score_colors_chroma(
colors_with_counts: list[tuple[RGB, int]],
) -> list[tuple[Color, float]]:
"""
Score colors prioritizing chroma (vibrancy).
Score colors prioritizing chroma (vibrancy) over area coverage.
This is the original scoring algorithm that picks the most colorful colors.
Used for "vibrant" mode.
Uses count^0.3 weighting so saturated colors win even with small area.
Used for "vibrant" mode to find the most eye-catching colors.
Args:
colors_with_counts: List of (RGB, count) tuples from clustering
+2 -1
View File
@@ -9,7 +9,8 @@ Supported scheme types:
- tonal-spot: Default Android 12-13 scheme (recommended)
- fruit-salad: Bold/playful with hue rotation
- rainbow: Chromatic accents with grayscale neutrals
- vibrant: Preserves wallpaper colors directly (legacy)
- vibrant: Prioritizes the most saturated colors regardless of area
- faithful: Prioritizes dominant colors by area coverage
"""
from typing import Literal