538 Commits

Author SHA1 Message Date
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
Adam Wathan
e2754a12f5 Delete old Less cruft 2017-10-09 16:50:45 -04:00
Adam Wathan
d2789b8de4 Rename clickable to cursor-pointer, add auto and not-allowed 2017-10-09 16:34:39 -04:00
Adam Wathan
9552867050 Add pointer events utilities 2017-10-09 11:27:50 -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
b358390e8b Switch @ prefix for hover: prefix 2017-10-09 10:39:54 -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 1819cf67d3f24ebe055b4c54b4e037a6621b3734.
2017-10-07 11:36:56 -04:00
Adam Wathan
9d96d0c574 Revert "Make config loading even lazier"
This reverts commit be7f9963eab041026853df68c4b9eeed46bf730d.
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
9a880d43ea Escape class names provided in @apply
Without this, can't mixin stuff like .w-1/4.
2017-10-06 15:40:40 -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
b675690109 Add simple container utility
Creates a `.container` class that uses the current breakpoint as it's
max-width.
2017-10-05 12:01:51 -04:00
Adam Wathan
4a0b4f94db Remove constrain generator 2017-10-05 12:01:21 -04:00
Adam Wathan
df8da88e59 Fix missing - in negative margin helper 2017-10-05 10:46:00 -04:00
Adam Wathan
f69cd9a5c0 Remove constrain helpers 2017-10-05 10:45:46 -04:00
Adam Wathan
f6b4037691 Add min/max width/height + some cleanup 2017-10-05 10:42:04 -04:00
Jonathan Reinink
9941248c33 Various default spacing and sizing config changes.
Remove "common" from spacing and sizing.
Adjust default width/height sizes.
Remove constrain.
Add min height, max height, min width and max width sizing helpers.
2017-10-05 10:37:57 -04:00
Adam Wathan
2354f6770d Merge branch 'master' into add-float-utilities 2017-10-04 11:37:27 -04:00
Adam Wathan
b72076e8f2 Merge pull request #169 from nothingworksinc/add-text-smooth-utility
Add text smooth utility
2017-10-04 11:36:28 -04:00
Jonathan Reinink
8b3cbbd7a7 Add text smooth utility. 2017-10-03 21:06:12 -04:00
Adam Wathan
ab5044f051 Merge pull request #165 from nothingworksinc/add-visibility-utilities
Add visibility utilities
2017-10-03 20:51:52 -04:00
Jonathan Reinink
2668d85da6 Add visibility utilities. 2017-10-03 20:50:47 -04:00
Adam Wathan
dbbfb19f73 Merge pull request #166 from nothingworksinc/add-appearance-utilities
Add appearance utilities
2017-10-03 20:44:13 -04:00
Jonathan Reinink
d9ae09addf Add float utilities. 2017-10-03 20:28:38 -04:00
Jonathan Reinink
e754d87339 Add background position utilities. 2017-10-03 19:28:37 -04:00
Jonathan Reinink
fabdee5481 Add appearance utilities. 2017-10-03 19:02:21 -04:00
Jonathan Reinink
6b204cf0dd Add .text-md utility. 2017-10-02 17:05:03 -04:00
Jonathan Reinink
e5f603bba2 Fix border style issues. 2017-10-02 16:59:18 -04:00
Adam Wathan
c9d14cfcb0 Switch from '@tailwind-utilites' to '@tailwind-utilities all' 2017-10-02 15:02:04 -04:00