175 Commits

Author SHA1 Message Date
Adam Wathan
d2b2722b2e Simplify backgroundColor generator 2017-08-27 18:02:41 -04:00
Adam Wathan
7ae71315f9 Add PostCSS border color utilities 2017-08-27 18:02:41 -04:00
Adam Wathan
9d3f26a50e Hide more finished Less files 2017-08-27 18:02:41 -04:00
David Hemphill
2ef01837a9 Convert new stuff to use ES6 modules 2017-08-27 18:02:41 -04:00
Adam Wathan
c57b43a47d Add PostCSS border width utilities 2017-08-27 18:02:41 -04:00
Adam Wathan
c6784117ad Move converted Less files to more easily keep track of what's left 2017-08-27 18:02:41 -04:00
Adam Wathan
a594a861e9 Add background size utilities 2017-08-27 18:02:41 -04:00
Adam Wathan
d7d21f9f31 Replace responsive at-rules in a separate step 2017-08-27 18:02:41 -04:00
Adam Wathan
525146fb32 Format everything uses 2 spaces instead of 4 2017-08-27 18:02:41 -04:00
Adam Wathan
882f391bd6 Add browserslist config to avoid rem -> px fallback generation 2017-08-27 18:02:41 -04:00
Adam Wathan
1e1d45e092 Break Tailwind out into 3 private plugins, bake in cssnext and stylefmt 2017-08-27 18:02:41 -04:00
Adam Wathan
1b1139ec0b Standardize on camelCase module names 2017-08-27 18:02:41 -04:00
Adam Wathan
fc6ae8d07a Don't kebabCase property values in defineClass 2017-08-27 18:02:41 -04:00
David Hemphill
444da7577f Remove temporary variable 2017-08-27 18:02:41 -04:00
David Hemphill
bd1766a020 Test define-class and define-classes functions 2017-08-27 18:02:41 -04:00
David Hemphill
aa46fb9211 Restructure and add build process 2017-08-27 18:02:41 -04:00
Adam Wathan
0876d2ac1c Extract function for cloning nodes 2017-08-27 18:02:41 -04:00
Adam Wathan
01e920dccf WIP 2017-08-27 18:02:41 -04:00
Adam Wathan
f42bb0b2bc Combine rulesets from all matching mixins 2017-08-27 18:02:40 -04:00
Adam Wathan
308499dcad Always generate responsive rules at end of stylesheet 2017-08-27 18:02:40 -04:00
Adam Wathan
a3196a5358 Add shadows and flex generators, extract defineClass(es) 2017-08-27 18:02:40 -04:00
Adam Wathan
fbcda827c2 Throw better error if no class found for mixin 2017-08-27 18:02:40 -04:00
Adam Wathan
c04a3b26c6 Add support for mixed "plain color string" and "color map" background defintitions
Lets you do this:

```
  backgroundColors: [
    'blue',
    'purple',
    'pink',
    {
      primary: 'white',
      secondary: 'orange',
    },
  ]
```
2017-08-27 18:02:40 -04:00
Adam Wathan
c84f0ec4b7 Support colors not in map
If you specify a background color that isn't a key in the colors map,
we just assume it's an actual color value and let you use it.
2017-08-27 18:02:40 -04:00
Adam Wathan
8e7b2dc1fa Add basic background color generator
Supports specifying background colors as an array of colors, or an
object where the label is what you want to name that color as a
background utility, and the value is the color to use.

Everything can be specified as either camelCase or kebab-case so you
don't need to quote the shit out of everything but classes will always
be rendered as kebab-case.
2017-08-27 18:02:40 -04:00
Adam Wathan
cacff2ac21 Move Less files
Keep them around for easy reference right now but don't want them in my
JS bizniz.
2017-08-27 18:02:40 -04:00
Adam Wathan
ddaaa2a7f8 Add support for object based custom media queries 2017-08-27 18:02:02 -04:00
Adam Wathan
ac77724081 Add basic media query and class mixin support 2017-08-27 18:02:02 -04:00
Adam Wathan
0aae680c52 Super primitive mix setup 2017-08-27 18:02:02 -04:00
Adam Wathan
53bec217a8 Remove grid generator file 2017-08-27 18:00:48 -04:00
Adam Wathan
ad36272906 Replace grid with percent width helpers 2017-08-27 18:00:04 -04:00
Adam Wathan
6fa259b142 New flex utility names 2017-08-24 08:42:33 -04:00
Adam Wathan
eac5577c5e Remove flex-basis definition from constrain helpers 2017-08-23 14:39:12 -04:00
Jonathan Reinink
c3b42a6499 Add .mask and .overflow-scroll-y utilities, and overflow docs. 2017-08-21 11:22:02 -04:00
Jonathan Reinink
95cdb4a0f5 Added overflow-scroll-x.
Also tweaked the order of the properties, and fixed some code formatting.
2017-08-21 08:51:54 -04:00
Adam Wathan
a72a35c1b3 Update background color docs 2017-08-20 10:49:36 -04:00
Adam Wathan
cfb371671a Use cool greys instead of neutral greys 2017-08-20 10:28:46 -04:00
Adam Wathan
cd91831f55 Darker base orange 2017-08-19 16:09:19 -04:00
Adam Wathan
349412ad8c Make dark orange slightly more red 2017-08-19 16:07:27 -04:00
Adam Wathan
187ce059dd Tweak yellows a bit 2017-08-19 12:13:05 -04:00
Adam Wathan
fdcdc97d18 Add border hovers 2017-08-19 10:01:56 -04:00
Adam Wathan
7c1128cdf0 Align things even though it's completely unmaintainable and a bad idea 2017-08-18 19:44:38 -04:00
Adam Wathan
d03f093c06 Steal Marvel's font size scale 👀 2017-08-18 19:44:21 -04:00
Adam Wathan
24f114e364 Name responsive font family utilities the same as non-responsive 2017-08-18 19:44:06 -04:00
Adam Wathan
8b515020d8 Use @ instead of hover- 2017-08-18 14:57:38 -04:00
Adam Wathan
1b048a1f10 Make buttons generatable, add text hovers 2017-08-18 14:44:08 -04:00
Adam Wathan
b93b352faf Tweak dark teal 2017-08-18 13:35:25 -04:00
Adam Wathan
a4bd8fca4d Fix typo in default box shadow scale 2017-08-18 13:25:26 -04:00
Adam Wathan
0b71c16d21 Hacking on example components and crap 2017-08-18 12:46:57 -04:00
Adam Wathan
6e66b65e01 Merge branch 'master' into add_overflow_utilities 2017-08-18 11:08:43 -04:00