-
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.
Merge pull request #23 from marzeelabs/develop
update master
- Loading branch information
Showing
4 changed files
with
43 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
Thumbs.db | ||
.DS_Store | ||
.DS_Store | ||
node_modules |
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,31 @@ | ||
// Aliases Ritmo namespaced variables, functions, and mixins back to the original names from the Compass Veritcial Rhythm toolkit. Including this partial makes it possible to use Ritmo as a nearly plug and play replacement. You will still need to define the newer Ritmo configurable variables for $base-line-unit and $base-line-multi in place of $base-line-height. | ||
|
||
// ALIASED VARIABLES | ||
|
||
$ritmo-unit: $rhythm-unit !default; | ||
$ritmo-border-width: $default-rhythm-border-width !default; | ||
|
||
// ALIASED FUNCTIONS | ||
|
||
@function rhythm($args...) { @return ritmo($args...); } | ||
|
||
// ALIASED MIXINS | ||
|
||
@mixin establish-baseline($args...) { @include ritmo-baseline($args...); } | ||
@mixin adjust-font-size-to($args...) { @include ritmo-font-size($args...); } | ||
@mixin adjust-leading-to($args...) { @include ritmo-leading($args...); } | ||
@mixin leader($args...) { @include ritmo-top($args...); } | ||
@mixin padding-leader($args...) { @include ritmo-top-padding($args...); } | ||
@mixin margin-leader($args...) { @include ritmo-top-margin($args...); } | ||
@mixin trailer($args...) { @include ritmo-bottom($args...); } | ||
@mixin padding-trailer($args...) { @include ritmo-bottom-padding($args...); } | ||
@mixin margin-trailer($args...) { @include ritmo-bottom-margin($args...); } | ||
@mixin rhythm($args...) { @include ritmo($args...); } | ||
@mixin rhythm-margins($args...) { @include ritmo-margins($args...); } | ||
@mixin rhythm-padding($args...) { @include ritmo-padding($args...); } | ||
@mixin apply-side-rhythm-border($args...) { @include ritmo-side-border($args...); } | ||
@mixin leading-border($args...) { @include ritmo-top-border($args...); } | ||
@mixin trailing-border($args...) { @include ritmo-bottom-border($args...); } | ||
@mixin horizontal-borders($args...) { @include ritmo-horizontal-borders($args...); } | ||
@mixin h-borders($args...) { @include ritmo-horizontal-borders($args...); } | ||
@mixin rhythm-borders($args...) { @include ritmo-horizontal-borders($args...); } |
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 |
---|---|---|
|
@@ -18,5 +18,6 @@ | |
}, | ||
"devDependencies": { | ||
"node-sass": "^3.7.0" | ||
} | ||
}, | ||
"main": "_ritmo.scss" | ||
} |