Posting this for further discussion!
If I were to redo 98.css today here's what I'd do:
- Write as a series of utility classes a la tailwind (i.e.
class="border-raised-left ... instead of <button />)
- Potentially this can even be a shadcn config or something
- LLMs do a great job of generating this type of markup as they are trained on many tailwind examples
- React components (maybe separate repo)
- I originally stood firm that the designs were framework agnostic. A valiant goal, but some react examples to actually use these things enables more developers to make more things
- Extensibility
- We can't cover everything, and people have wild ideas. It should be very easy for these styles to be portable/extendable. Maybe through more CSS variables
Posting this for further discussion!
If I were to redo 98.css today here's what I'd do:
class="border-raised-left ...instead of<button />)