@microsoft/atlas-css 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +42 -42
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/tokens.json +1 -1
- package/dist/tokens.ts +4 -0
- package/package.json +57 -57
- package/src/atomics/README.md +54 -54
- package/src/atomics/border.scss +56 -56
- package/src/atomics/colors.scss +166 -148
- package/src/atomics/display.scss +33 -33
- package/src/atomics/flex.scss +69 -69
- package/src/atomics/index.scss +8 -8
- package/src/atomics/position.scss +19 -19
- package/src/atomics/shadow.scss +19 -19
- package/src/atomics/spacing.scss +73 -73
- package/src/atomics/typography.scss +105 -105
- package/src/components/README.md +41 -41
- package/src/components/button-reset.scss +8 -8
- package/src/components/button.scss +243 -243
- package/src/components/buttons.scss +87 -87
- package/src/components/component.md +6 -6
- package/src/components/icon.scss +20 -20
- package/src/components/index.scss +7 -7
- package/src/components/link-button.scss +30 -30
- package/src/components/markdown.scss +156 -156
- package/src/components/table.scss +67 -67
- package/src/core/animations.scss +8 -8
- package/src/core/focus.scss +35 -35
- package/src/core/font-stack.scss +28 -28
- package/src/core/index.scss +6 -6
- package/src/core/themes.scss +86 -86
- package/src/index.scss +6 -6
- package/src/mixins/center.scss +11 -11
- package/src/mixins/code-block.scss +43 -43
- package/src/mixins/control.scss +44 -44
- package/src/mixins/focus.scss +10 -10
- package/src/mixins/font-size.scss +35 -35
- package/src/mixins/index.scss +9 -9
- package/src/mixins/loader.scss +16 -16
- package/src/mixins/media-queries.scss +49 -49
- package/src/mixins/transparency.scss +14 -14
- package/src/mixins/unselectable.scss +13 -13
- package/src/patterns/index.scss +1 -1
- package/src/tokens/animation.scss +8 -8
- package/src/tokens/border.scss +8 -8
- package/src/tokens/breakpoints.scss +11 -11
- package/src/tokens/colors.scss +215 -212
- package/src/tokens/direction.scss +18 -18
- package/src/tokens/display.scss +5 -5
- package/src/tokens/focus.scss +9 -9
- package/src/tokens/font-stack.scss +10 -10
- package/src/tokens/index.scss +18 -18
- package/src/tokens/layout.scss +8 -8
- package/src/tokens/palette.scss +188 -188
- package/src/tokens/position.scss +5 -5
- package/src/tokens/radius.scss +9 -9
- package/src/tokens/schemes.scss +14 -14
- package/src/tokens/shadow.scss +11 -11
- package/src/tokens/spacing.scss +25 -25
- package/src/tokens/themes.scss +291 -291
- package/src/tokens/typography.scss +29 -29
- package/src/tokens/z-index.scss +20 -20
- package/tokens/README.md +34 -34
- package/tokens/index.js +246 -246
- package/tokens/types.d.ts +35 -35
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
%transparent-effects {
|
|
2
|
-
outline-color: inherit;
|
|
3
|
-
background-color: transparent;
|
|
4
|
-
appearance: none;
|
|
5
|
-
|
|
6
|
-
&:not(:hover),
|
|
7
|
-
&:not(.focus-visible) {
|
|
8
|
-
background-color: transparent;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
@mixin transparent-effects {
|
|
13
|
-
@extend %transparent-effects;
|
|
14
|
-
}
|
|
1
|
+
%transparent-effects {
|
|
2
|
+
outline-color: inherit;
|
|
3
|
+
background-color: transparent;
|
|
4
|
+
appearance: none;
|
|
5
|
+
|
|
6
|
+
&:not(:hover),
|
|
7
|
+
&:not(.focus-visible) {
|
|
8
|
+
background-color: transparent;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
@mixin transparent-effects {
|
|
13
|
+
@extend %transparent-effects;
|
|
14
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
%unselectable {
|
|
2
|
-
/* stylelint-disable */
|
|
3
|
-
-webkit-touch-callout: none;
|
|
4
|
-
-webkit-user-select: none;
|
|
5
|
-
-moz-user-select: none;
|
|
6
|
-
-ms-user-select: none;
|
|
7
|
-
/* stylelint-enable */
|
|
8
|
-
user-select: none;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
@mixin unselectable {
|
|
12
|
-
@extend %unselectable;
|
|
13
|
-
}
|
|
1
|
+
%unselectable {
|
|
2
|
+
/* stylelint-disable */
|
|
3
|
+
-webkit-touch-callout: none;
|
|
4
|
+
-webkit-user-select: none;
|
|
5
|
+
-moz-user-select: none;
|
|
6
|
+
-ms-user-select: none;
|
|
7
|
+
/* stylelint-enable */
|
|
8
|
+
user-select: none;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@mixin unselectable {
|
|
12
|
+
@extend %unselectable;
|
|
13
|
+
}
|
package/src/patterns/index.scss
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
// TBD
|
|
1
|
+
// TBD
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @sass-export-section="animation"
|
|
3
|
-
*/
|
|
4
|
-
// Animation related property values
|
|
5
|
-
$input-timing-function: cubic-bezier(0.4, 0, 0.23, 1) !default;
|
|
6
|
-
$input-transition-duration: 200ms;
|
|
7
|
-
$nav-bar-transition-duration: 86ms !default;
|
|
8
|
-
//@end-sass-export-section
|
|
1
|
+
/**
|
|
2
|
+
* @sass-export-section="animation"
|
|
3
|
+
*/
|
|
4
|
+
// Animation related property values
|
|
5
|
+
$input-timing-function: cubic-bezier(0.4, 0, 0.23, 1) !default;
|
|
6
|
+
$input-transition-duration: 200ms;
|
|
7
|
+
$nav-bar-transition-duration: 86ms !default;
|
|
8
|
+
//@end-sass-export-section
|
package/src/tokens/border.scss
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @sass-export-section="border"
|
|
3
|
-
*/
|
|
4
|
-
$border-width: 1px !default;
|
|
5
|
-
$border-width-large: 0.5rem !default;
|
|
6
|
-
$border-radius: 0.25rem !default;
|
|
7
|
-
$border-radius-large: 0.5rem !default;
|
|
8
|
-
//@end-sass-export-section
|
|
1
|
+
/**
|
|
2
|
+
* @sass-export-section="border"
|
|
3
|
+
*/
|
|
4
|
+
$border-width: 1px !default;
|
|
5
|
+
$border-width-large: 0.5rem !default;
|
|
6
|
+
$border-radius: 0.25rem !default;
|
|
7
|
+
$border-radius-large: 0.5rem !default;
|
|
8
|
+
//@end-sass-export-section
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @sass-export-section="breakpoints"
|
|
3
|
-
*/
|
|
4
|
-
// The horizontal gap tied to containers
|
|
5
|
-
$container-gap: 64px !default;
|
|
6
|
-
|
|
7
|
-
// Breakpoints
|
|
8
|
-
$breakpoint-tablet: 768px !default;
|
|
9
|
-
$breakpoint-desktop: 1088px !default;
|
|
10
|
-
$breakpoint-widescreen: 1472px !default;
|
|
11
|
-
//@end-sass-export-section
|
|
1
|
+
/**
|
|
2
|
+
* @sass-export-section="breakpoints"
|
|
3
|
+
*/
|
|
4
|
+
// The horizontal gap tied to containers
|
|
5
|
+
$container-gap: 64px !default;
|
|
6
|
+
|
|
7
|
+
// Breakpoints
|
|
8
|
+
$breakpoint-tablet: 768px !default;
|
|
9
|
+
$breakpoint-desktop: 1088px !default;
|
|
10
|
+
$breakpoint-widescreen: 1472px !default;
|
|
11
|
+
//@end-sass-export-section
|
package/src/tokens/colors.scss
CHANGED
|
@@ -1,212 +1,215 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @sass-export-section="colors"
|
|
3
|
-
*/
|
|
4
|
-
$
|
|
5
|
-
$
|
|
6
|
-
|
|
7
|
-
$
|
|
8
|
-
$text-
|
|
9
|
-
$
|
|
10
|
-
$
|
|
11
|
-
$
|
|
12
|
-
$box-shadow-color-
|
|
13
|
-
|
|
14
|
-
$
|
|
15
|
-
$
|
|
16
|
-
|
|
17
|
-
$
|
|
18
|
-
$
|
|
19
|
-
|
|
20
|
-
$
|
|
21
|
-
$
|
|
22
|
-
|
|
23
|
-
$
|
|
24
|
-
|
|
25
|
-
$
|
|
26
|
-
$
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
$
|
|
30
|
-
$
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
$
|
|
34
|
-
$
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
$
|
|
38
|
-
$
|
|
39
|
-
|
|
40
|
-
$
|
|
41
|
-
$
|
|
42
|
-
$
|
|
43
|
-
|
|
44
|
-
$
|
|
45
|
-
$
|
|
46
|
-
|
|
47
|
-
$score-
|
|
48
|
-
$score-
|
|
49
|
-
$score-
|
|
50
|
-
|
|
51
|
-
$
|
|
52
|
-
$
|
|
53
|
-
|
|
54
|
-
$primary
|
|
55
|
-
$primary-
|
|
56
|
-
$primary-
|
|
57
|
-
$primary-
|
|
58
|
-
$primary-
|
|
59
|
-
|
|
60
|
-
$
|
|
61
|
-
$
|
|
62
|
-
|
|
63
|
-
$secondary
|
|
64
|
-
$secondary-
|
|
65
|
-
$secondary-
|
|
66
|
-
$secondary-
|
|
67
|
-
$secondary-
|
|
68
|
-
|
|
69
|
-
$
|
|
70
|
-
$
|
|
71
|
-
|
|
72
|
-
$tertiary
|
|
73
|
-
$tertiary-
|
|
74
|
-
$tertiary-
|
|
75
|
-
$tertiary-
|
|
76
|
-
$tertiary-
|
|
77
|
-
|
|
78
|
-
$
|
|
79
|
-
$
|
|
80
|
-
|
|
81
|
-
$success
|
|
82
|
-
$success-
|
|
83
|
-
$success-
|
|
84
|
-
$success-
|
|
85
|
-
$success-
|
|
86
|
-
|
|
87
|
-
$
|
|
88
|
-
$
|
|
89
|
-
|
|
90
|
-
$info
|
|
91
|
-
$info-
|
|
92
|
-
$info-
|
|
93
|
-
$info-
|
|
94
|
-
$info-
|
|
95
|
-
|
|
96
|
-
$
|
|
97
|
-
$
|
|
98
|
-
|
|
99
|
-
$warning
|
|
100
|
-
$warning-
|
|
101
|
-
$warning-
|
|
102
|
-
$warning-
|
|
103
|
-
$warning-
|
|
104
|
-
|
|
105
|
-
$
|
|
106
|
-
$
|
|
107
|
-
|
|
108
|
-
$danger
|
|
109
|
-
$danger-
|
|
110
|
-
$danger-
|
|
111
|
-
$danger-
|
|
112
|
-
$danger-
|
|
113
|
-
|
|
114
|
-
$
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
$primary
|
|
120
|
-
$primary-
|
|
121
|
-
$primary-
|
|
122
|
-
$primary-
|
|
123
|
-
$primary-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
$
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
$secondary
|
|
130
|
-
$secondary-
|
|
131
|
-
$secondary-
|
|
132
|
-
$secondary-
|
|
133
|
-
$secondary-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
$
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
$tertiary
|
|
140
|
-
$tertiary-
|
|
141
|
-
$tertiary-
|
|
142
|
-
$tertiary-
|
|
143
|
-
$tertiary-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
$
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
$success
|
|
150
|
-
$success-
|
|
151
|
-
$success-
|
|
152
|
-
$success-
|
|
153
|
-
$success-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
$
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
$info
|
|
160
|
-
$info-
|
|
161
|
-
$info-
|
|
162
|
-
$info-
|
|
163
|
-
$info-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
$
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
$warning
|
|
170
|
-
$warning-
|
|
171
|
-
$warning-
|
|
172
|
-
$warning-
|
|
173
|
-
$warning-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
$
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
$danger
|
|
180
|
-
$danger-
|
|
181
|
-
$danger-
|
|
182
|
-
$danger-
|
|
183
|
-
$danger-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
$color-index-
|
|
195
|
-
$color-index-
|
|
196
|
-
$color-index-
|
|
197
|
-
$color-index-
|
|
198
|
-
$color-index-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
//
|
|
204
|
-
|
|
205
|
-
//
|
|
206
|
-
// $
|
|
207
|
-
// $
|
|
208
|
-
// $
|
|
209
|
-
// $
|
|
210
|
-
//
|
|
211
|
-
|
|
212
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @sass-export-section="colors"
|
|
3
|
+
*/
|
|
4
|
+
$white-static: #fff;
|
|
5
|
+
$black-static: #000;
|
|
6
|
+
|
|
7
|
+
$text: var(--theme-text);
|
|
8
|
+
$text-subtle: var(--theme-text-subtle);
|
|
9
|
+
$text-invert: var(--theme-text-invert);
|
|
10
|
+
$hyperlink: var(--theme-hyperlink);
|
|
11
|
+
$text-glow-high-contrast: var(--theme-text-glow-high-contrast);
|
|
12
|
+
$box-shadow-color-light: var(--theme-box-shadow-light);
|
|
13
|
+
$box-shadow-color-medium: var(--theme-box-shadow-medium);
|
|
14
|
+
$box-shadow-color-heavy: var(--theme-box-shadow-heavy);
|
|
15
|
+
$box-shadow-color-extra-heavy: var(--theme-box-shadow-extra-heavy);
|
|
16
|
+
|
|
17
|
+
$body-background: var(--theme-body-background);
|
|
18
|
+
$body-background-medium: var(--theme-body-background-medium);
|
|
19
|
+
|
|
20
|
+
$alternate-background: var(--theme-alternate-background);
|
|
21
|
+
$alternate-background-medium: var(--theme-alternate-background-medium);
|
|
22
|
+
|
|
23
|
+
$overlay: var(--theme-overlay);
|
|
24
|
+
$overlay-invert: var(--theme-overlay-invert);
|
|
25
|
+
$overlay-static: $palette-black-opacity-50;
|
|
26
|
+
$border: var(--theme-border);
|
|
27
|
+
|
|
28
|
+
$code-header: var(--theme-code-header);
|
|
29
|
+
$code-block: var(--theme-code-block);
|
|
30
|
+
$inline-code: var(--theme-inline-code);
|
|
31
|
+
|
|
32
|
+
$table-header: var(--theme-table-header);
|
|
33
|
+
$table-row-header: var(--theme-table-row-header);
|
|
34
|
+
$table-border-dark: var(--theme-table-border-dark);
|
|
35
|
+
|
|
36
|
+
$facepile-red: var(--theme-facepile-red);
|
|
37
|
+
$facepile-teal: var(--theme-facepile-teal);
|
|
38
|
+
$facepile-blue: var(--theme-facepile-blue);
|
|
39
|
+
|
|
40
|
+
$default-hover: var(--theme-hover-base);
|
|
41
|
+
$default-hover-invert: $body-background-medium;
|
|
42
|
+
$border-white-high-contrast: var(--theme-border-white-high-contrast);
|
|
43
|
+
$border-yellow-high-contrast: var(--theme-border-yellow-high-contrast);
|
|
44
|
+
$code-highlight-background: var(--theme-code-highlight-background);
|
|
45
|
+
$visited: var(--theme-visited);
|
|
46
|
+
|
|
47
|
+
$score-low-off: var(--theme-score-low-off);
|
|
48
|
+
$score-low: var(--theme-score-low);
|
|
49
|
+
$score-medium-off: var(--theme-score-medium-off);
|
|
50
|
+
$score-medium: var(--theme-score-medium);
|
|
51
|
+
$score-high-off: var(--theme-score-high-off);
|
|
52
|
+
$score-high: var(--theme-score-high);
|
|
53
|
+
|
|
54
|
+
$primary: var(--theme-primary-base);
|
|
55
|
+
$primary-background: var(--theme-primary-background);
|
|
56
|
+
$primary-background-glow-high-contrast: var(--theme-primary-background-glow-high-contrast);
|
|
57
|
+
$primary-dark: var(--theme-primary-dark);
|
|
58
|
+
$primary-hover: var(--theme-primary-hover);
|
|
59
|
+
$primary-active: var(--theme-primary-active);
|
|
60
|
+
$primary-invert: var(--theme-primary-invert);
|
|
61
|
+
$primary-box-shadow: var(--theme-primary-box-shadow);
|
|
62
|
+
|
|
63
|
+
$secondary: var(--theme-secondary-base);
|
|
64
|
+
$secondary-background: var(--theme-secondary-background);
|
|
65
|
+
$secondary-background-glow-high-contrast: var(--theme-secondary-background-glow-high-contrast);
|
|
66
|
+
$secondary-dark: var(--theme-secondary-dark);
|
|
67
|
+
$secondary-hover: var(--theme-secondary-hover);
|
|
68
|
+
$secondary-active: var(--theme-secondary-active);
|
|
69
|
+
$secondary-invert: var(--theme-secondary-invert);
|
|
70
|
+
$secondary-box-shadow: var(--theme-secondary-box-shadow);
|
|
71
|
+
|
|
72
|
+
$tertiary: var(--theme-tertiary-base);
|
|
73
|
+
$tertiary-background: var(--theme-tertiary-background);
|
|
74
|
+
$tertiary-background-glow-high-contrast: var(--theme-tertiary-background-glow-high-contrast);
|
|
75
|
+
$tertiary-dark: var(--theme-tertiary-dark);
|
|
76
|
+
$tertiary-hover: var(--theme-tertiary-hover);
|
|
77
|
+
$tertiary-active: var(--theme-tertiary-active);
|
|
78
|
+
$tertiary-invert: var(--theme-tertiary-invert);
|
|
79
|
+
$tertiary-box-shadow: var(--theme-tertiary-box-shadow);
|
|
80
|
+
|
|
81
|
+
$success: var(--theme-success-base);
|
|
82
|
+
$success-background: var(--theme-success-background);
|
|
83
|
+
$success-background-glow-high-contrast: var(--theme-success-background-glow-high-contrast);
|
|
84
|
+
$success-dark: var(--theme-success-dark);
|
|
85
|
+
$success-hover: var(--theme-success-hover);
|
|
86
|
+
$success-active: var(--theme-success-active);
|
|
87
|
+
$success-invert: var(--theme-success-invert);
|
|
88
|
+
$success-box-shadow: var(--theme-success-box-shadow);
|
|
89
|
+
|
|
90
|
+
$info: var(--theme-info-base);
|
|
91
|
+
$info-background: var(--theme-info-background);
|
|
92
|
+
$info-background-glow-high-contrast: var(--theme-info-background-glow-high-contrast);
|
|
93
|
+
$info-dark: var(--theme-info-dark);
|
|
94
|
+
$info-hover: var(--theme-info-hover);
|
|
95
|
+
$info-active: var(--theme-info-active);
|
|
96
|
+
$info-invert: var(--theme-info-invert);
|
|
97
|
+
$info-box-shadow: var(--theme-info-box-shadow);
|
|
98
|
+
|
|
99
|
+
$warning: var(--theme-warning-base);
|
|
100
|
+
$warning-background: var(--theme-warning-background);
|
|
101
|
+
$warning-background-glow-high-contrast: var(--theme-warning-background-glow-high-contrast);
|
|
102
|
+
$warning-dark: var(--theme-warning-dark);
|
|
103
|
+
$warning-hover: var(--theme-warning-hover);
|
|
104
|
+
$warning-active: var(--theme-warning-active);
|
|
105
|
+
$warning-invert: var(--theme-warning-invert);
|
|
106
|
+
$warning-box-shadow: var(--theme-warning-box-shadow);
|
|
107
|
+
|
|
108
|
+
$danger: var(--theme-danger-base);
|
|
109
|
+
$danger-background: var(--theme-danger-background);
|
|
110
|
+
$danger-background-glow-high-contrast: var(--theme-danger-background-glow-high-contrast);
|
|
111
|
+
$danger-dark: var(--theme-danger-dark);
|
|
112
|
+
$danger-hover: var(--theme-danger-hover);
|
|
113
|
+
$danger-active: var(--theme-danger-active);
|
|
114
|
+
$danger-invert: var(--theme-danger-invert);
|
|
115
|
+
$danger-box-shadow: var(--theme-danger-box-shadow);
|
|
116
|
+
|
|
117
|
+
$colors: (
|
|
118
|
+
'primary': (
|
|
119
|
+
$primary,
|
|
120
|
+
$primary-background,
|
|
121
|
+
$primary-dark,
|
|
122
|
+
$primary-hover,
|
|
123
|
+
$primary-active,
|
|
124
|
+
$primary-invert,
|
|
125
|
+
$primary-box-shadow,
|
|
126
|
+
$primary-background-glow-high-contrast
|
|
127
|
+
),
|
|
128
|
+
'secondary': (
|
|
129
|
+
$secondary,
|
|
130
|
+
$secondary-background,
|
|
131
|
+
$secondary-dark,
|
|
132
|
+
$secondary-hover,
|
|
133
|
+
$secondary-active,
|
|
134
|
+
$secondary-invert,
|
|
135
|
+
$secondary-box-shadow,
|
|
136
|
+
$secondary-background-glow-high-contrast
|
|
137
|
+
),
|
|
138
|
+
'tertiary': (
|
|
139
|
+
$tertiary,
|
|
140
|
+
$tertiary-background,
|
|
141
|
+
$tertiary-dark,
|
|
142
|
+
$tertiary-hover,
|
|
143
|
+
$tertiary-active,
|
|
144
|
+
$tertiary-invert,
|
|
145
|
+
$tertiary-box-shadow,
|
|
146
|
+
$tertiary-background-glow-high-contrast
|
|
147
|
+
),
|
|
148
|
+
'success': (
|
|
149
|
+
$success,
|
|
150
|
+
$success-background,
|
|
151
|
+
$success-dark,
|
|
152
|
+
$success-hover,
|
|
153
|
+
$success-active,
|
|
154
|
+
$success-invert,
|
|
155
|
+
$success-box-shadow,
|
|
156
|
+
$success-background-glow-high-contrast
|
|
157
|
+
),
|
|
158
|
+
'info': (
|
|
159
|
+
$info,
|
|
160
|
+
$info-background,
|
|
161
|
+
$info-dark,
|
|
162
|
+
$info-hover,
|
|
163
|
+
$info-active,
|
|
164
|
+
$info-invert,
|
|
165
|
+
$info-box-shadow,
|
|
166
|
+
$info-background-glow-high-contrast
|
|
167
|
+
),
|
|
168
|
+
'warning': (
|
|
169
|
+
$warning,
|
|
170
|
+
$warning-background,
|
|
171
|
+
$warning-dark,
|
|
172
|
+
$warning-hover,
|
|
173
|
+
$warning-active,
|
|
174
|
+
$warning-invert,
|
|
175
|
+
$warning-box-shadow,
|
|
176
|
+
$warning-background-glow-high-contrast
|
|
177
|
+
),
|
|
178
|
+
'danger': (
|
|
179
|
+
$danger,
|
|
180
|
+
$danger-background,
|
|
181
|
+
$danger-dark,
|
|
182
|
+
$danger-hover,
|
|
183
|
+
$danger-active,
|
|
184
|
+
$danger-invert,
|
|
185
|
+
$danger-box-shadow,
|
|
186
|
+
$danger-background-glow-high-contrast
|
|
187
|
+
)
|
|
188
|
+
) !default;
|
|
189
|
+
|
|
190
|
+
// Combined framework and brand colors for the array used in all the loops
|
|
191
|
+
|
|
192
|
+
// Color indexes, for use in color loops.
|
|
193
|
+
|
|
194
|
+
$color-index-base: 1;
|
|
195
|
+
$color-index-background: 2;
|
|
196
|
+
$color-index-dark: 3;
|
|
197
|
+
$color-index-hover: 4;
|
|
198
|
+
$color-index-active: 5;
|
|
199
|
+
$color-index-invert: 6;
|
|
200
|
+
$color-index-box-shadow: 7;
|
|
201
|
+
$color-index-background-glow-high-contrast: 8;
|
|
202
|
+
|
|
203
|
+
// example implementation of a color loop
|
|
204
|
+
|
|
205
|
+
// @each $name, $color-set in $colors {
|
|
206
|
+
// $base: nth($color-set, $color-index-base);
|
|
207
|
+
// $background: nth($color-set, $color-index-background);
|
|
208
|
+
// $heavy: nth($color-set, $color-index-dark);
|
|
209
|
+
// $hover: nth($color-set, $color-index-hover);
|
|
210
|
+
// $active: nth($color-set, $color-index-active);
|
|
211
|
+
// $invert: nth($color-set, $color-index-invert);
|
|
212
|
+
// $box-shadow: nth($color-set, $color-index-box-shadow);
|
|
213
|
+
//}
|
|
214
|
+
|
|
215
|
+
//@end-sass-export-section
|