37 Commits

Author SHA1 Message Date
Adam Wathan
678f7f8622 Use Node LTS compatible syntax 2017-10-20 12:10:05 -04:00
Adam Wathan
e92f3b3bac Change weight and family prefix to font 2017-10-19 10:00:54 -04:00
Adam Wathan
c20af3484c Move default values for borders/rounded/shadows next to modifiers
Moves rounded out to it's own `radiuses` config, provide fewer default
shadows, remove `defaults` key, instead add a default to each utility
that has a no-suffix variant.
2017-10-17 14:54:31 -04:00
Adam Wathan
f0ebdabb83 Switch to only literal colors 2017-10-17 10:39:57 -04:00
Adam Wathan
e0535a7724 Add smoke/slate colors, rename all "lightest" to "lighter" 2017-10-16 15:20:13 -04:00
Adam Wathan
daaf1cadce Provide fewer default text color utilities
Provide just the dark and darker versions of each color. We may want to
add one light option too?
2017-10-16 13:51:01 -04:00
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
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
56c51e88db Add basic inner box shadow (need Steve to improve) 2017-10-13 10:49:30 -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
082fd3a389 Remove dependency on CSSNext 2017-10-06 15:31:45 -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
Jonathan Reinink
6b204cf0dd Add .text-md utility. 2017-10-02 17:05:03 -04:00
Adam Wathan
0f71f688cf Rename pull helpers to 2017-09-18 17:54:36 -04:00
Jonathan Reinink
dea0f46f3d Add auto size (width/height) utilities. 2017-09-05 20:49:29 -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
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
a2673b1793 Automatically escape non-standard characters in class selectors
Prevents end user from having to worry about escaping crap in their
config.
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
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
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
1c3e36a1df Add PostCSS constrain utilities 2017-08-27 18:02:41 -04:00
Adam Wathan
20eb5adb8f Fix grey scale color names 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
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