feat(dev): add live theme adapter panel for color customization
Floating panel in bottom-right of all dev targets lets you: - Switch presets (Purple, Blue, Neutral, Warm, Rose, Emerald) - Adjust gray hue/saturation and accent hue/saturation with sliders - Preview color swatches in real-time - Copy EDN config to paste into tokens.edn State persists in localStorage. Panel collapses to a small toggle button. Hiccup handler changed to use #'handler var for hot-reload.
This commit is contained in:
6
bb.edn
6
bb.edn
@@ -12,7 +12,11 @@
|
||||
(spit "dev/replicant/public/theme.css" css)
|
||||
(io/make-parents "dev/squint/public/theme.css")
|
||||
(spit "dev/squint/public/theme.css" css)
|
||||
(println "Copied theme.css to dev targets")))}
|
||||
(println "Copied theme.css to dev targets"))
|
||||
(let [adapter (slurp "dev/theme-adapter.js")]
|
||||
(spit "dev/replicant/public/theme-adapter.js" adapter)
|
||||
(spit "dev/squint/public/theme-adapter.js" adapter)
|
||||
(println "Copied theme-adapter.js to dev targets")))}
|
||||
|
||||
test
|
||||
{:doc "Run all unit tests"
|
||||
|
||||
Reference in New Issue
Block a user