-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c8a2a86
commit d4116e2
Showing
8 changed files
with
86 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "bellmaker", | ||
"version": "0.4.4", | ||
"version": "0.4.5", | ||
"authors": [ | ||
{ | ||
"name": "Jimmy Ha", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// Operators | ||
// | ||
// sample usage | ||
// .foo { | ||
// @include bellmaker_offset(width,-10rem); | ||
// @include bellmaker_factor(padding-left,0.5); | ||
// } | ||
|
||
@mixin bellmaker_offset($attribute, $offset) { | ||
@media #{$da_small} { #{$attribute}: $pw_small + $offset;} | ||
@media #{$da_medium} { #{$attribute}: $pw_medium + $offset;} | ||
@media #{$da_large} { #{$attribute}: $pw_large + $offset;} | ||
@media #{$da_x_large} { #{$attribute}: $pw_x_large + $offset;} | ||
} | ||
@mixin bellmaker_factor($attribute, $factor) { | ||
@media #{$da_small} { #{$attribute}: $pw_small * $factor;} | ||
@media #{$da_medium} { #{$attribute}: $pw_medium * $factor;} | ||
@media #{$da_large} { #{$attribute}: $pw_large * $factor;} | ||
@media #{$da_x_large} { #{$attribute}: $pw_x_large * $factor;} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,5 @@ | |
|
||
@import "page_layout"; | ||
|
||
@import "operators"; | ||
|