-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: make the 'b2c' theme a configurable theme dynamically customiza…
…ble with CSS custom properties (#1427) * removed 'darken' and 'lighten' * added Bootstrap overrides that are necessary when working with var color values and the '$primary' and '$secondary' SCSS variable are not necessarily fitting colors * changed 'b2c' theme to a configurable theme with CSS custom properties that can be dynamically configured via ICM CMS Configuration component
- Loading branch information
Showing
14 changed files
with
173 additions
and
46 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
:root { | ||
// | ||
// LOGOS | ||
--logo: url('/assets/themes/b2c/img/logo.png'); | ||
--logo-width: 114px; | ||
--logo-height: 40px; | ||
--logo-mobile: url('/assets/themes/b2c/img/logo_mobile.png'); | ||
--logo-mobile-width: 41px; | ||
--logo-mobile-height: 41px; | ||
|
||
// | ||
// FONTS | ||
--font-family-regular: 'robotoregular', 'Helvetica', 'Arial', sans-serif; | ||
--font-family-bold: 'robotobold', 'Helvetica', 'Arial', sans-serif; | ||
--font-family-condensedregular: 'roboto_condensedregular', 'Helvetica Neue', helvetica, 'Arial', sans-serif; | ||
--font-family-condensedbold: 'roboto_condensedbold', 'Helvetica Neue', helvetica, 'Arial', sans-serif; | ||
|
||
// | ||
// CORPORATE DESIGN COLORS | ||
--corporate-primary: #ff6d00; // ORANGE | ||
--corporate-secondary: #cc5700; // darken($CORPORATE-PRIMARY, 10%); | ||
--corporate-light: #ff8a33; // lighten($CORPORATE-PRIMARY, 10%); | ||
--corporate-dark: #994100; // darken($CORPORATE-PRIMARY, 20%); | ||
--corporate-shadow: #ff832680; // with alpha transparency | ||
|
||
// | ||
// TEXT COLOR | ||
--text-color-corporate: var(--corporate-primary); | ||
--text-color-primary: #222; | ||
--text-color-secondary: #555; | ||
--text-color-tertiary: #8b8b8b; | ||
--text-color-quaternary: #999; | ||
--text-color-quinary: #eee; | ||
|
||
// | ||
// GENERAL COLORS | ||
--color-corporate: var(--corporate-primary); | ||
--color-primary: #222; | ||
--color-secondary: #2c2d2e; | ||
--color-tertiary: #eee; | ||
--color-quaternary: #d5d5d5; | ||
} |
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
Oops, something went wrong.