Adam Wathan
8a3d0554ae
Provide fewer default spacers
...
Open to suggestions on what this default scale should be, just seems
like crazy overkill to provide so many out of the box when it's so
trivial to add extra ones if you need them.
2017-08-07 10:45:24 -04:00
Adam Wathan
e023065480
Set min-width on non-responsive auto columns
...
Had already done this on responsive variants, missed adding it to the
base variant. Without this, auto columns are not forced to the same
width.
2017-08-06 07:59:16 -04:00
Adam Wathan
ecd66cd2a6
Move responsive mixins; support disabling responsiveness
2017-08-06 07:56:53 -04:00
Adam Wathan
82833d2631
Fix incorrect auto column class name
2017-08-05 20:47:27 -04:00
Adam Wathan
ce166fe692
Start border scale at 0
...
I thought putting it at the end as a disabler would be more useful but
turns out it's actually more useful for removing default borders on
elements that already have them, like `hr` for example.
By putting zero first, I can remove the default border and still apply
my own border.
2017-08-04 17:03:48 -04:00
Adam Wathan
06bc7d428d
Rearrange text file variables
2017-08-04 16:46:01 -04:00
Adam Wathan
df5867079c
Merge pull request #57 from adamwathan/leading-generator
...
Add leading generator
2017-08-04 14:37:26 -04:00
Adam Wathan
e0eb0553f0
Use variable for text-size/weight scales instead of inlining into mixin call
2017-08-04 14:37:09 -04:00
Adam Wathan
b9612fbb74
Add leading generator
2017-08-04 14:35:12 -04:00
Adam Wathan
26ae48eee5
Remove unused variables
2017-08-04 14:34:55 -04:00
Adam Wathan
f7b9812843
Merge pull request #55 from adamwathan/size-utilities
...
Add width/height sizing utilities
2017-08-04 14:21:33 -04:00
Adam Wathan
51bad776a5
Removed unused mixin parameters
2017-08-04 13:00:51 -04:00
Adam Wathan
a2ce542038
Consolidate some media queries
2017-08-04 12:58:48 -04:00
Adam Wathan
2e45fa3f91
Move zero to border scale, don't include style/color in zero variants
2017-08-04 12:57:27 -04:00
Adam Wathan
6cf851f139
Add width/height sizing utilities
2017-08-04 12:42:00 -04:00
Adam Wathan
e4fde61c73
Rename border-default-color to default-border-color
2017-08-04 12:17:14 -04:00
Adam Wathan
d0e782c877
Merge pull request #53 from adamwathan/spacing-parameterized
...
Refactor spacing generators to take screens as a parameter
2017-08-04 11:23:16 -04:00
Adam Wathan
e5ec718e13
Merge pull request #52 from adamwathan/border-width-generator
...
Generate border widths instead of hard-coding
2017-08-04 11:23:10 -04:00
Adam Wathan
4386d98e92
Null -> none, whoops
2017-08-04 11:21:48 -04:00
Adam Wathan
6ac139b1c0
Refactor spacing generators to take screens as a parameter
...
Makes it easier to disable responsiveness per helper and just makes the
code easier to reason about since it's localized.
2017-08-04 11:16:55 -04:00
Adam Wathan
b054dbd835
Generate border widths instead of hard-coding
...
Sadly we are forced to expose a global @default-border-color variable
but what can you do. Trying to match against the border-colors scale
was too insane; I either polluted the scope and broke a bunch of other
utilities or I made the border width utilities non-mix-in-able which is
also grim af.
2017-08-04 10:57:20 -04:00
Adam Wathan
60da4d9b2f
Import grid generator
2017-08-04 09:20:15 -04:00
Adam Wathan
f1e4324c37
Make grid generator parameterized instead of using globals
...
Also makes it possible to opt-out of responsive grid
2017-08-04 09:20:00 -04:00
Adam Wathan
dc73e0a578
Add extract-match mixin
...
Works similar to apply-match but exports the @__match variable to the
parent scope instead of accepting a ruleset. I have a suspicion that
this will generally be easier to wield and produce more predictable
results than all the crazy extra scoping bullshit I always have to try
and do when using the "closure"-ish approach I use with apply-match.
2017-08-04 09:19:17 -04:00
Adam Wathan
d7a0db958f
Rename define-selector to define-class, extract to file
2017-08-04 09:17:22 -04:00
Adam Wathan
44a0b9648b
Merge pull request #48 from adamwathan/border-width-scale
...
Switch to proportional border width scale
2017-08-03 22:42:18 -04:00
Adam Wathan
a30ac9a073
Merge pull request #46 from adamwathan/spacing-scale
...
Switch to proportional spacing scale
2017-08-03 22:42:12 -04:00
Adam Wathan
87f78bc0c5
Switch to proportional border width scale
2017-08-03 22:11:58 -04:00
Adam Wathan
e74d29f34e
Define all border colors at once
2017-08-03 22:00:55 -04:00
Adam Wathan
f5e529aeff
Switch to proportional spacing scale
2017-08-03 21:51:12 -04:00
Adam Wathan
a750de4c5a
Define all text colors at once to prevent responsive order bugs
2017-08-03 21:37:12 -04:00
Adam Wathan
baa7450e25
Generate all background colors at once
2017-08-03 21:01:22 -04:00
Adam Wathan
bc3664f1a1
Use generic generators for border colors
2017-08-03 15:42:56 -04:00
Adam Wathan
25cceb5a16
Use generic generators for bg colors
2017-08-03 15:42:56 -04:00
Adam Wathan
250600eae8
Rename class-variants generator file
2017-08-03 15:42:56 -04:00
Adam Wathan
3af24750ab
Use the right property
2017-08-03 15:42:56 -04:00
Adam Wathan
bde4d1c983
Use generic generators for text colors
2017-08-03 15:42:56 -04:00
Adam Wathan
6cf77cfeed
Group media query declarations
2017-08-03 15:42:56 -04:00
Adam Wathan
669ec1b558
Working on moving things to generic generators
2017-08-03 15:42:46 -04:00
Adam Wathan
4c93b3f1ce
Add responsive constrain generator
2017-08-03 11:49:24 -04:00
Adam Wathan
99a218f92c
Remove flex declaration from .row
2017-08-03 10:43:05 -04:00
Adam Wathan
2906194cf5
Add constrain generators
2017-08-03 10:42:58 -04:00
Adam Wathan
858242392b
Fix bug in apply-match
2017-08-03 10:35:34 -04:00
Adam Wathan
6be372a99a
Rename spacer map to spacing scale
2017-08-03 10:35:00 -04:00
Jonathan Reinink
a45fa2b69a
Merge pull request #38 from adamwathan/spacer-generators
...
Extract spacer generators, use parameter instead of global var
2017-08-03 09:30:16 -04:00
Jonathan Reinink
888f847d9e
Add responsive helpers to position.
2017-08-03 08:17:02 -04:00
Adam Wathan
1b4630c74b
Extract spacer generators, use parameter instead of global var
2017-08-02 18:52:06 -04:00
Jonathan Reinink
39eb30ce72
Merge pull request #36 from adamwathan/flexbox_improvements
...
Work-in-progress improvements to flex utilities
2017-08-02 12:53:16 -04:00
Jonathan Reinink
6754f0ba81
Remove flex-X utilities.
2017-08-02 12:52:34 -04:00
Jonathan Reinink
433e88c16c
Remove flex-x-center.
2017-08-02 12:46:35 -04:00