Last active
April 20, 2021 14:59
-
-
Save anithegregorian/99251a3259bdd84a689d7c5c61687a1d to your computer and use it in GitHub Desktop.
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
// CSS VARIABLES | |
:root { | |
--body-font-family: #{$site-body-font-family}; | |
--heading-font-family: #{$site-heading-font-family}; | |
--heading-font-weight: 500; | |
// Scale factors | |
@each $factor, $value in $scale-factors { | |
--scale-factor-#{$factor}: #{$value}; | |
} | |
// Margin spacings | |
@each $space, $value in $margin-spacings { | |
--vertical-margin-#{$space}: #{$value}; | |
} | |
// Margin pushes | |
@each $space, $value in $margin-pushes { | |
--margin-push-#{$space}: #{$value}; | |
} | |
// Padding spacings | |
@each $space, $value in $padding-spacings { | |
--vertical-padding-#{$space}: #{$value}; | |
} | |
// Gutter spacings | |
@each $space, $value in $gutter-spacings { | |
--column-gutter-spacing-#{$space}: #{$value}; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment