Skip to content

Commit

Permalink
Merge golden-ratio into modular-scale mixin
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank committed Jan 18, 2012
1 parent ec31333 commit 7d701f5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 19 deletions.
1 change: 0 additions & 1 deletion app/assets/stylesheets/_bourbon.scss
@@ -1,7 +1,6 @@
// Custom Functions
@import "functions/deprecated-webkit-gradient";
@import "functions/modular-scale";
@import "functions/golden-ratio";
@import "functions/grid-width";
@import "functions/tint-shade";

Expand Down
18 changes: 0 additions & 18 deletions app/assets/stylesheets/functions/_golden-ratio.scss

This file was deleted.

10 changes: 10 additions & 0 deletions app/assets/stylesheets/functions/_modular_scale.scss
Expand Up @@ -28,3 +28,13 @@
// }
//
// modularscale.com

@function golden-ratio($value, $increment) {
@return modular-scale($value, $increment, 1.618)
}

// div {
// font-size: golden-ratio(14px, 1); // returns: 22.652px
// }
//
// goldenratiocalculator.com

0 comments on commit 7d701f5

Please sign in to comment.