Commit graph

102 commits

Author SHA1 Message Date
Adam Wathan
f6b4037691 Add min/max width/height + some cleanup 2017-10-05 10:42:04 -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
e5f603bba2 Fix border style issues. 2017-10-02 16:59:18 -04:00
Adam Wathan
0f71f688cf Rename pull helpers to 2017-09-18 17:54:36 -04:00
David Hemphill
8863065b97 Rework Babel setup to be more node-y less browser-y 2017-09-09 10:23:53 -04:00
Jonathan Reinink
8b214a6229 Add .flex-1 utility. 2017-09-05 14:59:33 -04:00
Adam Wathan
2d41a67b29 Add basic set of opacity utilities 2017-09-03 18:26:59 -04:00
Adam Wathan
033522347b Add PostCSS z-index utilities 2017-08-28 09:32:08 -04:00
Adam Wathan
4c2b0a6f69 Make text colors hoverable by default 2017-08-27 21:02:34 -04:00
Adam Wathan
b936532414 Make border colors hoverable by default 2017-08-27 21:01:08 -04:00
Adam Wathan
8163761b7d Make background colors hoverable by default 2017-08-27 20:59:20 -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
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