[dead]
Re:A design system for the federal government
by wink on Monday September 11, 2023 @11:33AM
(#37468823)
Somewhere in London some intern at gov.uk is still not finished rewriting all the god-save-the-queen-hr-<color> CSS class names to god-save-the-king-...
Re:A design system for the federal government
by koshergweilo on Monday September 11, 2023 @03:02PM
(#37472081)
*god-save-the-queen-hr-<colour>
Re:A design system for the federal government
by galaxyLogic on Monday September 11, 2023 @03:14PM
(#37472270)
LOL
Re:A design system for the federal government
by raylus on Friday September 15, 2023 @09:25AM
(#37522596)
haha, fair point. Still, I'm on the fence about how utility components are namespaced in USWDS. Perhaps giving users the flexibility to define the namespace might work better? One thing that bugs me is the absence of class-sorting like we have in TailwindCSS. Plus, there are some gaps I've noticed in USWDS. The naming, especially when comparing "padding-x-2" and "p-x-2", can be really annoying when switching around, maybe that could also be an option for the developer or project. Similar to the ideas antfu has on uno.css https://unocss.dev/ ♥
It's the American government... isn't it?
What namespace would you expect them to use?