20 Commits

Author SHA1 Message Date
Nate Moore
e86b586f4b
Adds support for tailwind.config.cjs files (#3181)
* feat: automatically init and resolve tailwind.config.cjs files

* test: add tests for default tailwind.config.cjs resolution

* fix `cjsConfigFile` constant

* Fix JSDoc type of isModule
2021-02-07 14:50:21 -05:00
Adam Wathan
3de0c48bd6 Don't mix unitless values with units in the same scale
Resolves an issue where `ring-offset-0` didn't actually work because `calc(0 * 1)` fails to compute, need a unit.
2020-11-17 08:26:44 -05:00
Robin Malfait
9e3700c08a
add function presets (#2680) 2020-10-26 09:43:31 -04:00
Adam Wathan
b27608557a
Include default config by default in presets (#2660) 2020-10-23 13:23:21 -04:00
Adam Wathan
38b4eeb288 Prettier likes parens a lot now
git blame is now broken forever.
2020-10-16 15:39:44 -04:00
Adam Wathan
b299b6fbe1
Support new presets key + extending core plugins config (#2474)
* WIP

* Support array for Tailwind config

* Drop array format for `presets` key instead

* Update changelog
2020-10-08 11:21:39 -04:00
Adam Wathan
0bf8495b96 Support passing config object under config key 2019-08-02 08:31:46 -04:00
Adam Wathan
5cad3910fd Support passing empty object to signal 'use default config path' 2019-08-02 08:14:07 -04:00
Adam Wathan
649fb8f21e Support passing config path via object 2019-08-02 08:07:42 -04:00
mattstypa
26e4007428 Few CLI tweaks 2019-03-20 08:17:56 -05:00
Matt Stypa
6c461706c6 Moved constants and used it for hardcoded paths 2019-03-15 07:08:34 -05:00
Adam Wathan
c360c602f7 Clean up tmp directory contents automatically 2019-03-05 07:49:23 -05:00
Adam Wathan
7ade6ea744 Load tailwind.config.js automatically if present 2019-03-04 16:27:38 -05:00
Adam Wathan
ec1bdd27ec Move screens into theme config 2019-02-01 12:32:50 -05:00
Matt Stypa
b71cfe711e CLI tool rewrite 2018-09-13 21:37:10 -05:00
Adam Wathan
bfaafffb3f Fix style 2018-06-26 13:44:38 -04:00
Adam Wathan
6fb772cb71 Test config can be passed as object instead of path 2018-06-25 08:35:01 -04:00
Adam Wathan
bc05473b37 Add dependencies, fix warnings 2018-03-07 09:37:01 -05:00
Adam Wathan
6b307cd8af Fix style 2017-11-24 12:39:27 -05:00
Adam Wathan
fc19bc2e89 Add test to make sure custom config is actually used 2017-11-24 12:34:21 -05:00