jacobobryant / platypub

A publishing platform built with Biff
MIT License
65 stars 13 forks source link

Add a color picker component #91

Closed joerter closed 1 year ago

joerter commented 1 year ago

Fixes #8

I was a little confused on whether to add the :type :color to config.edn or config.clj. My changes to config.edn actually had an effect on the site edit screen, but I added to config.clj as well for completeness.

jacobobryant commented 1 year ago

Thanks! I see you're discovering the cruftiness/over-engineered-ness of this codebase :). config.clj is the source of truth, and config.edn is generated from that. config.edn is an interface between the theme code and platypub core.

This whole thing needs to be re-architected so badly. I should write my next biff post about that. I probably can't get to any coding on platypub myself for at least a couple months, but maybe it'd be helpful to have some plans laid out for anyone who's feeling ambitious.

joerter commented 1 year ago

That would be great! I've really enjoyed playing around with it when I have time. I've learned a lot so far, and would love to get in deeper.