spectre-org / spectre-css

A lightweight, responsive and modern CSS framework
https://spectre-org.github.io/spectre-docs/
MIT License
39 stars 4 forks source link

Expand utilities #17

Open davestewart opened 1 year ago

davestewart commented 1 year ago

Background

In comparison to Tailwind's utilities, Spectre's are woefully out of date!

Whilst I don't use most of Tailwind's utilities, the core ones (margin, padding, flex) are really useful.

Proposal

Create a tight core of utilities which handle 80% of the use cases.

Suggestions:

Notes

See:

For position, we could also provide a an overridable SCSS map, then @for-each though that: