BrocksiNet / brocksinet-comments

Comments/Discussion for brocksinet
0 stars 0 forks source link

https://www.brocksi.net/blog/lightningcss-how-to-transform-a-dashedident/?utterances=06f95aab99ccd514725fd039LqdzBWreJTuaslnIbUaGAZe5VgpVWGQbwe5cdqXctW7%2FlHsZSX5%2FCI%2FmbfxvC2oCBUSgUorXY2zCNpwLpyXFHIzebleie3ZZna1VzieGHOVfhCVOmcAow0dtSYU%3D #7

Open utterances-bot opened 1 month ago

utterances-bot commented 1 month ago

LightningCSS - How to Transform a DashedIdent value? | BrocksiNet

Sometimes I have very stupid ideas. People usually laugh at first, but I've learned that there's truth in every stupid idea. So, my latest dumb idea was to turn CSS into CSS! Sounds great, I know. If you're working with Bootstrap 5 and want to use CSS variables to change the color of some buttons, for example, you'll find that Bootstrap can only handle this in some parts of its components. They are working on fully supporting this with Bootstrap 6, but they also rely on SCSS in their components, and if they were to change it now, those would be breaking changes. The sad thing is that there is currently no date for when Bootstrap 6 will be released.

https://www.brocksi.net/blog/lightningcss-how-to-transform-a-dashedident/?utterances=06f95aab99ccd514725fd039LqdzBWreJTuaslnIbUaGAZe5VgpVWGQbwe5cdqXctW7%2FlHsZSX5%2FCI%2FmbfxvC2oCBUSgUorXY2zCNpwLpyXFHIzebleie3ZZna1VzieGHOVfhCVOmcAow0dtSYU%3D

jeffjohnsondicc commented 1 month ago

Great post! Turning CSS into CSS is definitely an interesting idea, and it's fascinating to see how you're using LightningCSS to transform the compiled file for easier theming. The example you provided with the DashedIdent values and visitor pattern is insightful, and it seems like a promising approach for tackling Bootstrap’s limitations. Looking forward to seeing how the mapping evolves!

Regards