Commit graph

8 commits

Author SHA1 Message Date
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
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
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
David Hemphill
2ef01837a9 Convert new stuff to use ES6 modules 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
Renamed from src/util/define-class.js (Browse further)