Skip to content
Snippets Groups Projects
Commit 3c77c205 authored by Taras Kruts's avatar Taras Kruts
Browse files

Issue #3083875 by ribel: Fix passing color variables to the brand--sky.css

parent 9ef2f661
No related branches found
No related tags found
No related merge requests found
......@@ -8,6 +8,7 @@ brand:
css:
theme:
assets/css/brand.css: { weight: 500}
assets/css/brand--sky.css: { weight: 700}
## 2. The SMACSS category Component — discrete, reusable UI elements
......
......@@ -29,7 +29,7 @@ function socialblue_library_info_alter(&$libraries, $extension) {
$style_css = $base_path . $key . '--' . $style . '.css';
if (file_exists($theme_path . '/' . $style_css)) {
$libraries[$key]['css']['theme'][$style_css] = [];
$libraries[$key]['css']['theme'][$style_css]['weight'] = 700;
$libraries[$key]['css']['theme'][$style_css]['weight'] = 600;
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment