@beacon-interactive-systems-llc/beacon-platform-ui 17.9.2 → 17.9.3
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/package.json +1 -1
- package/styles/_buttons.scss +23 -0
package/package.json
CHANGED
package/styles/_buttons.scss
CHANGED
|
@@ -24,6 +24,9 @@ $platform_button_contrasts: (
|
|
|
24
24
|
buttonAmbientText: $beacon-gray-600,
|
|
25
25
|
buttonAmbientBorder: $beacon-gray-400,
|
|
26
26
|
|
|
27
|
+
buttonRadio: $beacon-orange-400,
|
|
28
|
+
buttonRadioText: $beacon-white,
|
|
29
|
+
|
|
27
30
|
buttonDisabled: $beacon-gray-300,
|
|
28
31
|
buttonShadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.16),
|
|
29
32
|
buttonBorder: $beacon-gray-border
|
|
@@ -53,6 +56,9 @@ $platform_button_contrasts: (
|
|
|
53
56
|
buttonAmbientText: $beacon-gray-300,
|
|
54
57
|
buttonAmbientBorder: $beacon-gray-300,
|
|
55
58
|
|
|
59
|
+
buttonRadio: $beacon-orange-650,
|
|
60
|
+
buttonRadioText: $beacon-gray-300,
|
|
61
|
+
|
|
56
62
|
buttonDisabled: $beacon-gray-500,
|
|
57
63
|
buttonShadow: none,
|
|
58
64
|
buttonBorder: $beacon-gray-border
|
|
@@ -82,6 +88,9 @@ $platform_button_contrasts: (
|
|
|
82
88
|
buttonAmbientText: $beacon-white,
|
|
83
89
|
buttonAmbientBorder: $beacon-white,
|
|
84
90
|
|
|
91
|
+
buttonRadio: $highcontrast-bright-orange-100,
|
|
92
|
+
buttonRadioText: $beacon-white,
|
|
93
|
+
|
|
85
94
|
buttonDisabled: $beacon-gray-500,
|
|
86
95
|
buttonShadow: none,
|
|
87
96
|
buttonBorder: $beacon-gray-border
|
|
@@ -214,6 +223,20 @@ button.platform-btn {
|
|
|
214
223
|
}
|
|
215
224
|
}
|
|
216
225
|
|
|
226
|
+
&--radio {
|
|
227
|
+
@include themify($platform_button_contrasts) {
|
|
228
|
+
background: apply('buttonAmbient');
|
|
229
|
+
color: apply('buttonAmbientText');
|
|
230
|
+
border: 1px solid apply('buttonAmbientBorder');
|
|
231
|
+
|
|
232
|
+
&.selected {
|
|
233
|
+
background: apply('buttonRadio');
|
|
234
|
+
color: apply('buttonRadioText');
|
|
235
|
+
border: none
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
|
|
217
240
|
&:disabled {
|
|
218
241
|
@include themify($platform_button_contrasts) {
|
|
219
242
|
background: apply('buttonDisabled');
|