821 Commits

Author SHA1 Message Date
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
Adam Wathan
669ec1b558 Working on moving things to generic generators 2017-08-03 15:42:46 -04:00
Jonathan Reinink
f83e5d7543 Continued development of docs. 2017-08-03 13:24:05 -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
722a84c366 Merge pull request #39 from adamwathan/documentation
Documentation
2017-08-03 09:31:41 -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
b95b3660ba Merge pull request #40 from adamwathan/add_responsive_helpers_to_position
Add responsive helpers to position
2017-08-03 09:26:29 -04:00
Jonathan Reinink
2cf222b9ba Rough in spacing documentation. 2017-08-03 09:25:40 -04:00
Jonathan Reinink
9d0ab53015 Just use Tailwind source in documentation. 2017-08-03 09:24:43 -04:00
Jonathan Reinink
08b6f1dd46 Add display documentation. 2017-08-03 08:41:53 -04:00
Jonathan Reinink
56e24e36db Tweak wording in position documentation. 2017-08-03 08:34:14 -04:00
Jonathan Reinink
888f847d9e Add responsive helpers to position. 2017-08-03 08:17:02 -04:00
Jonathan Reinink
48e61a07f7 Add active state to menu. 2017-08-03 08:15:08 -04:00
Jonathan Reinink
dd480cf56a Add position documentation. 2017-08-03 07:59:40 -04:00