aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/browser-gates.js
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-19 10:19:59 -0400
committerCraig Jennings <c@cjennings.net>2026-06-19 10:19:59 -0400
commit0bb54cef6c7f1e4f13b53d62bdb2d3c2853fb5cb (patch)
tree3b04a5297ffa944e7b5d2a57c988202c061379df /scripts/theme-studio/browser-gates.js
parent9b28ff54eaffbad2f0958df625e4430d0abd91a3 (diff)
downloaddotemacs-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/browser-gates.js')
0 files changed, 0 insertions, 0 deletions