Adam Wathan
4478b04090
Don't do any merging of config values at all
...
Leave this up to the user; their config file is a JS file and we give
them access to the default config, so they can do as much merging of
defaults as they like.
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
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
David Hemphill
42da4528ec
Merge branch 'master' into moar-tests
2017-10-14 00:11:59 -05:00
David Hemphill
ee1659ab76
prevent rules inside media queries from being used as a mixin
2017-10-14 00:11:19 -05:00
Adam Wathan
09a56e794f
Rename 'breakpoint' features to 'screens', support for 'raw' key
2017-10-13 11:39:55 -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
ba04169e4e
Add support for "tailwind" function to look up config values
2017-10-09 10:42:19 -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
f6b4037691
Add min/max width/height + some cleanup
2017-10-05 10:42:04 -04:00
Adam Wathan
2d41a67b29
Add basic set of opacity utilities
2017-09-03 18:26:59 -04:00
Adam Wathan
50ad9dba2b
Refactor config merging to be less absolute trash
...
Needs better tests still.
2017-09-03 09:28:16 -04:00
Adam Wathan
5aca26ef24
Fix typo
2017-09-03 08:06:25 -04:00
Adam Wathan
16a5bd6114
Add support for merging and replacing config keys from a single config file
2017-09-02 07:41:55 -04:00
Adam Wathan
169e1e7c3c
Match any rules that include the target selector when replacing class apply at rules
2017-08-28 09:16:55 -04:00
Adam Wathan
6f15be84f1
Add hoverable at rule to generate hover/focus versions of a set of rules
2017-08-27 20:59:08 -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
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
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
2759872ce0
Convert all property values to strings
...
Allows using unquoted numeric values. Tricky to test because only
breaks when trying to run the whole thing through cssnext in the full
chain. Will figure it out later :)
2017-08-27 18:02:41 -04:00
Adam Wathan
36b8878c14
Switch remaining modules to ES6
2017-08-27 18:02:41 -04:00
Adam Wathan
baeb02ebb7
Don't normalize color names on look up
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
Adam Wathan
c57b43a47d
Add PostCSS border width 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
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
a3196a5358
Add shadows and flex generators, extract defineClass(es)
2017-08-27 18:02:40 -04:00