David Hemphill
ccbe282a76
speed up build using babel-node instead of manually babelifying
2017-08-27 18:02:41 -04:00
David Hemphill
3ceba8ef52
fix tests and switch them to es6 syntax
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
Adam Wathan
9d3f26a50e
Hide more finished Less files
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
c6784117ad
Move converted Less files to more easily keep track of what's left
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
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
94be330cde
Dup tailwind dependencies into docs, remove extra cssnext plugin
2017-08-27 18:02:41 -04:00
Adam Wathan
882f391bd6
Add browserslist config to avoid rem -> px fallback generation
2017-08-27 18:02:41 -04:00
Adam Wathan
1e1d45e092
Break Tailwind out into 3 private plugins, bake in cssnext and stylefmt
2017-08-27 18:02:41 -04:00
Adam Wathan
b33c76efe4
Switch to two spaces in build.js; tweak formatting
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
9302d3213f
Clean up commented lines
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
0876d2ac1c
Extract function for cloning nodes
2017-08-27 18:02:41 -04:00
Adam Wathan
01e920dccf
WIP
2017-08-27 18:02:41 -04:00
Adam Wathan
f42bb0b2bc
Combine rulesets from all matching mixins
2017-08-27 18:02:40 -04:00
Adam Wathan
308499dcad
Always generate responsive rules at end of stylesheet
2017-08-27 18:02:40 -04:00
Adam Wathan
a3196a5358
Add shadows and flex generators, extract defineClass(es)
2017-08-27 18:02:40 -04:00
Adam Wathan
fbcda827c2
Throw better error if no class found for mixin
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
ddaaa2a7f8
Add support for object based custom media queries
2017-08-27 18:02:02 -04:00
Adam Wathan
ac77724081
Add basic media query and class mixin support
2017-08-27 18:02:02 -04:00
Adam Wathan
0aae680c52
Super primitive mix setup
2017-08-27 18:02:02 -04:00
Adam Wathan
115b5397cf
Add PostCSS dependencies
2017-08-27 18:02:02 -04:00
Adam Wathan
085c3895e8
Merge pull request #90 from adamwathan/width-grid
...
Replace grid with percent width helpers
2017-08-27 18:01:36 -04:00
Adam Wathan
50003d8d0c
Remove unnecessary flex none
2017-08-27 18:01:21 -04:00
Adam Wathan
61238ef582
Fix sidebar and content area not wrapping
2017-08-27 18:01:21 -04:00
Adam Wathan
d662678ae5
Fix some stuff with things not wrapping right
2017-08-27 18:01:21 -04:00
Adam Wathan
df6f627805
Make crappy docs example a little easier to see
2017-08-27 18:00:48 -04:00
Adam Wathan
53bec217a8
Remove grid generator file
2017-08-27 18:00:48 -04:00
Adam Wathan
a8ce85ed1b
Add flex-none helper
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
eb74e8568e
Merge pull request #92 from adamwathan/flex-utilities
...
Rename and provide more comprehensive flex utilities
2017-08-27 17:59:19 -04:00
Adam Wathan
b661c0e526
Update docs to make use of updated utilities
2017-08-24 09:25:58 -04:00
Adam Wathan
6fa259b142
New flex utility names
2017-08-24 08:42:33 -04:00
Adam Wathan
26aafb42ae
Add GitHub link to docs so I can open issues faster
2017-08-23 20:56:17 -04:00
Adam Wathan
eac5577c5e
Remove flex-basis definition from constrain helpers
2017-08-23 14:39:12 -04:00
Adam Wathan
8bb4d98785
Merge branch 'master' of github.com:adamwathan/tailwindcss
2017-08-23 14:38:50 -04:00
Adam Wathan
fce200c6d8
Merge pull request #86 from adamwathan/overflow-improvements
...
Add .mask and .overflow-scroll-y utilities, and overflow docs
2017-08-21 11:24:24 -04:00