News for hackers. Stuff that matters.
Re:Matcha.css – Drop-in semantic styling library in pure CSS by TekMol on Thursday May 23, 2024 @12:44PM (#40456923)
Not sure I get it.

It sounds like it is a css file which styles standard html elements.

But I'm not sure. If so, where is the css file? And what are those 200 files in the git repo?

Re:Matcha.css – Drop-in semantic styling library in pure CSS by croes on Thursday May 23, 2024 @12:54PM (#40457065)
Re:Matcha.css – Drop-in semantic styling library in pure CSS by 0cf8612b2e1e on Thursday May 23, 2024 @01:20PM (#40457356)
These classless libraries are for quick/MVP style web apps where you just need to give the user one or two forms and some help documentation.

I use them all the time for internal stuff because it lets me write some dirty html and have the backend do the real work while not looking browser-default-hideous.

If you need something more complicated, these are probably not meant for you.

Re:Matcha.css – Drop-in semantic styling library in pure CSS by easyThrowaway on Friday May 24, 2024 @03:45AM (#40463900)
Yep. I love the idea behind those libraries but I can't think of any production environment where I would use them without crippling any future change. You'd be forced to silo every custom component from the main stylesheet.
Re:Matcha.css – Drop-in semantic styling library in pure CSS by lowlighter on Friday May 24, 2024 @02:28PM (#40469081)
Yeah I don't think this is meant to be used for a production environment. I wrotten this mostly to style my hobby projects effortlessly

Anyway more "professional contexts" probably have their own branding too, so the added value is probably negligeable in this case

Re:Matcha.css – Drop-in semantic styling library in pure CSS by lowlighter on Friday May 24, 2024 @02:26PM (#40469052)
Yes it's exactly as you guessed it

The hundreds of files in the repo are just for maintainability and organization, but in the end it'll result in a single file to include, although you can also individually select which part you want to include if you'd like