1319 Commits

Author SHA1 Message Date
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
Adam Wathan
0feb1dad57 Add align-self utilities 2017-10-16 13:58:04 -04:00
David Hemphill
b3887b6fc1 rename align-content utilities to have content prefix 2017-10-16 13:51:49 -04:00
David Hemphill
5a186018b8 add align-content helpers 2017-10-16 13:51:49 -04:00
Adam Wathan
daaf1cadce Provide fewer default text color utilities
Provide just the dark and darker versions of each color. We may want to
add one light option too?
2017-10-16 13:51:01 -04:00
Adam Wathan
2699b96cfd Merge pull request #179 from nothingworksinc/fix-tests
Fix tests
2017-10-16 12:35:22 -04:00
Adam Wathan
521906453f Add "darker" variations for each color
Useful for text, but haven't actually turned any of these into
utilities yet.

I think I want to limit the number of text colors and not turn every
color palette color into a text color; instead only use maybe the two
dark variations.
2017-10-16 12:24:49 -04:00
Adam Wathan
6aebe239a8 Tweak teal-lightest color 2017-10-16 12:23:52 -04:00
Adam Wathan
5184e93398 Add shadow-none utility 2017-10-16 09:58:40 -04:00
Adam Wathan
fe3afe7523 Add transparent as a default border color option 2017-10-15 17:11:01 -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
70cabb00c4 Add border-none style helper
Tried typing this earlier instinctively so it should probably exist.
2017-10-15 13:52:05 -04:00
Adam Wathan
282c8c595c Fix hover utilities 2017-10-14 09:57:54 -04:00
David Hemphill
42da4528ec Merge branch 'master' into moar-tests 2017-10-14 00:11:59 -05:00
David Hemphill
ee1659ab76 prevent rules inside media queries from being used as a mixin 2017-10-14 00:11:19 -05:00
Adam Wathan
f87562cd43 Changes to CLI tool
- Remove stuff about merging config; Tailwind handles that on it's own
- Write to stdOut by default; file if specified with -o/--output
2017-10-13 19:38:33 -04:00
Adam Wathan
56c0980158 Don't apply hover utilities on focus
I thought this was a good idea at first but in practice it feels wrong.
Not totally opposed to it, but I couldn't really find any other sites
that apply a button's hover state on focus for example.
2017-10-13 17:02:09 -04:00
Adam Wathan
5616a9919c Use CommonJS format for default config
...so people can copy and paste it.
2017-10-13 14:44:40 -04:00
Adam Wathan
09a56e794f Rename 'breakpoint' features to 'screens', support for 'raw' key 2017-10-13 11:39:55 -04:00
Adam Wathan
b41a5ae724 Rename appearance-none to input-reset, move docs 2017-10-13 11:17:53 -04:00
Adam Wathan
f1ad1d8a7a Add list-reset utility 2017-10-13 11:15:31 -04:00
Adam Wathan
56c51e88db Add basic inner box shadow (need Steve to improve) 2017-10-13 10:49:30 -04:00
Jonathan Reinink
7d785bf519 Fix breakpoint at rule 2017-10-12 12:06:51 -04:00
Adam Wathan
cd41069cba Extract reset to separate file, inline SUIT CSS Base, rename @tailwind at-rules 2017-10-11 09:35:04 -04:00
Adam Wathan
57cb4159a4 Remove magic color matching from config
Make the config just a dumb object instead of doing magic color string
matching. Let people do that sort of thing in their config JS file;
they have the full power of JS there to do whatever they want with
variables and stuff.
2017-10-10 21:24:35 -04:00