runrig-coop / early-warning-system

An early warning system for Richland Gro-Op to coordinate field health.
GNU General Public License v3.0
2 stars 1 forks source link

Add Pico CSS framework #23

Closed jgaehring closed 10 months ago

jgaehring commented 10 months ago

In anticipation of needing to add some <input> and other form elements in the course of #11, I installed Pico just so I don't have to think about really basic style stuff. I much prefer Pico's minimalism, semantics and emphasis on web standards, as opposed to Tailwind and other "utility-first" frameworks, which just seem bloated and verbose, imo.

jgaehring commented 10 months ago

Oh, and I also added a button to manually add examples, or what we were calling defaultFarms before (43ce7ff), as well as a reset button labeled "Clear" (b325596). I'm deleting the reset WIP branch, which was superceded by the latter.

jgaehring commented 10 months ago

Last note I'll leave here, as I also just noted in a code comment, regarding the CSS variable overrides:

So far this is only handling the main brand colors, but in Pico v2 this should all become a lot easier to do, so might hold off till then. See https://v2.picocss.com/docs/css-variables.