70 Commits

Author SHA1 Message Date
Patrick Heller 💩
8a42f279f6 code style and remove comment 2017-11-03 23:10:53 +01:00
Patrick Heller 💩
e5a9c8926f remove empty media queries 2017-11-03 20:52:16 +01:00
Adam Wathan
b2b95d5738 Register config file with Webpack for watching
This change tells Webpack (for those using it) that the config file
used should be tracked as a dependency and that the CSS should be
re-compiled if that config file changes.

It's careful to make sure the config file is loaded fresh every single
time to avoid weird caching issues.
2017-11-03 09:54:15 -04:00
Jonathan Reinink
2b1a6959d3 Rename "reset" to "preflight" 2017-10-31 17:05:10 -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
eafac886fa Use lodash to extract keys safely 2017-10-24 12:13:25 -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
282c8c595c Fix hover utilities 2017-10-14 09:57:54 -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
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
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
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
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
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
f69cd9a5c0 Remove constrain helpers 2017-10-05 10:45:46 -04:00
Adam Wathan
2354f6770d Merge branch 'master' into add-float-utilities 2017-10-04 11:37:27 -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
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
Adam Wathan
4ca2ec574e Switch from '@tailwind utilities' to single '@tailwind-utilities' rule 2017-09-18 18:50:03 -04:00
David Hemphill
8863065b97 Rework Babel setup to be more node-y less browser-y 2017-09-09 10:23:53 -04:00
Adam Wathan
eda2209ff5 Clean up formatting 2017-09-06 09:35:18 -04:00
Jonathan Reinink
6eed7ab4ff Add ability to define more complex breakpoints. 2017-09-05 21:55:17 -04:00
Adam Wathan
2d41a67b29 Add basic set of opacity utilities 2017-09-03 18:26:59 -04:00
Adam Wathan
8eb25475b4 Refactor toPairs to object map; move private function to top 2017-08-28 11:26:34 -04:00
Adam Wathan
6bbbe47e9b Refactor insertBefore references to simpler before 2017-08-28 11:26:17 -04:00
Adam Wathan
033522347b Add PostCSS z-index utilities 2017-08-28 09:32:08 -04:00
Adam Wathan
4b99d9e5a4 Add substituteHoverableAtRules, previously accidentally ignored 2017-08-28 08:23:22 -04:00
Adam Wathan
97b257e6f4 Make responsive at rule work on multiple selectors in a single rule 2017-08-27 20:58:35 -04:00
Adam Wathan
148dac12eb Add PostCSS spacing utilities 2017-08-27 18:03:01 -04:00
Adam Wathan
e9f2e98726 Add PostCSS sizing utilities 2017-08-27 18:03:01 -04:00
Adam Wathan
4c562522d0 Add PostCSS wrap utilities
Renamed a bunch of these, totally up for discussing alternative naming
still.
2017-08-27 18:02:42 -04:00
Adam Wathan
989c68a01b Add PostCSS text style utilities 2017-08-27 18:02:42 -04:00
Adam Wathan
a16ffbae70 Add PostCSS vertical align utilities 2017-08-27 18:02:42 -04:00
Adam Wathan
1d9c36816f Add PostCSS text align utilities 2017-08-27 18:02:42 -04:00
Adam Wathan
4251aa60de Add PostCSS tracking/letter-spacing utilities 2017-08-27 18:02:42 -04:00