Pico CSS theme picker #21
|
Since via is reactive it’s possible to pick the pico CSS theme at runtime . https://picocss.com/docs/version-picker/cyan would be a cool component for via, where you or the end user can pick a theme. We are just swapping out the CDN css url at runtime. I would call this a Via Component . We have not started to build components yet . I have started to build a few components using Via that do various common things that I need and found pico to be an excellent way to do it , so by having a theme picker the components are agnostic to these changes and will automatically reflect the chosen theme . |
Replies: 1 comment 3 replies
|
Maybe a new repo called “ via-pico-component “ is the right place to build these . I already started on a hamburger menu and it would be great to build these standard components up together . |
Yes. Its already available.
https://github.com/go-via/via-plugin-picocss