343 Commits

Author SHA1 Message Date
Adam Wathan
24766911c1 Fix tailwind build CLI command
Moving to subcommands broke this without us noticing. It's probably a
good idea to add a big dirty integration test for this that just
executes the CLI command and makes sure the file was created.
2017-11-01 09:23:53 -04:00
Adam Wathan
65b9026fd5 Drop mask alias 2017-10-31 21:54:05 -04:00
Adam Wathan
3ffe2a5077 Document appearance-none
Also create appearance-none lol
2017-10-31 21:48:57 -04:00
Jonathan Reinink
8cd13a857e Add hover to text style utilities 2017-10-31 20:42:05 -04:00
Jonathan Reinink
2b1a6959d3 Rename "reset" to "preflight" 2017-10-31 17:05:10 -04:00
Jonathan Reinink
bb62a6dea5 Add trailing comma 2017-10-31 16:09:36 -04:00
Adam Wathan
b705b53f92 Don't define rounded side variants for each size
Instead, set the opposing corners to 0.
2017-10-30 17:35:27 -04:00
Jonathan Reinink
05a172f80d Inline normalize.css 2017-10-30 14:06:27 -04:00
Jonathan Reinink
96e9e67592 Rename tailwind() method to config()
Add basic tests for config(), @response and @apply.
2017-10-30 13:50:37 -04:00
Adam Wathan
bf3145277f Add position static utilitiy 2017-10-27 15:28:23 -04:00
Adam Wathan
782598319a Comment out requiring defaultConfig inside itself
Uncomment on init
2017-10-26 12:06: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
Jonathan Reinink
a1e584dd35 Merge branch 'master' into add-documentation-to-config 2017-10-26 09:15:25 -04:00
Jonathan Reinink
ea4b64837e Allow font families to be defined as arrays 2017-10-25 18:18:22 -04:00
Jonathan Reinink
3e58d198d8 Update generators for the new config keys 2017-10-25 17:56:50 -04:00
Adam Wathan
eb68790127 Rename overflow x/y utilities 2017-10-25 15:01:21 -04:00
Adam Wathan
eafac886fa Use lodash to extract keys safely 2017-10-24 12:13:25 -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
c92cbea3b7 Remove content-stretch utility
No browser support, doesn't make sense, gtfo.

Closes #199.
2017-10-24 07:52:54 -04:00
Adam Wathan
8d5840b38b Remove self-baseline utility
Has no browser support and I can't even really understand how it would work.

Closes #198.
2017-10-24 07:51:26 -04:00
Adam Wathan
ec56027834 Add self-auto utility
Allows resetting align-self back to the default value if necessary at different breakpoints.
2017-10-24 07:48:57 -04:00
Adam Wathan
7c66d7be40 Rename flex-nowrap to flex-no-wrap 2017-10-24 07:42:20 -04:00
Adam Wathan
7601b5564a Allow optional destination for init command, prevent overriding existing files 2017-10-24 07:39:09 -04:00
Adam Wathan
ba612c8953 WIP 2017-10-24 07:39:09 -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
97905388b7 Fix bug where help was output even if matching command was found 2017-10-24 07:39:09 -04:00
Adam Wathan
01f37eb3fe Show help if no command is provided or if command is not found 2017-10-24 07:39:09 -04:00
Adam Wathan
1c15eba932 WIP 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
99adf9baeb Merge pull request #194 from nothingworksinc/focusable
Add focusable at-rule
2017-10-23 11:04:28 -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
eba5970810 Add hover variants for font weight utilities 2017-10-21 10:52:39 -04:00
Adam Wathan
d4d39f6d4c Merge pull request #188 from nothingworksinc/rename-not-italic-to-roman
Rename "not-italic" utility to "roman"
2017-10-20 16:36:11 -04:00
Jonathan Reinink
0f30dfc64e Rename "not-italic" utility to "roman" 2017-10-20 15:01:59 -04:00
Adam Wathan
0bbe669cd6 Remove md text size alias (🖕🏻) and align pixel comments 2017-10-20 12:10:56 -04:00
Adam Wathan
07aab941e2 Use Bootstrap-inspired default monospace font stack 2017-10-20 12:10:21 -04:00
Adam Wathan
678f7f8622 Use Node LTS compatible syntax 2017-10-20 12:10:05 -04:00
Adam Wathan
ee804cb9dc Use English for whitespace utilities 2017-10-19 12:31:11 -04:00
Adam Wathan
323855eb83 Use grim uncreative white-space utility names
Because CSS is terrible and there's no way to pretty this up no matter
how hard I try.
2017-10-19 12:23:11 -04:00
Jonathan Reinink
f3fd0acdfd Rename text wrap utilities 2017-10-19 12:23:11 -04:00
Adam Wathan
8e1fcd7262 Generate minified file on build
Useful for checking gzip size and making sure we are still reasonable.
Currently at 19.6kb 🤙🏻
2017-10-19 12:00:14 -04:00
Adam Wathan
e92f3b3bac Change weight and family prefix to font 2017-10-19 10:00:54 -04:00
Adam Wathan
6319770198 Use more human names for text style utilities 2017-10-19 09:27:12 -04:00
Jonathan Reinink
c6f74d005b Remove prefixes from text style utilities 2017-10-18 16:31:27 -04:00
Adam Wathan
c20af3484c Move default values for borders/rounded/shadows next to modifiers
Moves rounded out to it's own `radiuses` config, provide fewer default
shadows, remove `defaults` key, instead add a default to each utility
that has a no-suffix variant.
2017-10-17 14:54:31 -04:00
Adam Wathan
f0ebdabb83 Switch to only literal colors 2017-10-17 10:39:57 -04:00
Adam Wathan
89ab635666 Don't specify style or color for zero width borders 2017-10-16 19:16:48 -04:00
Adam Wathan
e0535a7724 Add smoke/slate colors, rename all "lightest" to "lighter" 2017-10-16 15:20:13 -04:00