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
c7cd703b1e
Merge pull request #56 from adamwathan/zero-in-border-scale
...
Move zero values to border-width scale instead of hard-coding
2017-08-04 14:21:27 -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
feb451b991
Merge pull request #50 from adamwathan/parameterized-grid
...
Make grid generator parameterized instead of using globals
2017-08-04 11:20:55 -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
Jonathan Reinink
8b312408d7
Merge pull request #49 from adamwathan/credit
...
Add Reinink to package.json
2017-08-04 07:48:12 -04:00
Adam Wathan
b8de8222c0
Add Reinink to package.json
2017-08-03 22:47:45 -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
5347cf20cd
Update border documentation
2017-08-03 22:25:21 -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
9e2f8186b6
Formatting
2017-08-03 21:38: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
fcdd29b92f
Update custom bg color definition in docs
2017-08-03 21:33:22 -04:00
Adam Wathan
0d87cf83bb
Merge branch 'insanity'
2017-08-03 21:02:37 -04:00
Adam Wathan
7da7d70050
Add responsive constrain generator
2017-08-03 21:01:48 -04:00
Adam Wathan
5afba88a95
Remove flex declaration from .row
2017-08-03 21:01:48 -04:00
Adam Wathan
545ccde07e
Add constrain generators
2017-08-03 21:01:48 -04:00
Adam Wathan
c5ece08691
Fix bug in apply-match
2017-08-03 21:01:48 -04:00
Adam Wathan
0615af1821
Rename spacer map to spacing scale
2017-08-03 21:01:48 -04:00
Adam Wathan
baa7450e25
Generate all background colors at once
2017-08-03 21:01:22 -04:00
Jonathan Reinink
128812dbbe
Work in progress on borders.
2017-08-03 17:19:40 -04:00
Adam Wathan
f7ffbdb24a
Merge pull request #42 from adamwathan/beta_logo
...
Add beta logo
2017-08-03 16:05:35 -04:00
Jonathan Reinink
49fdc9d41c
Add paper airplane logo.
2017-08-03 15:53:23 -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