You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 26, 2023. It is now read-only.
https://github.com/AoDev/css-byebye
I think using this plugin we can tell that remove all classes which doesn't start with 'u-' using some regex pattern.
https://github.com/jacobp100/postcss-remove-classes
using this plugin it is possible to remove bootstrap's default classes like 'btn', 'card', 'mb-2', ....
maybe useful for our use-case:
https://github.com/itaoyuta/postcss-selector-replace
also this plugin removes css classes.
https://github.com/AoDev/css-byebye
https://github.com/AoDev/css-byebye/blob/master/lib/css-byebye.js
we can write a PostCSS plugin which transform tabler.css to a simpler css file with only .u-* classes
something like this:
postcss.config.cjs
tabler.css
output:
The text was updated successfully, but these errors were encountered: