-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from TryKickoff/name-spacing
v2 – Name spacing and eyeglass-module
- Loading branch information
Showing
16 changed files
with
148 additions
and
140 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
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,13 +1,13 @@ | ||
// ========================================================================== | ||
// Convert pixels to rems | ||
// For a relational value of 12px write rem(12) when the parent is 16px | ||
// If the parent is another value say 24px write rem(12, 24) | ||
// For a relational value of 12px write ko-rem(12) when the parent is 16px | ||
// If the parent is another value say 24px write ko-rem(12, 24) | ||
// | ||
// Usage: | ||
// font-size : rem(12); | ||
// font-size : rem(12, 24); | ||
// font-size : ko-rem(12); | ||
// font-size : ko-rem(12, 24); | ||
// ========================================================================== | ||
@function rem($pxval, $base: $font-size-base) { | ||
@function ko-rem($pxval, $base: $font-size-base) { | ||
@return ($pxval / $base) * 1rem; | ||
} | ||
|
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,13 +1,13 @@ | ||
// Add percentage of white to a color | ||
// Usage: | ||
// background-color: tint(blue, 20%); | ||
@function tint($color, $percent) { | ||
// background-color: ko-tint(blue, 20%); | ||
@function ko-tint($color, $percent) { | ||
@return mix(white, $color, $percent); | ||
} | ||
|
||
// Add percentage of black to a color | ||
// Usage: | ||
// background-color: shade(blue, 20%); | ||
@function shade($color, $percent) { | ||
// background-color: ko-shade(blue, 20%); | ||
@function ko-shade($color, $percent) { | ||
@return mix(black, $color, $percent); | ||
} |
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
Oops, something went wrong.