|
1 | 1 | // COLORS |
2 | 2 |
|
3 | 3 | $colormap-base: ( |
4 | | - //primary |
5 | | - indigo-blue: #27166f, |
6 | | - cat-yellow: #f0b823, |
7 | | - rental-red: #af0e0e, |
8 | | - zlab-blue: #00aeef, |
9 | | - // |
10 | | - //gray |
11 | | - black: #000000, |
12 | | - gray-dark: #101111, |
13 | | - gray-mid-dark: #373d3f, |
14 | | - gray: #464a4c, |
15 | | - text-gray: #555f61, |
16 | | - gray-light: #6f7c80, |
17 | | - disabled: #c1c7c9, |
18 | | - gray-lighter: #eceeef, |
19 | | - gray-mid: #f2f3f4, |
20 | | - gray-lightest: #f7f7f9, |
21 | | - white: #ffffff, |
22 | | - // |
23 | | - //support |
24 | | - success: #5cb85c, |
25 | | - warning: #f0ad4e, |
26 | | - alert: #ff6562, |
27 | | - info: #5bc0de, |
28 | | - // |
29 | | - //social media |
30 | | - xing: #026466, |
31 | | - facebook: #4267b2, |
32 | | - twitter: #1da1f2, |
33 | | - linkedin: #0077b5, |
34 | | - kununu: #99c613, |
35 | | - youtube: #ff0000, |
36 | | - googleplus: #dd4b39, |
37 | | - // |
38 | | - //secondary |
39 | | - cat-yellow-lighter: #fae6b2, |
40 | | - cat-yellow-darker: #f0b823, |
41 | | - indigo-blue-lighter: #361e9a |
| 4 | + indigo-blue: get('colors.primary.indigoBlue.hex'), |
| 5 | + cat-yellow: get('colors.primary.catYellow.hex'), |
| 6 | + rental-red: get('colors.primary.rentalRed.hex'), |
| 7 | + zlab-blue: get('colors.primary.zlabBlue.hex'), |
| 8 | + cat-yellow-lightest: get('colors.secondary.catYellowLightest.hex'), |
| 9 | + cat-yellow-lighter: get('colors.secondary.catYellowLighter.hex'), |
| 10 | + cat-yellow-darker: get('colors.secondary.catYellowDarker.hex'), |
| 11 | + indigo-blue-lighter: get('colors.secondary.indigoBlueLighter.hex'), |
| 12 | + black: get('colors.gray.black.hex'), |
| 13 | + gray-dark: get('colors.gray.grayDark.hex'), |
| 14 | + gray-mid-dark: get('colors.gray.grayMidDark.hex'), |
| 15 | + gray: get('colors.gray.gray.hex'), |
| 16 | + text-gray: get('colors.gray.textGray.hex'), |
| 17 | + gray-light: get('colors.gray.grayLight.hex'), |
| 18 | + disabled: get('colors.gray.disabled.hex'), |
| 19 | + gray-lighter: get('colors.gray.grayLighter.hex'), |
| 20 | + gray-mid: get('colors.gray.grayMid.hex'), |
| 21 | + gray-lightest: get('colors.gray.grayLightest.hex'), |
| 22 | + white: get('colors.gray.white.hex'), |
| 23 | + success: get('colors.support.success.hex'), |
| 24 | + success-lighter: get('colors.support.successLighter.hex'), |
| 25 | + warning: get('colors.support.warning.hex'), |
| 26 | + warning-lighter: get('colors.support.warningLighter.hex'), |
| 27 | + alert: get('colors.support.alert.hex'), |
| 28 | + alert-lighter: get('colors.support.alertLighter.hex'), |
| 29 | + info: get('colors.support.info.hex'), |
| 30 | + info-lighter: get('colors.support.infoLighter.hex'), |
| 31 | + xing: get('colors.socialMedia.xing.hex'), |
| 32 | + facebook: get('colors.socialMedia.facebook.hex'), |
| 33 | + twitter: get('colors.socialMedia.twitter.hex'), |
| 34 | + linkedin: get('colors.socialMedia.linkedin.hex'), |
| 35 | + kununu: get('colors.socialMedia.kununu.hex'), |
| 36 | + youtube: get('colors.socialMedia.youtube.hex'), |
| 37 | + googleplus: get('colors.socialMedia.googleplus.hex') |
42 | 38 | ); |
43 | 39 |
|
44 | | -$theme-color-map: ( |
45 | | - button-primary: map-get($colormap-base, white), |
46 | | - button-primary--disabled: map-get($colormap-base, disabled), |
47 | | - button-secondary: map-get($colormap-base, grey-dark), |
48 | | - button-secondary--hover: map-get($colormap-base, white), |
49 | | - button-secondary--disabled: map-get($colormap-base, disabled) |
50 | | -); |
51 | | - |
52 | | -$theme-background-color-map: ( |
53 | | - button-primary: map-get($colormap-base, indigo-blue), |
54 | | - button-primary--disabled: map-get($colormap-base, gray-lighter), |
55 | | - button-primary--hover: lighten(map-get($colormap-base, indigo-blue), 10%), |
56 | | - button-secondary: map-get($colormap-base, white), |
57 | | - button-secondary--hover: map-get($colormap-base, indigo-blue), |
58 | | - button-secondary--disabled: map-get($colormap-base, white) |
59 | | -); |
60 | | - |
61 | | -$theme-border-color-map: ( |
62 | | - button-secondary: map-get($colormap-base, indigo-blue), |
63 | | - button-secondary--disabled: map-get($colormap-base, gray-lighter) |
64 | | -); |
65 | | - |
66 | | -//use lighten 10% on hover colors |
67 | | -$hover-example: lighten(map-get($colormap-base, indigo-blue), 10%); |
68 | | - |
69 | 40 | // create dummy color classes |
70 | 41 | @each $name, $value in $colormap-base { |
71 | 42 | .#{$prefix}color--#{$name} { |
|
0 commit comments