pico
pico copied to clipboard
theme css is still included for components that are not loaded.
lets say you customize your pico by not including the components you do not plan to use in your site, such as _accordion.scss
the theme file still bundles colors and other stuff for accordion...
It seems to go really lightweight you would need to dig into the theme files with a fine tooth comb and look it over line by line if your goal is the smallest possible css file.
Luckily the _dark.scss and _light.scss are very well organized with comments, so it makes it easier to find what you need and comment it out.
I wonder if there should be a note about this in the documentation someplace...
@Jieiku, I noticed you closed this issue. It's a valid issue.
This will be implemented sooner or later. I started thinking about it, and it's in the roadmap. It takes a bit of refactoring to add variables like $is-accordion-enabled: true;.
oh great, it was just something I noticed but I was not sure if it was intentional.
I have started to write my own css framework that uses a little bit of this and that from a few of my favorite css frameworks (this one included)