feat: modernize color-tool with multiple formats, HSL support, and embedded picker

- Added --output flag supporting hex, rgb, hsl, rgba, hsla, hexa, and 'all' formats
- Implemented HSL/HSLA conversion using internal Python logic
- Added --[no-] prefix support for all toggleable flags (json, name, swatch, copy, notify, pick)
- Embedded KDE Plasma color picker Python script within the main bash script for portability
- Refactored argument parsing to implement a robust priority system (CLI > Desktop Config > Default Config)
- Improved validation to catch invalid output formats before triggering the color picker
- Updated installation logic to generate all necessary components and sample configuration
- Fixed swatch formatting when outputting JSON
- Refined desktop mode behavior and configurability
This commit is contained in:
2026-04-27 22:40:55 -04:00
parent 6c2c42d3e5
commit 5c87e382de
3 changed files with 297 additions and 221 deletions
+3 -3
View File
@@ -2,6 +2,6 @@
.remember
.gemini*
.claude*
CLAUDE.md
GEMINI.md
AGENTS.md
#CLAUDE.md
#GEMINI.md
#AGENTS.md