Skip to content
Snippets Groups Projects
Commit 362a01ce authored by Peter Polman's avatar Peter Polman
Browse files

DS-2001 - Added brand component library.

parent bd930239
No related branches found
No related tags found
No related merge requests found
.brand-bg-primary {
background-color: #29abe2 !important;
}
.brand-bg-secondary {
background-color: #1f80aa !important;
}
.brand-bg-accent {
background-color: #ffc142 !important;
}
.brand-text-primary {
color: #29abe2 !important;
}
.brand-text-secondary {
color: #1f80aa !important;
}
.brand-text-accent {
color: #ffc142 !important;
}
......@@ -33,7 +33,7 @@ $info = array(
// CSS files (excluding @import) to rewrite with new color scheme.
// @TODO make sure we rewrite the correct color.css
'css' => array(
'assets/css/base.css',
'assets/css/brand.css',
),
// Files to copy.
......
@import 'settings';
.brand-bg-primary {
background-color: $brand-primary !important;
}
.brand-bg-secondary {
background-color: $brand-secondary !important;
}
.brand-bg-accent {
background-color: $brand-accent !important;
}
.brand-text-primary {
color: $brand-primary !important;
}
.brand-text-secondary {
color: $brand-secondary !important;
}
.brand-text-accent {
color: $brand-accent !important;
}
......@@ -8,6 +8,9 @@ base theme: socialbase
core: 8.x
version: '1.0'
libraries:
- socialblue/brand
libraries-extend:
socialbase/base:
- socialblue/base
......
......@@ -3,6 +3,10 @@ base:
css:
base:
assets/css/base.css: {}
brand:
css:
brand:
assets/css/brand.css: {}
## 2. The SMACSS category Component — discrete, reusable UI elements
......@@ -156,4 +160,4 @@ color.preview:
js:
color/preview.js: {}
dependencies:
- color/drupal.color
\ No newline at end of file
- color/drupal.color
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