245 Commits

Author SHA1 Message Date
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
Jonathan Reinink
c3b42a6499 Add .mask and .overflow-scroll-y utilities, and overflow docs. 2017-08-21 11:22:02 -04:00
Adam Wathan
f53b950ecd Tweak background color text contrasts, still grim but whatever 2017-08-21 10:31:29 -04:00
Adam Wathan
06529f8f3a Merge pull request #85 from adamwathan/overflow-scroll-x
Added overflow-scroll-x.
2017-08-21 08:59:01 -04:00
Jonathan Reinink
95cdb4a0f5 Added overflow-scroll-x.
Also tweaked the order of the properties, and fixed some code formatting.
2017-08-21 08:51:54 -04:00
Adam Wathan
620192955b Merge pull request #84 from adamwathan/new-greys
Switch from neutral greys to cool greys
2017-08-20 10:57:12 -04:00
Adam Wathan
a72a35c1b3 Update background color docs 2017-08-20 10:49:36 -04:00
Adam Wathan
cfb371671a Use cool greys instead of neutral greys 2017-08-20 10:28:46 -04:00
Adam Wathan
dec207bc1f Merge pull request #83 from adamwathan/docs-design
Update docs design to match landing page branding better
2017-08-19 17:39:38 -04:00
Adam Wathan
b786b805bc Smaller sidebar text 2017-08-19 16:09:26 -04:00
Adam Wathan
2df7b8d457 Update docs design to match landing page branding better 2017-08-19 16:09:25 -04:00
Adam Wathan
cd91831f55 Darker base orange 2017-08-19 16:09:19 -04:00
Adam Wathan
349412ad8c Make dark orange slightly more red 2017-08-19 16:07:27 -04:00
Adam Wathan
187ce059dd Tweak yellows a bit 2017-08-19 12:13:05 -04:00
Adam Wathan
fdcdc97d18 Add border hovers 2017-08-19 10:01:56 -04:00