Skip to content

Commit

Permalink
Interpolate CSS native variables in Design Editor files.
Browse files Browse the repository at this point in the history
Fixes rebuilding Design Editor components with updated modules.
(closes #175)
  • Loading branch information
Kaspar Naaber committed Sep 22, 2017
1 parent b974f6a commit 5b31b83
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions sources/components/custom-styles/template-cs-main-styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"unit": "px",
"scope": "global"
*/
--wrap-max-width: 1140px;
#{--wrap-max-width}: 1140px;

/* VoogStyle
"pathI18n": ["main_styles"],
Expand All @@ -39,7 +39,7 @@
"featured": true,
"scope": "global"
*/
--main-font-family: $base-font-family;
#{--main-font-family}: $base-font-family;

/* VoogStyle
"pathI18n": ["main_styles", "colors"],
Expand All @@ -59,7 +59,7 @@
"--footer-body-color"
]
*/
--main-color: #{rgba($color-black, .8)};
#{--main-color}: #{rgba($color-black, .8)};

/* VoogStyle
"pathI18n": ["main_styles", "colors"],
Expand All @@ -77,7 +77,7 @@
"--footer-link-color"
]
*/
--secondary-color: #{rgba($color-black, 1)};
#{--secondary-color}: #{rgba($color-black, 1)};

/* VoogStyle
"pathI18n": ["main_styles", "colors"],
Expand All @@ -86,7 +86,7 @@
"featured": true,
"scope": "global"
*/
--body-background-color: #{rgba($color-black, .02)};
#{--body-background-color}: #{rgba($color-black, .02)};

// scss-lint:enable Comment, Indentation
}

0 comments on commit 5b31b83

Please sign in to comment.