@unlk/keymaster 1.0.13 → 1.1.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/CHANGELOG.md +11 -0
- package/dist/css/keymaster.css +612 -850
- package/dist/css/keymaster.css.map +1 -1
- package/dist/css/keymaster.min.css +2 -2
- package/dist/css/keymaster.min.css.map +1 -1
- package/dist/js/keymaster.js +29 -32
- package/dist/js/keymaster.js.map +1 -1
- package/dist/js/keymaster.min.js +16 -16
- package/dist/js/keymaster.min.js.map +1 -1
- package/package.json +1 -1
- package/scss/assets/bootstrap5/_functions.scss +1 -1
- package/scss/assets/bootstrap5/_reboot.scss +6 -0
- package/scss/assets/bootstrap5/_spinners.scss +1 -0
- package/scss/assets/bootstrap5/mixins/_banner.scss +1 -1
- package/scss/keymaster.scss +1 -1
- package/scss/theme/_alert.scss +1 -5
- package/scss/theme/_badge.scss +2 -2
- package/scss/theme/_buttons.scss +2 -16
- package/scss/theme/_close.scss +1 -0
- package/scss/theme/_fontawesome-variables.scss +1 -0
- package/scss/theme/_fontawesome.scss +22 -0
- package/scss/theme/_maps-overrides.scss +0 -3
- package/scss/theme/_modal.scss +18 -6
- package/scss/theme/_utilities-overrides.scss +2 -1
- package/scss/theme/_variables-overrides.scss +116 -146
- package/scss/theme/_variables.scss +7 -2
- package/scss/theme/forms/_form-check.scss +5 -5
- package/scss/theme/mixins/_forms.scss +10 -6
- package/scss/_fontawesome.scss +0 -21
package/package.json
CHANGED
@@ -157,7 +157,7 @@ $_luminance-list: .0008 .001 .0011 .0013 .0015 .0017 .002 .0022 .0025 .0027 .003
|
|
157
157
|
|
158
158
|
@each $color in $foregrounds {
|
159
159
|
$contrast-ratio: contrast-ratio($background, $color);
|
160
|
-
@if $contrast-ratio
|
160
|
+
@if $contrast-ratio >= $min-contrast-ratio {
|
161
161
|
@return $color;
|
162
162
|
} @else if $contrast-ratio > $max-ratio {
|
163
163
|
$max-ratio: $contrast-ratio;
|
@@ -534,6 +534,12 @@ legend {
|
|
534
534
|
[type="search"] {
|
535
535
|
-webkit-appearance: textfield; // 1
|
536
536
|
outline-offset: -2px; // 2
|
537
|
+
|
538
|
+
// 3. Better affordance and consistent appearance for search cancel button
|
539
|
+
&::-webkit-search-cancel-button {
|
540
|
+
cursor: pointer;
|
541
|
+
filter: grayscale(1);
|
542
|
+
}
|
537
543
|
}
|
538
544
|
|
539
545
|
// 1. A few input types should stay LTR
|
@@ -1,6 +1,6 @@
|
|
1
1
|
@mixin bsBanner($file) {
|
2
2
|
/*!
|
3
|
-
* Bootstrap #{$file} v5.3.
|
3
|
+
* Bootstrap #{$file} v5.3.8 (https://getbootstrap.com/)
|
4
4
|
* Copyright 2011-2025 The Bootstrap Authors
|
5
5
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
6
6
|
*/
|
package/scss/keymaster.scss
CHANGED
package/scss/theme/_alert.scss
CHANGED
@@ -13,11 +13,7 @@
|
|
13
13
|
$alert-border: var(--#{$prefix}#{$state}-border-subtle);
|
14
14
|
$alert-color: var(--#{$prefix}#{$state}-text-emphasis);
|
15
15
|
$alert-bg: var(--#{$prefix}#{$state}-bg-subtle);
|
16
|
-
@if $state == "
|
17
|
-
$alert-border: $gray-400;
|
18
|
-
$alert-color: $foundation-500;
|
19
|
-
}
|
20
|
-
@else if $state == "danger" {
|
16
|
+
@if $state == "danger" {
|
21
17
|
$alert-bg: $danger-25;
|
22
18
|
} @else if $state == "success" {
|
23
19
|
$alert-bg: $success-50;
|
package/scss/theme/_badge.scss
CHANGED
package/scss/theme/_buttons.scss
CHANGED
@@ -14,10 +14,10 @@
|
|
14
14
|
|
15
15
|
@each $color, $value in $theme-colors {
|
16
16
|
.btn-link-#{$color} {
|
17
|
-
@if $color == "primary"
|
17
|
+
@if $color == "primary" {
|
18
18
|
@include button-link-variant(
|
19
19
|
$value,
|
20
|
-
$active-background: $
|
20
|
+
$active-background: $electric-700,
|
21
21
|
);
|
22
22
|
}
|
23
23
|
}
|
@@ -36,17 +36,3 @@
|
|
36
36
|
);
|
37
37
|
}
|
38
38
|
}
|
39
|
-
|
40
|
-
@each $color, $value in $theme-colors {
|
41
|
-
.btn-outline-#{$color} {
|
42
|
-
@if $color == "light" {
|
43
|
-
@include button-outline-variant(
|
44
|
-
$value,
|
45
|
-
$color-hover: $value,
|
46
|
-
$active-background: rgba($blueprint-500, .25),
|
47
|
-
$active-border: $value,
|
48
|
-
$active-color: $value,
|
49
|
-
);
|
50
|
-
}
|
51
|
-
}
|
52
|
-
}
|
package/scss/theme/_close.scss
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
$fa-font-path: "../../../fonts" !default;
|
@@ -0,0 +1,22 @@
|
|
1
|
+
@use "fontawesome-variables" as *;
|
2
|
+
@use "../assets/fontawesome/variables" with (
|
3
|
+
$font-path: $fa-font-path
|
4
|
+
);
|
5
|
+
@use "../assets/fontawesome/fontawesome";
|
6
|
+
@use "../assets/fontawesome/thin";
|
7
|
+
@use "../assets/fontawesome/light";
|
8
|
+
@use "../assets/fontawesome/regular";
|
9
|
+
@use "../assets/fontawesome/solid";
|
10
|
+
@use "../assets/fontawesome/sharp-thin";
|
11
|
+
@use "../assets/fontawesome/sharp-light";
|
12
|
+
@use "../assets/fontawesome/sharp-regular";
|
13
|
+
@use "../assets/fontawesome/sharp-solid";
|
14
|
+
@use "../assets/fontawesome/duotone";
|
15
|
+
@use "../assets/fontawesome/duotone-thin";
|
16
|
+
@use "../assets/fontawesome/duotone-light";
|
17
|
+
@use "../assets/fontawesome/duotone-regular";
|
18
|
+
@use "../assets/fontawesome/sharp-duotone-thin";
|
19
|
+
@use "../assets/fontawesome/sharp-duotone-light";
|
20
|
+
@use "../assets/fontawesome/sharp-duotone-regular";
|
21
|
+
@use "../assets/fontawesome/sharp-duotone-solid";
|
22
|
+
@use "../assets/fontawesome/brands";
|
@@ -2,7 +2,6 @@
|
|
2
2
|
$theme-colors-text: (
|
3
3
|
"primary": $primary-text-emphasis,
|
4
4
|
"secondary": $secondary-text-emphasis,
|
5
|
-
"tertiary": $tertiary-text-emphasis,
|
6
5
|
"action": $action-text-emphasis,
|
7
6
|
"success": $success-text-emphasis,
|
8
7
|
"info": $info-text-emphasis,
|
@@ -17,7 +16,6 @@ $theme-colors-text: (
|
|
17
16
|
$theme-colors-bg-subtle: (
|
18
17
|
"primary": $primary-bg-subtle,
|
19
18
|
"secondary": $secondary-bg-subtle,
|
20
|
-
"tertiary": $tertiary-bg-subtle,
|
21
19
|
"action": $action-bg-subtle,
|
22
20
|
"success": $success-bg-subtle,
|
23
21
|
"info": $info-bg-subtle,
|
@@ -32,7 +30,6 @@ $theme-colors-bg-subtle: (
|
|
32
30
|
$theme-colors-border-subtle: (
|
33
31
|
"primary": $primary-border-subtle,
|
34
32
|
"secondary": $secondary-border-subtle,
|
35
|
-
"tertiary": $tertiary-border-subtle,
|
36
33
|
"action": $action-border-subtle,
|
37
34
|
"success": $success-border-subtle,
|
38
35
|
"info": $info-border-subtle,
|
package/scss/theme/_modal.scss
CHANGED
@@ -11,15 +11,27 @@
|
|
11
11
|
width: $btn-close-media-width;
|
12
12
|
height: $btn-close-media-height;
|
13
13
|
text-shadow: 0 0 rfs-value(1px) $gray-400;
|
14
|
-
background: transparent var(--#{$prefix}btn-close-media-bg) center / $btn-close-media-width 100% no-repeat; // include transparent for button elements
|
15
14
|
opacity: .97;
|
16
|
-
|
15
|
+
&::before,
|
16
|
+
&::after {
|
17
|
+
position: absolute;
|
18
|
+
inset: 0;
|
19
|
+
pointer-events: none;
|
20
|
+
content: "";
|
21
|
+
background: center / 100% 100% no-repeat;
|
22
|
+
}
|
23
|
+
&::before {
|
24
|
+
background: transparent var(--#{$prefix}btn-close-media-bg) center / $btn-close-media-width 100% no-repeat; // include transparent for button elements
|
17
25
|
opacity: 1;
|
18
26
|
}
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
27
|
+
&::after {
|
28
|
+
background: transparent var(--#{$prefix}btn-close-media-bg-hover) center / $btn-close-media-width 100% no-repeat; // include transparent for button elements
|
29
|
+
opacity: 0;
|
30
|
+
@include transition(opacity .25s ease);
|
31
|
+
}
|
32
|
+
&:hover {
|
33
|
+
opacity: 1;
|
34
|
+
&::after { opacity: 1; }
|
23
35
|
}
|
24
36
|
@include media-breakpoint-down(xl) {
|
25
37
|
right: 0;
|
@@ -9,7 +9,7 @@ $box-shadow: 0 rfs-value(4px) rfs-value(10px) rgba($foundation-500, .12) !defaul
|
|
9
9
|
$box-shadow-lg: 0 rfs-value(8px) rfs-value(35px) rgba($foundation-500, .16) !default;
|
10
10
|
$box-shadow-inset: 0 rfs-value(1px) rfs-value(2px) rgba($foundation-500, .1) inset !default;
|
11
11
|
|
12
|
-
$all-colors: map-merge-multiple($foundations, $
|
12
|
+
$all-colors: map-merge-multiple($foundations, $tangerines, $electrics, $sunglows, $warnings, $grays, $successs, $dangers) !default;
|
13
13
|
|
14
14
|
$utilities: map-merge(
|
15
15
|
$utilities,
|
@@ -53,3 +53,4 @@ $utilities: map-merge(
|
|
53
53
|
),
|
54
54
|
)
|
55
55
|
);
|
56
|
+
|
@@ -14,14 +14,13 @@ $font-family-base: "Wix MadeFor Display" !default;
|
|
14
14
|
$font-family-code: "Wix MadeFor Display" !default;
|
15
15
|
|
16
16
|
// Colors
|
17
|
-
$foundation: #
|
18
|
-
$
|
19
|
-
$
|
20
|
-
$
|
21
|
-
$
|
22
|
-
$
|
23
|
-
$
|
24
|
-
$red: #b42318 !default;
|
17
|
+
$foundation: #1f1f4f !default;
|
18
|
+
$tangerine: #ff6a1a !default;
|
19
|
+
$lavender: #9747fc !default;
|
20
|
+
$electric: #02f !default;
|
21
|
+
$sunglow: #fbcd18 !default;
|
22
|
+
$green: #09cc8b !default;
|
23
|
+
$red: #e4263e !default;
|
25
24
|
$gray: #c1c5cc !default;
|
26
25
|
|
27
26
|
$white: #fff !default;
|
@@ -36,6 +35,7 @@ $gray-600: shade-color($gray, 20%) !default;
|
|
36
35
|
$gray-700: shade-color($gray, 40%) !default;
|
37
36
|
$gray-800: shade-color($gray, 60%) !default;
|
38
37
|
$gray-900: shade-color($gray, 80%) !default;
|
38
|
+
$gray-950: shade-color($gray, 90%) !default;
|
39
39
|
$black: #000 !default;
|
40
40
|
|
41
41
|
$grays: (
|
@@ -49,16 +49,16 @@ $grays: (
|
|
49
49
|
"600": $gray-600,
|
50
50
|
"700": $gray-700,
|
51
51
|
"800": $gray-800,
|
52
|
-
"900": $gray-900
|
52
|
+
"900": $gray-900,
|
53
|
+
"950": $gray-950
|
53
54
|
) !default;
|
54
55
|
|
55
56
|
$colors: (
|
56
57
|
"foundation": $foundation,
|
57
|
-
"
|
58
|
-
"entryway": $entryway,
|
58
|
+
"tangerine": $tangerine,
|
59
59
|
"sunglow": $sunglow,
|
60
60
|
"green": $green,
|
61
|
-
"
|
61
|
+
"electric": $electric,
|
62
62
|
"red": $red,
|
63
63
|
"gray": $gray-600,
|
64
64
|
) !default;
|
@@ -77,44 +77,31 @@ $foundation-700: shade-color($foundation, 40%) !default;
|
|
77
77
|
$foundation-800: shade-color($foundation, 60%) !default;
|
78
78
|
$foundation-900: shade-color($foundation, 80%) !default;
|
79
79
|
|
80
|
-
$
|
81
|
-
$
|
82
|
-
$
|
83
|
-
$
|
84
|
-
$
|
85
|
-
$
|
86
|
-
$
|
87
|
-
$
|
88
|
-
$
|
89
|
-
$
|
90
|
-
$
|
91
|
-
$
|
92
|
-
|
93
|
-
$
|
94
|
-
$
|
95
|
-
$
|
96
|
-
$
|
97
|
-
$
|
98
|
-
$
|
99
|
-
$
|
100
|
-
$
|
101
|
-
$
|
102
|
-
$
|
103
|
-
$
|
104
|
-
$
|
105
|
-
|
106
|
-
$skylight-25: tint-color($skylight, 95%) !default;
|
107
|
-
$skylight-50: tint-color($skylight, 90%) !default;
|
108
|
-
$skylight-100: tint-color($skylight, 80%) !default;
|
109
|
-
$skylight-200: tint-color($skylight, 60%) !default;
|
110
|
-
$skylight-300: tint-color($skylight, 40%) !default;
|
111
|
-
$skylight-400: tint-color($skylight, 20%) !default;
|
112
|
-
$skylight-450: tint-color($skylight, 10%) !default;
|
113
|
-
$skylight-500: $skylight !default;
|
114
|
-
$skylight-600: shade-color($skylight, 20%) !default;
|
115
|
-
$skylight-700: shade-color($skylight, 40%) !default;
|
116
|
-
$skylight-800: shade-color($skylight, 60%) !default;
|
117
|
-
$skylight-900: shade-color($skylight, 80%) !default;
|
80
|
+
$tangerine-25: tint-color($tangerine, 95%) !default;
|
81
|
+
$tangerine-50: tint-color($tangerine, 90%) !default;
|
82
|
+
$tangerine-100: tint-color($tangerine, 80%) !default;
|
83
|
+
$tangerine-200: tint-color($tangerine, 60%) !default;
|
84
|
+
$tangerine-300: tint-color($tangerine, 40%) !default;
|
85
|
+
$tangerine-400: tint-color($tangerine, 20%) !default;
|
86
|
+
$tangerine-450: tint-color($tangerine, 10%) !default;
|
87
|
+
$tangerine-500: $tangerine !default;
|
88
|
+
$tangerine-600: shade-color($tangerine, 20%) !default;
|
89
|
+
$tangerine-700: shade-color($tangerine, 40%) !default;
|
90
|
+
$tangerine-800: shade-color($tangerine, 60%) !default;
|
91
|
+
$tangerine-900: shade-color($tangerine, 80%) !default;
|
92
|
+
|
93
|
+
$lavender-25: tint-color($lavender, 95%) !default;
|
94
|
+
$lavender-50: tint-color($lavender, 90%) !default;
|
95
|
+
$lavender-100: tint-color($lavender, 80%) !default;
|
96
|
+
$lavender-200: tint-color($lavender, 60%) !default;
|
97
|
+
$lavender-300: tint-color($lavender, 40%) !default;
|
98
|
+
$lavender-400: tint-color($lavender, 20%) !default;
|
99
|
+
$lavender-450: tint-color($lavender, 10%) !default;
|
100
|
+
$lavender-500: $lavender !default;
|
101
|
+
$lavender-600: shade-color($lavender, 20%) !default;
|
102
|
+
$lavender-700: shade-color($lavender, 40%) !default;
|
103
|
+
$lavender-800: shade-color($lavender, 60%) !default;
|
104
|
+
$lavender-900: shade-color($lavender, 80%) !default;
|
118
105
|
|
119
106
|
$sunglow-25: tint-color($sunglow, 95%) !default;
|
120
107
|
$sunglow-50: tint-color($sunglow, 90%) !default;
|
@@ -129,18 +116,18 @@ $sunglow-700: shade-color($sunglow, 40%) !default;
|
|
129
116
|
$sunglow-800: shade-color($sunglow, 60%) !default;
|
130
117
|
$sunglow-900: shade-color($sunglow, 80%) !default;
|
131
118
|
|
132
|
-
$
|
133
|
-
$
|
134
|
-
$
|
135
|
-
$
|
136
|
-
$
|
137
|
-
$
|
138
|
-
$
|
139
|
-
$
|
140
|
-
$
|
141
|
-
$
|
142
|
-
$
|
143
|
-
$
|
119
|
+
$electric-25: tint-color($electric, 95%) !default;
|
120
|
+
$electric-50: tint-color($electric, 90%) !default;
|
121
|
+
$electric-100: tint-color($electric, 80%) !default;
|
122
|
+
$electric-200: tint-color($electric, 60%) !default;
|
123
|
+
$electric-300: tint-color($electric, 40%) !default;
|
124
|
+
$electric-400: tint-color($electric, 20%) !default;
|
125
|
+
$electric-450: tint-color($electric, 10%) !default;
|
126
|
+
$electric-500: $electric !default;
|
127
|
+
$electric-600: shade-color($electric, 20%) !default;
|
128
|
+
$electric-700: shade-color($electric, 40%) !default;
|
129
|
+
$electric-800: shade-color($electric, 60%) !default;
|
130
|
+
$electric-900: shade-color($electric, 80%) !default;
|
144
131
|
|
145
132
|
$success-25: tint-color($green, 95%) !default;
|
146
133
|
$success-50: tint-color($green, 90%) !default;
|
@@ -183,49 +170,34 @@ $foundations: (
|
|
183
170
|
"foundation-900": $foundation-900
|
184
171
|
) !default;
|
185
172
|
|
186
|
-
$
|
187
|
-
"
|
188
|
-
"
|
189
|
-
"
|
190
|
-
"
|
191
|
-
"
|
192
|
-
"
|
193
|
-
"
|
194
|
-
"
|
195
|
-
"
|
196
|
-
"
|
197
|
-
"
|
198
|
-
"
|
173
|
+
$tangerines: (
|
174
|
+
"tangerine-25": $tangerine-25,
|
175
|
+
"tangerine-50": $tangerine-50,
|
176
|
+
"tangerine-100": $tangerine-100,
|
177
|
+
"tangerine-200": $tangerine-200,
|
178
|
+
"tangerine-300": $tangerine-300,
|
179
|
+
"tangerine-400": $tangerine-400,
|
180
|
+
"tangerine-450": $tangerine-450,
|
181
|
+
"tangerine-500": $tangerine-500,
|
182
|
+
"tangerine-600": $tangerine-600,
|
183
|
+
"tangerine-700": $tangerine-700,
|
184
|
+
"tangerine-800": $tangerine-800,
|
185
|
+
"tangerine-900": $tangerine-900
|
199
186
|
) !default;
|
200
187
|
|
201
|
-
$
|
202
|
-
"
|
203
|
-
"
|
204
|
-
"
|
205
|
-
"
|
206
|
-
"
|
207
|
-
"
|
208
|
-
"
|
209
|
-
"
|
210
|
-
"
|
211
|
-
"
|
212
|
-
"
|
213
|
-
"
|
214
|
-
) !default;
|
215
|
-
|
216
|
-
$skylights: (
|
217
|
-
"skylight-25": $skylight-25,
|
218
|
-
"skylight-50": $skylight-50,
|
219
|
-
"skylight-100": $skylight-100,
|
220
|
-
"skylight-200": $skylight-200,
|
221
|
-
"skylight-300": $skylight-300,
|
222
|
-
"skylight-400": $skylight-400,
|
223
|
-
"skylight-450": $skylight-450,
|
224
|
-
"skylight-500": $skylight-500,
|
225
|
-
"skylight-600": $skylight-600,
|
226
|
-
"skylight-700": $skylight-700,
|
227
|
-
"skylight-800": $skylight-800,
|
228
|
-
"skylight-900": $skylight-900
|
188
|
+
$lavenders: (
|
189
|
+
"lavender-25": $lavender-25,
|
190
|
+
"lavender-50": $lavender-50,
|
191
|
+
"lavender-100": $lavender-100,
|
192
|
+
"lavender-200": $lavender-200,
|
193
|
+
"lavender-300": $lavender-300,
|
194
|
+
"lavender-400": $lavender-400,
|
195
|
+
"lavender-450": $lavender-450,
|
196
|
+
"lavender-500": $lavender-500,
|
197
|
+
"lavender-600": $lavender-600,
|
198
|
+
"lavender-700": $lavender-700,
|
199
|
+
"lavender-800": $lavender-800,
|
200
|
+
"lavender-900": $lavender-900
|
229
201
|
) !default;
|
230
202
|
|
231
203
|
$sunglows: (
|
@@ -244,33 +216,33 @@ $sunglows: (
|
|
244
216
|
) !default;
|
245
217
|
|
246
218
|
$warnings: (
|
247
|
-
"warning-25": $
|
248
|
-
"warning-50": $
|
249
|
-
"warning-100": $
|
250
|
-
"warning-200": $
|
251
|
-
"warning-300": $
|
252
|
-
"warning-400": $
|
253
|
-
"warning-450": $
|
254
|
-
"warning-500": $
|
255
|
-
"warning-600": $
|
256
|
-
"warning-700": $
|
257
|
-
"warning-800": $
|
258
|
-
"warning-900": $
|
219
|
+
"warning-25": $tangerine-25,
|
220
|
+
"warning-50": $tangerine-50,
|
221
|
+
"warning-100": $tangerine-100,
|
222
|
+
"warning-200": $tangerine-200,
|
223
|
+
"warning-300": $tangerine-300,
|
224
|
+
"warning-400": $tangerine-400,
|
225
|
+
"warning-450": $tangerine-450,
|
226
|
+
"warning-500": $tangerine-500,
|
227
|
+
"warning-600": $tangerine-600,
|
228
|
+
"warning-700": $tangerine-700,
|
229
|
+
"warning-800": $tangerine-800,
|
230
|
+
"warning-900": $tangerine-900
|
259
231
|
) !default;
|
260
232
|
|
261
|
-
$
|
262
|
-
"
|
263
|
-
"
|
264
|
-
"
|
265
|
-
"
|
266
|
-
"
|
267
|
-
"
|
268
|
-
"
|
269
|
-
"
|
270
|
-
"
|
271
|
-
"
|
272
|
-
"
|
273
|
-
"
|
233
|
+
$electrics: (
|
234
|
+
"electric-25": $electric-25,
|
235
|
+
"electric-50": $electric-50,
|
236
|
+
"electric-100": $electric-100,
|
237
|
+
"electric-200": $electric-200,
|
238
|
+
"electric-300": $electric-300,
|
239
|
+
"electric-400": $electric-400,
|
240
|
+
"electric-450": $electric-450,
|
241
|
+
"electric-500": $electric-500,
|
242
|
+
"electric-600": $electric-600,
|
243
|
+
"electric-700": $electric-700,
|
244
|
+
"electric-800": $electric-800,
|
245
|
+
"electric-900": $electric-900
|
274
246
|
) !default;
|
275
247
|
|
276
248
|
$dangers: (
|
@@ -303,12 +275,11 @@ $successs: (
|
|
303
275
|
"success-900": $success-900
|
304
276
|
) !default;
|
305
277
|
|
306
|
-
$primary: $
|
307
|
-
$secondary: $
|
308
|
-
$tertiary: $skylight !default;
|
278
|
+
$primary: $foundation !default;
|
279
|
+
$secondary: $sunglow !default;
|
309
280
|
$success: $green !default;
|
310
|
-
$action: $
|
311
|
-
$warning: $
|
281
|
+
$action: $electric !default;
|
282
|
+
$warning: $tangerine !default;
|
312
283
|
$danger: $red !default;
|
313
284
|
$light: $white !default;
|
314
285
|
$dark: $gray-900 !default;
|
@@ -316,7 +287,6 @@ $dark: $gray-900 !default;
|
|
316
287
|
$theme-colors: (
|
317
288
|
"primary": $primary,
|
318
289
|
"secondary": $secondary,
|
319
|
-
"tertiary": $tertiary,
|
320
290
|
"success": $success,
|
321
291
|
"action": $action,
|
322
292
|
"warning": $warning,
|
@@ -326,23 +296,21 @@ $theme-colors: (
|
|
326
296
|
) !default;
|
327
297
|
|
328
298
|
// scss-docs-start theme-text-variables
|
329
|
-
$tertiary-text-emphasis: shade-color($tertiary, 60%) !default;
|
330
299
|
$action-text-emphasis: shade-color($action, 60%) !default;
|
331
300
|
// scss-docs-end theme-text-variables
|
332
301
|
|
333
302
|
// scss-docs-start theme-bg-subtle-variables
|
334
|
-
$tertiary-bg-subtle: tint-color($tertiary, 0%) !default;
|
335
303
|
$action-bg-subtle: tint-color($action, 80%) !default;
|
336
304
|
// scss-docs-end theme-bg-subtle-variables
|
337
305
|
|
338
306
|
// scss-docs-start theme-border-subtle-variables
|
339
|
-
$tertiary-border-subtle: tint-color($tertiary, 60%) !default;
|
340
307
|
$action-border-subtle: tint-color($action, 60%) !default;
|
341
308
|
// scss-docs-end theme-border-subtle-variables
|
342
309
|
|
343
310
|
|
344
311
|
// Body
|
345
|
-
$body-color: $gray-
|
312
|
+
$body-color: $gray-950 !default;
|
313
|
+
$headings-color: $gray-900 !default;
|
346
314
|
|
347
315
|
// Grid breakpoints
|
348
316
|
$grid-breakpoints: (
|
@@ -394,7 +362,6 @@ $table-bg-scale: -80% !default;
|
|
394
362
|
$table-variants: (
|
395
363
|
"primary": shift-color($primary, $table-bg-scale),
|
396
364
|
"secondary": shift-color($secondary, $table-bg-scale),
|
397
|
-
"tertiary": shift-color($tertiary, $table-bg-scale),
|
398
365
|
"action": shift-color($action, $table-bg-scale),
|
399
366
|
"success": shift-color($success, $table-bg-scale),
|
400
367
|
"warning": shift-color($warning, $table-bg-scale),
|
@@ -407,8 +374,13 @@ $table-variants: (
|
|
407
374
|
$border-width: 2px !default;
|
408
375
|
$border-color: $gray-400 !default;
|
409
376
|
|
377
|
+
$component-active-bg: $action !default;
|
378
|
+
$focus-ring-opacity: .25 !default;
|
379
|
+
$focus-ring-color: rgba($action, $focus-ring-opacity) !default;
|
380
|
+
|
410
381
|
// Buttons + Forms
|
411
382
|
$input-btn-border-width: .125rem !default;
|
383
|
+
$input-focus-border-color: $component-active-bg !default;
|
412
384
|
|
413
385
|
// Buttons
|
414
386
|
$btn-hover-bg-shade-amount: 20% !default;
|
@@ -431,7 +403,7 @@ $blockquote-font-size: $font-size-base * 3.5 !default;
|
|
431
403
|
|
432
404
|
// Accordion
|
433
405
|
$accordion-border-radius: var(--#{$prefix}border-radius-sm) !default;
|
434
|
-
$accordion-button-active-bg: var(--#{$prefix}
|
406
|
+
$accordion-button-active-bg: var(--#{$prefix}action) !default;
|
435
407
|
$accordion-button-active-color: var(--#{$prefix}light) !default;
|
436
408
|
$accordion-icon-color: $body-color !default;
|
437
409
|
$accordion-icon-active-color: $light !default;
|
@@ -444,15 +416,15 @@ $badge-font-size: .9375em !default;
|
|
444
416
|
$badge-border-radius: var(--#{$prefix}border-radius-pill) !default;
|
445
417
|
|
446
418
|
// Modal
|
447
|
-
$modal-backdrop-bg: $
|
448
|
-
$modal-backdrop-opacity: .
|
419
|
+
$modal-backdrop-bg: $action !default;
|
420
|
+
$modal-backdrop-opacity: .3 !default;
|
449
421
|
|
450
422
|
// Carousel
|
451
|
-
$carousel-control-color: $
|
423
|
+
$carousel-control-color: $action !default;
|
452
424
|
$carousel-control-icon-width: .75rem !default;
|
453
425
|
$carousel-indicator-width: 6px !default;
|
454
426
|
$carousel-indicator-height: 6px !default;
|
455
|
-
$carousel-indicator-active-bg: $
|
427
|
+
$carousel-indicator-active-bg: $action !default;
|
456
428
|
$carousel-control-prev-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='#{$carousel-control-color}'><path d='M0.251787 5.38204C-0.083034 5.72383 -0.083034 6.27891 0.251787 6.62071L4.5375 10.9957C4.87232 11.3375 5.41607 11.3375 5.75089 10.9957C6.08572 10.6539 6.08572 10.0988 5.75089 9.75704L2.925 6.87501H11.1429C11.617 6.87501 12 6.48399 12 6.00001C12 5.51602 11.617 5.12501 11.1429 5.12501H2.92768L5.74822 2.24297C6.08304 1.90118 6.08304 1.3461 5.74822 1.0043C5.41339 0.662506 4.86964 0.662506 4.53482 1.0043L0.249109 5.3793L0.251787 5.38204Z'/></svg>") !default;
|
457
429
|
$carousel-control-next-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='#{$carousel-control-color}'><path d='M11.7482 5.87002C12.083 5.52822 12.083 4.97314 11.7482 4.63135L7.4625 0.256348C7.12768 -0.0854492 6.58393 -0.0854492 6.24911 0.256348C5.91429 0.598145 5.91429 1.15322 6.24911 1.49502L9.075 4.37705H0.857143C0.383036 4.37705 0 4.76807 0 5.25205C0 5.73604 0.383036 6.12705 0.857143 6.12705H9.07232L6.25179 9.00908C5.91696 9.35088 5.91696 9.90596 6.25179 10.2478C6.58661 10.5896 7.13036 10.5896 7.46518 10.2478L11.7509 5.87275L11.7482 5.87002Z'/></svg>") !default;
|
458
430
|
|
@@ -466,8 +438,6 @@ $progress-border-radius: var(--#{$prefix}border-radius-xs) !default;
|
|
466
438
|
// Inputs
|
467
439
|
$input-border-color: $gray-600 !default;
|
468
440
|
$input-placeholder-color: $gray-600 !default;
|
469
|
-
$input-focus-border-color: $tertiary !default;
|
470
|
-
$input-focus-box-shadow: 0 0 0 .25rem rgba($tertiary, .75) !default;
|
471
441
|
$input-border-radius: var(--#{$prefix}border-radius-xs) !default;
|
472
442
|
$input-border-radius-sm: var(--#{$prefix}border-radius-xs) !default;
|
473
443
|
$input-border-radius-lg: var(--#{$prefix}border-radius-sm) !default;
|
@@ -35,10 +35,15 @@ $badge-dot-size: 1rem !default;
|
|
35
35
|
// scss-docs-start modal-variables
|
36
36
|
$zindex-media-modal-close: 1060 !default;
|
37
37
|
$btn-close-media-bg-color: $white !default;
|
38
|
-
$btn-close-media-top-color: $
|
38
|
+
$btn-close-media-top-color: $action !default;
|
39
39
|
$btn-close-media-stroke-width: rfs-value(1px) !default;
|
40
40
|
$btn-close-media-stroke-color: $gray-400 !default;
|
41
|
-
$btn-close-media-bg
|
41
|
+
$btn-close-media-bg-color-hover: $action !default;
|
42
|
+
$btn-close-media-top-color-hover: $sunglow !default;
|
43
|
+
$btn-close-media-stroke-color-hover: $action !default;
|
44
|
+
$btn-close-media-bg: url("data:image/svg+xml, <svg viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'><path fill='#{$btn-close-media-stroke-color}' d='M20 1.25C22.4623 1.25 24.9005 1.73498 27.1753 2.67726C29.4502 3.61953 31.5172 5.00065 33.2583 6.74175C34.9994 8.48285 36.3805 10.5498 37.3227 12.8247C38.265 15.0995 38.75 17.5377 38.75 20C38.75 22.4623 38.265 24.9005 37.3227 27.1753C36.3805 29.4502 34.9994 31.5172 33.2583 33.2583C31.5172 34.9994 29.4502 36.3805 27.1753 37.3227C24.9005 38.265 22.4623 38.75 20 38.75C17.5377 38.75 15.0995 38.265 12.8247 37.3227C10.5498 36.3805 8.48285 34.9994 6.74175 33.2583C5.00065 31.5172 3.61953 29.4502 2.67726 27.1753C1.73498 24.9005 1.25 22.4623 1.25 20C1.25 17.5377 1.73498 15.0995 2.67726 12.8247C3.61953 10.5498 5.00065 8.48285 6.74175 6.74175C8.48285 5.00065 10.5498 3.61953 12.8247 2.67726C15.0995 1.73498 17.5377 1.25 20 1.25ZM20 40C25.3043 40 30.3914 37.8929 34.1421 34.1421C37.8929 30.3914 40 25.3043 40 20C40 14.6957 37.8929 9.60859 34.1421 5.85786C30.3914 2.10714 25.3043 0 20 0C14.6957 0 9.60859 2.10714 5.85786 5.85786C2.10714 9.60859 0 14.6957 0 20C0 25.3043 2.10714 30.3914 5.85786 34.1421C9.60859 37.8929 14.6957 40 20 40Z'/><path fill='#{$btn-close-media-bg-color}' d='M1.25 20C1.25 22.4623 1.73498 24.9005 2.67726 27.1753C3.61953 29.4502 5.00065 31.5172 6.74175 33.2583C8.48285 34.9994 10.5498 36.3805 12.8247 37.3227C15.0995 38.265 17.5377 38.75 20 38.75C22.4623 38.75 24.9005 38.265 27.1753 37.3227C29.4502 36.3805 31.5172 34.9994 33.2583 33.2583C34.9994 31.5172 36.3805 29.4502 37.3227 27.1753C38.265 24.9005 38.75 22.4623 38.75 20C38.75 17.5377 38.265 15.0995 37.3227 12.8247C36.3805 10.5498 34.9994 8.48285 33.2583 6.74175C31.5172 5.00065 29.4502 3.61953 27.1753 2.67726C24.9005 1.73498 22.4623 1.25 20 1.25C17.5377 1.25 15.0995 1.73498 12.8247 2.67726C10.5498 3.61953 8.48285 5.00065 6.74175 6.74175C5.00065 8.48285 3.61953 10.5498 2.67726 12.8247C1.73498 15.0995 1.25 17.5377 1.25 20ZM13.9297 13.9297C14.1719 13.6875 14.5703 13.6875 14.8125 13.9297L20 19.1172L25.1797 13.9375C25.4219 13.6953 25.8203 13.6953 26.0625 13.9375C26.3047 14.1797 26.3047 14.5781 26.0625 14.8203L20.8828 20L26.0625 25.1797C26.3047 25.4219 26.3047 25.8203 26.0625 26.0625C25.8203 26.3047 25.4219 26.3047 25.1797 26.0625L20 20.8828L14.8203 26.0625C14.5781 26.3047 14.1797 26.3047 13.9375 26.0625C13.6953 25.8203 13.6953 25.4219 13.9375 25.1797L19.1172 20L13.9375 14.8203C13.6953 14.5781 13.6953 14.1797 13.9375 13.9375L13.9297 13.9297Z'/><path fill='#{$btn-close-media-top-color}' d='M13.9297 14.8125C13.6875 14.5703 13.6875 14.1719 13.9297 13.9297L13.9375 13.9375C14.1797 13.6953 14.5781 13.6953 14.8203 13.9375L20 19.1172L25.1797 13.9375C25.4219 13.6953 25.8203 13.6953 26.0625 13.9375C26.3047 14.1797 26.3047 14.5781 26.0625 14.8203L20.8828 20L26.0625 25.1797C26.3047 25.4219 26.3047 25.8203 26.0625 26.0625C25.8203 26.3047 25.4219 26.3047 25.1797 26.0625L20 20.8828L14.8203 26.0625C14.5781 26.3047 14.1797 26.3047 13.9375 26.0625C13.6953 25.8203 13.6953 25.4219 13.9375 25.1797L19.1172 20L13.9297 14.8125Z'/></svg>") !default;
|
45
|
+
$btn-close-media-bg-hover: url("data:image/svg+xml, <svg viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'><path fill='#{$btn-close-media-stroke-color-hover}' d='M20 1.25C22.4623 1.25 24.9005 1.73498 27.1753 2.67726C29.4502 3.61953 31.5172 5.00065 33.2583 6.74175C34.9994 8.48285 36.3805 10.5498 37.3227 12.8247C38.265 15.0995 38.75 17.5377 38.75 20C38.75 22.4623 38.265 24.9005 37.3227 27.1753C36.3805 29.4502 34.9994 31.5172 33.2583 33.2583C31.5172 34.9994 29.4502 36.3805 27.1753 37.3227C24.9005 38.265 22.4623 38.75 20 38.75C17.5377 38.75 15.0995 38.265 12.8247 37.3227C10.5498 36.3805 8.48285 34.9994 6.74175 33.2583C5.00065 31.5172 3.61953 29.4502 2.67726 27.1753C1.73498 24.9005 1.25 22.4623 1.25 20C1.25 17.5377 1.73498 15.0995 2.67726 12.8247C3.61953 10.5498 5.00065 8.48285 6.74175 6.74175C8.48285 5.00065 10.5498 3.61953 12.8247 2.67726C15.0995 1.73498 17.5377 1.25 20 1.25ZM20 40C25.3043 40 30.3914 37.8929 34.1421 34.1421C37.8929 30.3914 40 25.3043 40 20C40 14.6957 37.8929 9.60859 34.1421 5.85786C30.3914 2.10714 25.3043 0 20 0C14.6957 0 9.60859 2.10714 5.85786 5.85786C2.10714 9.60859 0 14.6957 0 20C0 25.3043 2.10714 30.3914 5.85786 34.1421C9.60859 37.8929 14.6957 40 20 40Z'/><path fill='#{$btn-close-media-bg-color-hover}' d='M1.25 20C1.25 22.4623 1.73498 24.9005 2.67726 27.1753C3.61953 29.4502 5.00065 31.5172 6.74175 33.2583C8.48285 34.9994 10.5498 36.3805 12.8247 37.3227C15.0995 38.265 17.5377 38.75 20 38.75C22.4623 38.75 24.9005 38.265 27.1753 37.3227C29.4502 36.3805 31.5172 34.9994 33.2583 33.2583C34.9994 31.5172 36.3805 29.4502 37.3227 27.1753C38.265 24.9005 38.75 22.4623 38.75 20C38.75 17.5377 38.265 15.0995 37.3227 12.8247C36.3805 10.5498 34.9994 8.48285 33.2583 6.74175C31.5172 5.00065 29.4502 3.61953 27.1753 2.67726C24.9005 1.73498 22.4623 1.25 20 1.25C17.5377 1.25 15.0995 1.73498 12.8247 2.67726C10.5498 3.61953 8.48285 5.00065 6.74175 6.74175C5.00065 8.48285 3.61953 10.5498 2.67726 12.8247C1.73498 15.0995 1.25 17.5377 1.25 20ZM13.9297 13.9297C14.1719 13.6875 14.5703 13.6875 14.8125 13.9297L20 19.1172L25.1797 13.9375C25.4219 13.6953 25.8203 13.6953 26.0625 13.9375C26.3047 14.1797 26.3047 14.5781 26.0625 14.8203L20.8828 20L26.0625 25.1797C26.3047 25.4219 26.3047 25.8203 26.0625 26.0625C25.8203 26.3047 25.4219 26.3047 25.1797 26.0625L20 20.8828L14.8203 26.0625C14.5781 26.3047 14.1797 26.3047 13.9375 26.0625C13.6953 25.8203 13.6953 25.4219 13.9375 25.1797L19.1172 20L13.9375 14.8203C13.6953 14.5781 13.6953 14.1797 13.9375 13.9375L13.9297 13.9297Z'/><path fill='#{$btn-close-media-top-color-hover}' d='M13.9297 14.8125C13.6875 14.5703 13.6875 14.1719 13.9297 13.9297L13.9375 13.9375C14.1797 13.6953 14.5781 13.6953 14.8203 13.9375L20 19.1172L25.1797 13.9375C25.4219 13.6953 25.8203 13.6953 26.0625 13.9375C26.3047 14.1797 26.3047 14.5781 26.0625 14.8203L20.8828 20L26.0625 25.1797C26.3047 25.4219 26.3047 25.8203 26.0625 26.0625C25.8203 26.3047 25.4219 26.3047 25.1797 26.0625L20 20.8828L14.8203 26.0625C14.5781 26.3047 14.1797 26.3047 13.9375 26.0625C13.6953 25.8203 13.6953 25.4219 13.9375 25.1797L19.1172 20L13.9297 14.8125Z'/></svg>") !default;
|
42
46
|
$btn-close-media-width: rfs-value(35px) !default;
|
43
47
|
$btn-close-media-height: $btn-close-media-width !default;
|
44
48
|
// scss-docs-end modal-variables
|
49
|
+
|