177 Commits

Author SHA1 Message Date
Adam Wathan
4251aa60de Add PostCSS tracking/letter-spacing utilities 2017-08-27 18:02:42 -04:00
Adam Wathan
e88b07c712 Add PostCSS leading utilities 2017-08-27 18:02:42 -04:00
Adam Wathan
f0dda61e76 Add PostCSS text color utilities 2017-08-27 18:02:42 -04:00
Adam Wathan
c9e4652065 Add PostCSS font family utilities 2017-08-27 18:02:42 -04:00
Adam Wathan
58d435ae82 Add PostCSS text weight utilities 2017-08-27 18:02:42 -04:00
Adam Wathan
422cac0733 Add PostCSS text size utilities 2017-08-27 18:02:42 -04:00
Adam Wathan
6967b54ef6 Add PostCSS display utilities 2017-08-27 18:02:42 -04:00
Adam Wathan
cef883b8a1 Remove unused imports 2017-08-27 18:02:41 -04:00
Adam Wathan
46493f0098 Add PostCSS border style utilities 2017-08-27 18:02:41 -04:00
Adam Wathan
c20d971bfa Add PostCSS rounded utilities
.pill is now .rounded-pill by default; we could bake this in as a
mandatory utility but using it as a modifier makes it easier for people
to exclude or change. Not opposed to hard-coding it though.
2017-08-27 18:02:41 -04:00
Adam Wathan
ccc9edf605 Add PostCSS overflow utilities 2017-08-27 18:02:41 -04:00
Adam Wathan
454be69804 Don't kebabCase property names
Because it breaks stuff sadly, like any vendor prefixed properties that
start with `-`.
2017-08-27 18:02:41 -04:00
Adam Wathan
7f506ff041 Refactor shadow generator to map object directly instead of converting to pairs 2017-08-27 18:02:41 -04:00
Adam Wathan
3b93b0e655 Add PostCSS position utilities 2017-08-27 18:02:41 -04:00
Adam Wathan
1c3e36a1df Add PostCSS constrain utilities 2017-08-27 18:02:41 -04:00
Adam Wathan
000eefd609 Don't change case of class names
This is unfortunate but it totally fucks up things that have numbers in
them.
2017-08-27 18:02:41 -04:00
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
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
a594a861e9 Add background size utilities 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
1b1139ec0b Standardize on camelCase module names 2017-08-27 18:02:41 -04:00
Adam Wathan
a3196a5358 Add shadows and flex generators, extract defineClass(es) 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
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
eac5577c5e Remove flex-basis definition from constrain helpers 2017-08-23 14:39:12 -04:00
Adam Wathan
fdcdc97d18 Add border hovers 2017-08-19 10:01:56 -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
1a2383e612 Add colors and hover utilities 2017-08-18 10:09:24 -04:00
Adam Wathan
6e26f14d0a Merge pull request #78 from adamwathan/group-spacing-breakpoints
Group media queries for padding and pull utilities
2017-08-16 09:00:22 -04:00
Adam Wathan
f406938373 Group media queries for padding and pull utilities 2017-08-15 14:08:25 -04:00
Adam Wathan
d3e0facc13 Define mx-auto alongside scale variants to group media queries 2017-08-15 14:06:00 -04:00
Adam Wathan
bf12f68673 Add rounded border generators 2017-08-14 19:55:17 -04:00
Adam Wathan
9017c838cd Letter spacing not line height dumb fuck 2017-08-08 15:09:59 -04:00
Adam Wathan
c6e93a05f6 Merge pull request #64 from adamwathan/tracking
Add basic tracking utilities
2017-08-08 15:09:10 -04:00
Adam Wathan
7d8559b8fd Add shadow utilities 2017-08-06 08:13:33 -04:00
Adam Wathan
e023065480 Set min-width on non-responsive auto columns
Had already done this on responsive variants, missed adding it to the
base variant. Without this, auto columns are not forced to the same
width.
2017-08-06 07:59:16 -04:00
Adam Wathan
ecd66cd2a6 Move responsive mixins; support disabling responsiveness 2017-08-06 07:56:53 -04:00
Adam Wathan
9f987a168f Add basic tracking utilities 2017-08-05 20:47:43 -04:00
Adam Wathan
82833d2631 Fix incorrect auto column class name 2017-08-05 20:47:27 -04:00
Adam Wathan
b9612fbb74 Add leading generator 2017-08-04 14:35:12 -04:00
Adam Wathan
f7b9812843 Merge pull request #55 from adamwathan/size-utilities
Add width/height sizing utilities
2017-08-04 14:21:33 -04:00
Adam Wathan
51bad776a5 Removed unused mixin parameters 2017-08-04 13:00:51 -04:00
Adam Wathan
a2ce542038 Consolidate some media queries 2017-08-04 12:58:48 -04:00