Jonathan Reinink
2b1a6959d3
Rename "reset" to "preflight"
2017-10-31 17:05:10 -04:00
Jonathan Reinink
f26833c2a3
Fix defaultConfig() method (add return)
2017-10-26 10:21:13 -04:00
Jonathan Reinink
24199b140f
Lazy load default config
2017-10-26 09:29:52 -04:00
Adam Wathan
4478b04090
Don't do any merging of config values at all
...
Leave this up to the user; their config file is a JS file and we give
them access to the default config, so they can do as much merging of
defaults as they like.
2017-10-24 12:13:25 -04:00
Adam Wathan
fcee129eb8
Merge pull request #205 from nothingworksinc/export-config
...
Add default config to module.exports
2017-10-24 08:53:22 -04:00
Adam Wathan
244d7c09c9
Move defaultConfig to root so it's not processed by Babel
2017-10-24 07:39:09 -04:00
Adam Wathan
8f3ad0f8e4
Add default config to module.exports
2017-10-24 07:33:24 -04:00
Adam Wathan
efe678ddf3
Add focusable at-rule
...
Allows you to wrap up classes to easily generate `.focus:{class}`
variants.
2017-10-21 11:15:25 -04:00
Adam Wathan
18f4e650bd
Support passing config as a path
...
Let's you do tailwind('config.js') instead of
tailwind(require('config.js')) when registering Tailwind as a PostCSS
plugin.
2017-10-15 17:10:25 -04:00
Adam Wathan
09a56e794f
Rename 'breakpoint' features to 'screens', support for 'raw' key
2017-10-13 11:39:55 -04:00
Adam Wathan
ba04169e4e
Add support for "tailwind" function to look up config values
2017-10-09 10:42:19 -04:00
Adam Wathan
1da5eb4d4c
Add @tailwind-reset rule
...
...with basic reset support.
Might want to rename the rule because of that annoying Less issue where
it fails without any parameters, like `@tailwind reset` or something.
Super G and inconsistent with `@tailwind-utilities all` though. Who
knows.
2017-10-07 17:59:28 -04:00
Adam Wathan
decd9e0334
Revert "Allow passing config as lazy-evaluated function"
...
This reverts commit 1819cf67d3 .
2017-10-07 11:36:56 -04:00
Adam Wathan
9d96d0c574
Revert "Make config loading even lazier"
...
This reverts commit be7f9963ea .
2017-10-07 11:36:33 -04:00
Adam Wathan
be7f9963ea
Make config loading even lazier
2017-10-07 11:20:57 -04:00
Adam Wathan
082fd3a389
Remove dependency on CSSNext
2017-10-06 15:31:45 -04:00
Adam Wathan
1819cf67d3
Allow passing config as lazy-evaluated function
2017-10-06 15:24:35 -04:00
Adam Wathan
05b4d962d1
Add support for @breakpoint rule
2017-10-05 20:23:17 -04:00
Adam Wathan
16a5bd6114
Add support for merging and replacing config keys from a single config file
2017-09-02 07:41:55 -04:00
David Hemphill
615a1264f4
update project entry point
2017-08-28 15:02:50 -05:00
David Hemphill
d1f345fafc
Move the CLI to a different file
2017-08-28 15:02:22 -05:00
David Hemphill
dd2ffec934
Allow using a custom config with option to replace instead of default merging
2017-08-28 12:55:53 -05:00
David Hemphill
9cfe3aa25d
Add command to process with tailwind from file with custom json config
2017-08-27 23:07:55 -05:00