lukejacksonn / oceanwind

Compiles tailwind shorthand into css at runtime. Succeeded by Twind.
https://twind.dev
264 stars 12 forks source link

Remove capsize and dfont utils #23

Closed lukejacksonn closed 3 years ago

lukejacksonn commented 3 years ago

This removes the cap directive which was really an experiment into adding a quite involved custom translation. However it is not included in the Tailwind API. This makes it inappropriate to be in oceanwind core.

That said, I found the capsize directive pretty useful so will probably use it to test some kind of "middleware" concept #14.

Removing the directive from core saves a good kilobyte of gzipped and nearly three parsed.