121 Commits

Author SHA1 Message Date
Adam Wathan
dac88161f3 Who knows 2017-08-18 10:09:24 -04:00
Adam Wathan
e881b69bf5 WIP on tons of color crap 2017-08-18 10:09:24 -04:00
Adam Wathan
5955bd2ae8 Working on colors 2017-08-18 10:08:39 -04:00
Adam Wathan
6e26f14d0a Merge pull request #78 from adamwathan/group-spacing-breakpoints
Group media queries for padding and pull utilities
2017-08-16 09:00:22 -04:00
Adam Wathan
f406938373 Group media queries for padding and pull utilities 2017-08-15 14:08:25 -04:00
Adam Wathan
d3e0facc13 Define mx-auto alongside scale variants to group media queries 2017-08-15 14:06:00 -04:00
Jonathan Reinink
7ad9c0b521 Added new font family utilities.
Removed "text-mono" utility.
Renamed "@system-font-stack" variable to "@font-family-system".
2017-08-15 11:12:49 -04:00
Jonathan Reinink
93146b74f6 Add "text-justify" utility 2017-08-15 10:20:59 -04:00
Jonathan Reinink
2b100ce4a0 Removed "text-spaced" utility
Should use the new "leading" utilities instead.
2017-08-15 10:13:53 -04:00
Adam Wathan
1a5bf2d343 Fix bug with double border generation 2017-08-15 08:13:22 -04:00
Adam Wathan
bf12f68673 Add rounded border generators 2017-08-14 19:55:17 -04:00
Adam Wathan
d1203c58d7 Merge pull request #66 from adamwathan/default-spacers
Provide fewer default spacers
2017-08-14 19:54:06 -04:00
Adam Wathan
d2eca8865d Add flex-x-center helper, actually is useful if stuff wraps 2017-08-08 16:07:41 -04:00
Adam Wathan
9017c838cd Letter spacing not line height dumb fuck 2017-08-08 15:09:59 -04:00
Adam Wathan
c6e93a05f6 Merge pull request #64 from adamwathan/tracking
Add basic tracking utilities
2017-08-08 15:09:10 -04:00
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
7d8559b8fd Add shadow utilities 2017-08-06 08:13:33 -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
9f987a168f Add basic tracking utilities 2017-08-05 20:47:43 -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