tailwind icon indicating copy to clipboard operation
tailwind copied to clipboard

Support for extending themes

Open yrashk opened this issue 4 years ago • 1 comments

First of all, thank you so much for creating this package! :heart:

I am wondering if you have any thoughts on best ways to extend themes? I ran into a need to add Inter var to the font family https://tailwindui.com/documentation#optional-add-the-inter-font-family, and I'll probably add custom sizes later. Thinking what would be the best way to accomplish this.

Thanks!

yrashk avatar May 02 '21 15:05 yrashk

Unfortunately this library doesn't currently support this feature of Tailwind, since it just deals with Tailwind's output, not the various options it uses to generate.

A hacky but possibly workable solution could be to use this library to output the CSS you want and in that program just do simple string replace to make the change you need.

bradleypeabody avatar May 05 '21 15:05 bradleypeabody