Web components compadres, what is your favorite way to style your web components? Thinking about techniques that consider customizability and CSS developer experience, as well as performance. Share with me your favorite libraries and tell me why you like their approach! #webcomponents #styling #designsystems
I think #CSS vars are good enough for bridging styles from a page into it's #webComponents' #shadowDOM
The most OCD hill I'm willing to die on is: #CSS rules should be alphabetized.
> #AtomicCSS reduces everyone to using the documentation; experienced designers who may have a lot of experience writing #CSS now need to confer to a lookup table ("I want flex-shrink: 0, is that flex-shrink-0 or shrink-0?").
https://www.keithcirkel.co.uk/css-classes-considered-harmful/
I'm of the opinion that the #cascade was a mistake, for the same reason that #OOP was a mistake; #inheritance is too implicit. How much time have we wasted with things like #CSS resets, !important, #BEM, etc just faffing about with #specificity trying to make styles apply? For what? A few bytes of duplication?
#Typst, the new #writing tool dubbed "an alternative to #LaTeX", was #OpenSource'd a couple of days ago.
@tarleb / @pandoc wrote a great article on it I recommend anyone interested read. Shoutout to @maegul for collab & #Pandoc
https://tarleb.com/posts/typst-musings
"The greatest value I see [in Typst] is in the #responsive #interactive, and even #collaborative #styling of #PDFs."
I love LaTeX but to lower the barrier and enable people to write #math/ #science/ #journalism is