diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-19 10:19:59 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-19 10:19:59 -0400 |
| commit | 0bb54cef6c7f1e4f13b53d62bdb2d3c2853fb5cb (patch) | |
| tree | 3b04a5297ffa944e7b5d2a57c988202c061379df /scripts/theme-studio/face_data.py | |
| parent | 9b28ff54eaffbad2f0958df625e4430d0abd91a3 (diff) | |
| download | dotemacs-0bb54cef6c7f1e4f13b53d62bdb2d3c2853fb5cb.tar.gz dotemacs-0bb54cef6c7f1e4f13b53d62bdb2d3c2853fb5cb.zip | |
refactor(theme-studio): share oklchOf and isPureEndpointHex from colormath
oklchOf and isPureEndpointHex were each defined identically in app-core.js and palette-generator-core.js, and hueOfHex inlined oklchOf's body a third time. I moved both helpers into colormath.js, which already owns the primitives they call, and had the two consumers import them. hueOfHex now calls oklchOf instead of re-deriving it.
Diffstat (limited to 'scripts/theme-studio/face_data.py')
0 files changed, 0 insertions, 0 deletions
