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
Adam Wathan
e07be665b1
Remove per-side border colors
2017-08-02 12:45:47 -04:00
Adam Wathan
0d68494ca8
Add screen mixin
2017-08-02 12:40:30 -04:00
Jonathan Reinink
f385d91e1b
Remove flex basis and flex grow utilities.
2017-08-02 12:38:04 -04:00
Adam Wathan
ca2b52780c
Remove "container" concept, remove grid gutters
2017-08-02 12:30:40 -04:00
Adam Wathan
a085162cd8
Standardize on "responsive" helper mixin
2017-08-02 12:30:14 -04:00
Adam Wathan
487cbef751
Delete class that doesn't even work
2017-08-02 12:29:50 -04:00
Adam Wathan
8b3bec98a0
Hard code iPhone font shrinking for now
2017-08-02 12:29:36 -04:00
Jonathan Reinink
c6ff4161b8
Merge branch 'master' into flexbox_improvements
2017-08-02 11:04:08 -04:00
Jonathan Reinink
4c640e608a
Remove quotes around default variants.
2017-08-02 10:36:30 -04:00
Adam Wathan
a812d9649a
Solve generated mixin bug by adding quotes 🙌🏻
2017-08-02 10:04:32 -04:00
Adam Wathan
06360a8094
More generator work
...
About to go down dark path of parameterized mixins.
2017-08-02 08:51:24 -04:00
Jonathan Reinink
a0ddedb360
Remove non existent classes from responsive helper.
2017-08-01 22:10:56 -04:00
Jonathan Reinink
9eb457f5b4
Remove "inline-flex-y-center" utility.
...
Can just use "flex-y-center" and "flex-inline" instead.
2017-08-01 21:06:11 -04:00
Adam Wathan
f323d5d5b2
Desaturate all default colors to pure gray
...
We should put some thought into the lightness scale for these too; a
lot of the numbers are currently oddly precise for framework defaults,
like 52% or 16%.
2017-08-01 19:13:11 -04:00
Adam Wathan
5319c64822
Start extracting generators
2017-08-01 18:59:26 -04:00
Adam Wathan
8ae008951d
Remove unused responsive borders
2017-08-01 18:54:21 -04:00
Adam Wathan
eb86fd6acd
Add basic border generator mixins
2017-08-01 17:06:09 -04:00