Commit graph

455 commits

Author SHA1 Message Date
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
e513a00d62 Update dist files 2017-10-19 11:59:44 -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
Adam Wathan
c7c658940b Fix shadows, don't align examples left by default 2017-10-19 09:09:12 -04:00
Jonathan Reinink
c6f74d005b Remove prefixes from text style utilities 2017-10-18 16:31:27 -04:00
Adam Wathan
ea433a69ee Update shadows documentation 2017-10-17 14:58:53 -04:00
Adam Wathan
3be4648d41 Add some button examples 2017-10-17 14:54:42 -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
232eeb037f Merge pull request #184 from nothingworksinc/sanity-test
Add really basic/naive sanity test
2017-10-17 10:45:07 -04:00
Adam Wathan
6cf96e0cab Fix pull reference 2017-10-17 10:39:57 -04:00
Adam Wathan
f0ebdabb83 Switch to only literal colors 2017-10-17 10:39:57 -04:00
Adam Wathan
7345fb04b8 Add really basic/naive sanity test 2017-10-17 08:57:44 -04:00
Adam Wathan
c9baf0b100 Remove top border on body of titled alert example 2017-10-16 19:16:59 -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
5c84ff8731 Add little icon to solid alert example why not? 2017-10-16 15:52:01 -04:00
Adam Wathan
e0535a7724 Add smoke/slate colors, rename all "lightest" to "lighter" 2017-10-16 15:20:13 -04:00
Adam Wathan
e353383cde Fix tests 2017-10-16 14:17:48 -04:00
Adam Wathan
d619d11866 Merge branch 'align-content-helpers' 2017-10-16 13:58:20 -04:00
Adam Wathan
0feb1dad57 Add align-self utilities 2017-10-16 13:58:04 -04:00
Adam Wathan
4727e316ef Merge pull request #178 from nothingworksinc/align-content-helpers
Add align-content helpers
2017-10-16 13:52:15 -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
b100236ac7 Rename alert examples 2017-10-16 13:51:09 -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
e99a3c66de Add more alert styles, extract reusable code sample partial 2017-10-16 12:25:22 -04:00
Adam Wathan
ac6ef8249b Tweak markdown styles 2017-10-16 12:25:09 -04:00
Adam Wathan
9569c2dacd Fix color palette docs page file name 2017-10-16 12:25:02 -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
c951ad09ae Working on alert examples 2017-10-16 09:01:38 -04:00
Adam Wathan
7401f8583a Scaffold "color palette" docs page 2017-10-15 19:41:00 -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
fc0e039937 Use .5 opacity default for placeholder text
.7 wasn't enough contrast vs. the input text
2017-10-15 11:46:58 -04:00
David Hemphill
4f2713fae6 change to es6 import 2017-10-14 12:12:56 -05:00
Adam Wathan
57717166d1 Remove old backgrounds docs page 2017-10-14 10:29:46 -04:00
Adam Wathan
047392c627 Unstyle lists in docs by default 2017-10-14 09:58:08 -04:00
Adam Wathan
282c8c595c Fix hover utilities 2017-10-14 09:57:54 -04:00
David Hemphill
59d2f6661f Remove unused test 2017-10-14 00:25:08 -05: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
81d0726533 Update README 2017-10-13 19:44:19 -04: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
4342db92df Merge pull request #176 from nothingworksinc/hover-only
Don't apply hover utilities on focus
2017-10-13 17:02:50 -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
9c076c23f3 Scaffold "What is Tailwind?" page 2017-10-13 16:57:52 -04:00