@stackoverflow/stacks 2.5.4 → 2.5.5

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.
Files changed (101) hide show
  1. package/LICENSE.MD +9 -9
  2. package/README.md +180 -180
  3. package/dist/css/stacks.css +102 -122
  4. package/dist/css/stacks.min.css +1 -1
  5. package/lib/atomic/border.less +139 -139
  6. package/lib/atomic/color.less +36 -36
  7. package/lib/atomic/flex.less +426 -426
  8. package/lib/atomic/gap.less +44 -44
  9. package/lib/atomic/grid.less +139 -139
  10. package/lib/atomic/misc.less +374 -374
  11. package/lib/atomic/spacing.less +98 -98
  12. package/lib/atomic/typography.less +264 -264
  13. package/lib/atomic/width-height.less +194 -194
  14. package/lib/base/body.less +44 -44
  15. package/lib/base/configuration-static.less +61 -61
  16. package/lib/base/fieldset.less +5 -5
  17. package/lib/base/icon.less +11 -11
  18. package/lib/base/internal.less +220 -220
  19. package/lib/base/reset-meyer.less +64 -64
  20. package/lib/base/reset-normalize.less +449 -449
  21. package/lib/base/reset.less +20 -20
  22. package/lib/components/activity-indicator/activity-indicator.less +53 -53
  23. package/lib/components/anchor/anchor.less +78 -68
  24. package/lib/components/avatar/avatar.less +108 -108
  25. package/lib/components/award-bling/award-bling.less +31 -31
  26. package/lib/components/badge/badge.less +258 -258
  27. package/lib/components/banner/banner.less +44 -44
  28. package/lib/components/banner/banner.ts +149 -149
  29. package/lib/components/block-link/block-link.less +82 -82
  30. package/lib/components/breadcrumbs/breadcrumbs.less +41 -41
  31. package/lib/components/button/button.less +473 -473
  32. package/lib/components/button-group/button-group.less +82 -82
  33. package/lib/components/card/card.less +37 -37
  34. package/lib/components/check-control/check-control.less +17 -17
  35. package/lib/components/check-group/check-group.less +19 -19
  36. package/lib/components/checkbox_radio/checkbox_radio.less +159 -159
  37. package/lib/components/code-block/code-block.fixtures.ts +88 -88
  38. package/lib/components/code-block/code-block.less +116 -116
  39. package/lib/components/description/description.less +9 -9
  40. package/lib/components/empty-state/empty-state.less +16 -16
  41. package/lib/components/expandable/expandable.less +118 -118
  42. package/lib/components/expandable/expandable.ts +238 -238
  43. package/lib/components/input-fill/input-fill.less +35 -35
  44. package/lib/components/input-icon/input-icon.less +45 -45
  45. package/lib/components/input-message/input-message.less +49 -49
  46. package/lib/components/input_textarea/input_textarea.less +150 -150
  47. package/lib/components/label/label.less +110 -110
  48. package/lib/components/link/link.less +135 -120
  49. package/lib/components/link-preview/link-preview.less +148 -148
  50. package/lib/components/menu/menu.less +41 -41
  51. package/lib/components/modal/modal.less +118 -118
  52. package/lib/components/modal/modal.ts +383 -383
  53. package/lib/components/navigation/navigation.less +136 -136
  54. package/lib/components/navigation/navigation.ts +128 -128
  55. package/lib/components/notice/notice.less +195 -195
  56. package/lib/components/page-title/page-title.less +51 -51
  57. package/lib/components/pagination/pagination.less +65 -65
  58. package/lib/components/popover/popover.less +159 -159
  59. package/lib/components/popover/popover.ts +651 -651
  60. package/lib/components/popover/tooltip.ts +343 -343
  61. package/lib/components/post-summary/post-summary.less +457 -447
  62. package/lib/components/progress-bar/progress-bar.less +291 -291
  63. package/lib/components/prose/prose.less +452 -452
  64. package/lib/components/select/select.less +138 -138
  65. package/lib/components/sidebar-widget/sidebar-widget.less +257 -257
  66. package/lib/components/spinner/spinner.less +103 -103
  67. package/lib/components/table/table.less +307 -307
  68. package/lib/components/table/table.ts +296 -296
  69. package/lib/components/table-container/table-container.less +4 -4
  70. package/lib/components/tag/tag.less +186 -186
  71. package/lib/components/toast/toast.less +35 -35
  72. package/lib/components/toast/toast.ts +357 -357
  73. package/lib/components/toggle-switch/toggle-switch.less +104 -104
  74. package/lib/components/topbar/topbar.less +553 -553
  75. package/lib/components/uploader/uploader.less +205 -205
  76. package/lib/components/uploader/uploader.ts +207 -207
  77. package/lib/components/user-card/user-card.less +129 -129
  78. package/lib/controllers.ts +33 -33
  79. package/lib/exports/color-mixins.less +283 -283
  80. package/lib/exports/color-sets.less +711 -711
  81. package/lib/exports/color.less +65 -65
  82. package/lib/exports/constants-helpers.less +108 -108
  83. package/lib/exports/constants-type.less +155 -155
  84. package/lib/exports/exports.less +15 -15
  85. package/lib/exports/mixins.less +333 -333
  86. package/lib/exports/spacing-mixins.less +67 -67
  87. package/lib/index.ts +32 -32
  88. package/lib/input-utils.less +41 -41
  89. package/lib/stacks-dynamic.less +24 -24
  90. package/lib/stacks-static.less +93 -93
  91. package/lib/stacks.less +13 -13
  92. package/lib/stacks.ts +113 -113
  93. package/lib/test/a11y-test-utils.ts +94 -94
  94. package/lib/test/assertions.ts +36 -36
  95. package/lib/test/less-test-utils.ts +28 -28
  96. package/lib/test/open-wc-testing-patch.d.ts +26 -26
  97. package/lib/test/test-utils.ts +364 -364
  98. package/lib/test/visual-test-utils.ts +58 -58
  99. package/lib/tsconfig.build.json +4 -4
  100. package/lib/tsconfig.json +17 -17
  101. package/package.json +115 -115
@@ -1,49 +1,49 @@
1
- .s-input-message {
2
- --_im-fc: unset;
3
- --_im-a-fc: unset;
4
- --_im-a-fc-hover: unset;
5
-
6
- .input-states({
7
- a {
8
- text-decoration: underline;
9
- }
10
- });
11
-
12
- fieldset[disabled] & {
13
- cursor: not-allowed;
14
- opacity: var(--_o-disabled-static);
15
- }
16
-
17
- // MODIFIERS
18
- .has-error & {
19
- --_im-fc: var(--red-400);
20
- --_im-a-fc: var(--red-600);
21
- --_im-a-fc-hover: var(--red-500);
22
- }
23
-
24
- .has-success & {
25
- --_im-fc: var(--green-400);
26
- --_im-a-fc: var(--green-600);
27
- --_im-a-fc-hover: var(--green-500);
28
- }
29
-
30
- .has-warning & {
31
- --_im-fc: var(--yellow-500);
32
- --_im-a-fc: var(--yellow-600);
33
- --_im-a-fc-hover: var(--yellow-500);
34
- }
35
-
36
- // CHILD ELEMENTS
37
- a {
38
- &:hover {
39
- color: var(--_im-a-fc-hover);
40
- }
41
-
42
- color: var(--_im-a-fc);
43
- }
44
-
45
- color: var(--_im-fc);
46
-
47
- font-size: var(--fs-caption);
48
- padding: var(--su2);
49
- }
1
+ .s-input-message {
2
+ --_im-fc: unset;
3
+ --_im-a-fc: unset;
4
+ --_im-a-fc-hover: unset;
5
+
6
+ .input-states({
7
+ a {
8
+ text-decoration: underline;
9
+ }
10
+ });
11
+
12
+ fieldset[disabled] & {
13
+ cursor: not-allowed;
14
+ opacity: var(--_o-disabled-static);
15
+ }
16
+
17
+ // MODIFIERS
18
+ .has-error & {
19
+ --_im-fc: var(--red-400);
20
+ --_im-a-fc: var(--red-600);
21
+ --_im-a-fc-hover: var(--red-500);
22
+ }
23
+
24
+ .has-success & {
25
+ --_im-fc: var(--green-400);
26
+ --_im-a-fc: var(--green-600);
27
+ --_im-a-fc-hover: var(--green-500);
28
+ }
29
+
30
+ .has-warning & {
31
+ --_im-fc: var(--yellow-500);
32
+ --_im-a-fc: var(--yellow-600);
33
+ --_im-a-fc-hover: var(--yellow-500);
34
+ }
35
+
36
+ // CHILD ELEMENTS
37
+ a {
38
+ &:hover {
39
+ color: var(--_im-a-fc-hover) !important;
40
+ }
41
+
42
+ color: var(--_im-a-fc) !important;
43
+ }
44
+
45
+ color: var(--_im-fc);
46
+
47
+ font-size: var(--fs-caption);
48
+ padding: var(--su2);
49
+ }
@@ -1,150 +1,150 @@
1
- .s-input,
2
- .s-textarea {
3
- --_in-bc: var(--bc-darker);
4
- --_in-bg: var(--white);
5
- --_in-br: var(--br-md);
6
- --_in-c: unset;
7
- --_in-fc: var(--fc-dark);
8
- --_in-fs: var(--fs-body1);
9
- --_in-o: unset;
10
- --_in-px: 0.7em;
11
- --_in-py: 0.6em;
12
- --_in-placeholder-fc: var(--black-300);
13
-
14
- // CONTEXTUAL STYLES
15
- @supports (-webkit-overflow-scrolling: touch) {
16
- --_in-fs: var(--su-static16); // 16px — Increase font size for mobile safari. This keeps our inputs from zooming the page while focused.
17
- --_in-px: 0.55em;
18
- --_in-py: 0.36em;
19
-
20
- &::-webkit-input-placeholder {
21
- line-height: normal !important;
22
- }
23
- }
24
-
25
- .highcontrast-mode({
26
- --_in-bc: var(--black);
27
- --_in-placeholder-fc: var(--black-400);
28
- });
29
-
30
- // MODIFIERS
31
- fieldset[disabled] &,
32
- &[disabled],
33
- &[readonly],
34
- .is-readonly & {
35
- --_in-c: not-allowed;
36
- }
37
-
38
- fieldset[disabled] &,
39
- &[disabled] {
40
- --_in-o: var(--_o-disabled-static);
41
- }
42
-
43
- &[readonly],
44
- .is-readonly & {
45
- .highcontrast-mode({
46
- --_in-fc: var(--fc-light);
47
- });
48
-
49
- --_in-bg: var(--black-150);
50
- --_in-bc: var(--bc-light);
51
- --_in-fc: var(--black-300);
52
- }
53
-
54
- .validation-states(
55
- in,
56
- { .highcontrast-mode({ --_in-bc: var(--red-400); }); },
57
- { .highcontrast-mode({ --_in-bc: var(--green-400); }); },
58
- { .highcontrast-mode({ --_in-bc: var(--yellow-500); }); }
59
- );
60
-
61
- // Sizes
62
- &&__sm {
63
- .size-styles(sm; in; @styles: fs);
64
- }
65
-
66
- &&__md {
67
- @supports (-webkit-overflow-scrolling: touch) {
68
- --_in-fs: calc(var(--su-static16) + var(--su-static1)); // 17px
69
- --_in-py: 0.4em;
70
- }
71
-
72
- .size-styles(md; in; @styles: br, fs);
73
- }
74
-
75
- &&__lg {
76
- .size-styles(lg; in; @styles: br, fs);
77
- --_in-px: 0.6em;
78
- --_in-py: 0.45em;
79
- }
80
-
81
- &&__xl {
82
- .size-styles(xl; in; @styles: br, fs);
83
- --_in-px: 0.5em;
84
- --_in-py: 0.4em;
85
- }
86
-
87
- // CHILD ELEMENTS
88
- .webkit-autofill();
89
-
90
- &::placeholder,
91
- &::-webkit-input-placeholder {
92
- color: var(--_in-placeholder-fc);
93
- }
94
-
95
- &::placeholder {
96
- opacity: 1;
97
- }
98
-
99
- &&__creditcard,
100
- &&__search {
101
- --_in-pl: var(--su-static32);
102
- }
103
-
104
- // INTERACTION
105
- // Note: We're applying the focus styles both on `:focus` and `:focus-within` since this component can sometimes be used on the parent of an input such as in our tag selector in Core.
106
- &:focus,
107
- &:focus-within {
108
- .focus-styles();
109
- }
110
-
111
- @scrollbar-styles();
112
- background-color: var(--_in-bg);
113
- border: var(--su-static1) solid var(--_in-bc);
114
- border-radius: var(--_in-br);
115
- color: var(--_in-fc);
116
- cursor: var(--_in-c);
117
- font-size: var(--_in-fs);
118
- opacity: var(--_in-o);
119
- padding: var(--_in-py) var(--_in-px) var(--_in-py) var(--_in-pl, var(--_in-px));
120
-
121
- -webkit-appearance: none; // Removes shadows we don't want in mobile Safari
122
- font-family: inherit;
123
- margin: 0; // A guard against Core's default margins
124
- width: 100%;
125
- }
126
-
127
- .s-input {
128
- .input-states({
129
- padding-right: var(--su32);
130
- });
131
-
132
- &&__md {
133
- --_in-py: 0.5em;
134
- }
135
- }
136
-
137
- .s-textarea {
138
- .input-states({
139
- padding-right: var(--su48);
140
- });
141
-
142
- &&__md {
143
- --_in-py: 0.72em;
144
- }
145
-
146
- ~ .s-input-icon {
147
- right: 1.5em;
148
- top: 1.5em;
149
- }
150
- }
1
+ .s-input,
2
+ .s-textarea {
3
+ --_in-bc: var(--bc-darker);
4
+ --_in-bg: var(--white);
5
+ --_in-br: var(--br-md);
6
+ --_in-c: unset;
7
+ --_in-fc: var(--fc-dark);
8
+ --_in-fs: var(--fs-body1);
9
+ --_in-o: unset;
10
+ --_in-px: 0.7em;
11
+ --_in-py: 0.6em;
12
+ --_in-placeholder-fc: var(--black-300);
13
+
14
+ // CONTEXTUAL STYLES
15
+ @supports (-webkit-overflow-scrolling: touch) {
16
+ --_in-fs: var(--su-static16); // 16px — Increase font size for mobile safari. This keeps our inputs from zooming the page while focused.
17
+ --_in-px: 0.55em;
18
+ --_in-py: 0.36em;
19
+
20
+ &::-webkit-input-placeholder {
21
+ line-height: normal !important;
22
+ }
23
+ }
24
+
25
+ .highcontrast-mode({
26
+ --_in-bc: var(--black);
27
+ --_in-placeholder-fc: var(--black-400);
28
+ });
29
+
30
+ // MODIFIERS
31
+ fieldset[disabled] &,
32
+ &[disabled],
33
+ &[readonly],
34
+ .is-readonly & {
35
+ --_in-c: not-allowed;
36
+ }
37
+
38
+ fieldset[disabled] &,
39
+ &[disabled] {
40
+ --_in-o: var(--_o-disabled-static);
41
+ }
42
+
43
+ &[readonly],
44
+ .is-readonly & {
45
+ .highcontrast-mode({
46
+ --_in-fc: var(--fc-light);
47
+ });
48
+
49
+ --_in-bg: var(--black-150);
50
+ --_in-bc: var(--bc-light);
51
+ --_in-fc: var(--black-300);
52
+ }
53
+
54
+ .validation-states(
55
+ in,
56
+ { .highcontrast-mode({ --_in-bc: var(--red-400); }); },
57
+ { .highcontrast-mode({ --_in-bc: var(--green-400); }); },
58
+ { .highcontrast-mode({ --_in-bc: var(--yellow-500); }); }
59
+ );
60
+
61
+ // Sizes
62
+ &&__sm {
63
+ .size-styles(sm; in; @styles: fs);
64
+ }
65
+
66
+ &&__md {
67
+ @supports (-webkit-overflow-scrolling: touch) {
68
+ --_in-fs: calc(var(--su-static16) + var(--su-static1)); // 17px
69
+ --_in-py: 0.4em;
70
+ }
71
+
72
+ .size-styles(md; in; @styles: br, fs);
73
+ }
74
+
75
+ &&__lg {
76
+ .size-styles(lg; in; @styles: br, fs);
77
+ --_in-px: 0.6em;
78
+ --_in-py: 0.45em;
79
+ }
80
+
81
+ &&__xl {
82
+ .size-styles(xl; in; @styles: br, fs);
83
+ --_in-px: 0.5em;
84
+ --_in-py: 0.4em;
85
+ }
86
+
87
+ // CHILD ELEMENTS
88
+ .webkit-autofill();
89
+
90
+ &::placeholder,
91
+ &::-webkit-input-placeholder {
92
+ color: var(--_in-placeholder-fc);
93
+ }
94
+
95
+ &::placeholder {
96
+ opacity: 1;
97
+ }
98
+
99
+ &&__creditcard,
100
+ &&__search {
101
+ --_in-pl: var(--su-static32);
102
+ }
103
+
104
+ // INTERACTION
105
+ // Note: We're applying the focus styles both on `:focus` and `:focus-within` since this component can sometimes be used on the parent of an input such as in our tag selector in Core.
106
+ &:focus,
107
+ &:focus-within {
108
+ .focus-styles();
109
+ }
110
+
111
+ @scrollbar-styles();
112
+ background-color: var(--_in-bg);
113
+ border: var(--su-static1) solid var(--_in-bc);
114
+ border-radius: var(--_in-br);
115
+ color: var(--_in-fc);
116
+ cursor: var(--_in-c);
117
+ font-size: var(--_in-fs);
118
+ opacity: var(--_in-o);
119
+ padding: var(--_in-py) var(--_in-px) var(--_in-py) var(--_in-pl, var(--_in-px));
120
+
121
+ -webkit-appearance: none; // Removes shadows we don't want in mobile Safari
122
+ font-family: inherit;
123
+ margin: 0; // A guard against Core's default margins
124
+ width: 100%;
125
+ }
126
+
127
+ .s-input {
128
+ .input-states({
129
+ padding-right: var(--su32);
130
+ });
131
+
132
+ &&__md {
133
+ --_in-py: 0.5em;
134
+ }
135
+ }
136
+
137
+ .s-textarea {
138
+ .input-states({
139
+ padding-right: var(--su48);
140
+ });
141
+
142
+ &&__md {
143
+ --_in-py: 0.72em;
144
+ }
145
+
146
+ ~ .s-input-icon {
147
+ right: 1.5em;
148
+ top: 1.5em;
149
+ }
150
+ }
@@ -1,110 +1,110 @@
1
- .s-label {
2
- --_la-fs: var(--fs-body2);
3
-
4
- // CONTEXTUAL STYLES
5
- &[for] {
6
- cursor: pointer;
7
- }
8
-
9
- fieldset[disabled] &,
10
- .is-disabled & {
11
- .s-description {
12
- opacity: unset;
13
- }
14
-
15
- cursor: not-allowed;
16
- opacity: var(--_o-disabled-static);
17
- }
18
-
19
- .is-readonly & {
20
- cursor: not-allowed;
21
- }
22
-
23
- // MODIFIERS
24
- // Sizes
25
- &&__sm {
26
- .size-styles(sm; la; @styles: fs);
27
- }
28
-
29
- &&__md {
30
- .size-styles(md; la; @styles: fs);
31
- }
32
-
33
- &&__lg {
34
- .size-styles(lg; la; @styles: fs);
35
- }
36
-
37
- &&__xl {
38
- .size-styles(xl; la; @styles: fs);
39
- }
40
-
41
- // CHILD ELEMENTS
42
- // Label status flag
43
- // Is this form item required or optional? Flag the status for users.
44
- // Default styling is optional.
45
- &--status { // TODO convert to require parent class for styling [1]
46
- --_la-status-b: none;
47
- --_la-status-bg: var(--black-150);
48
- --_la-status-fc: var(--fc-medium);
49
-
50
- .highcontrast-mode({
51
- --_la-status-b: var(--su-static1) solid currentColor;
52
- });
53
-
54
- // TODO: include child component class (without variant) on selector
55
- &__beta {
56
- --_la-status-bg: var(--blue-200);
57
- --_la-status-fc: var(--blue-500);
58
- }
59
-
60
- &__new {
61
- --_la-status-bg: var(--green-200);
62
- --_la-status-fc: var(--green-500);
63
- }
64
-
65
- &__required {
66
- --_la-status-bg: var(--red-200);
67
- --_la-status-fc: var(--red-500);
68
- }
69
-
70
- background-color: var(--_la-status-bg);
71
- border: var(--_la-status-b);
72
- color: var(--_la-status-fc);
73
-
74
- border-radius: 1000px;
75
- font-size: var(--fs-caption);
76
- font-weight: 400;
77
- margin-left: var(--su4);
78
- padding: var(--su2) var(--su8);
79
- vertical-align: text-bottom;
80
- }
81
-
82
- // TODO we shouldn't support descriptions and messages within labels
83
- .s-description,
84
- .s-input-message {
85
- font-weight: normal;
86
- margin-bottom: 0;
87
- margin-top: var(--su4);
88
- padding: 0;
89
- }
90
-
91
- font-size: var(--_la-fs);
92
-
93
- color: var(--fc-medium);
94
- font-family: inherit;
95
- font-weight: 700;
96
- padding: 0 var(--su2); // Helps the label visually line up with inputs
97
- }
98
-
99
- .s-required-symbol {
100
- color: var(--red-400);
101
- font-size: 125%;
102
- font-weight: normal;
103
- line-height: 0;
104
- text-decoration: none !important;
105
- }
106
-
107
- // [1] In Core, we have *many* instances of `.s-label--status` used without the `.s-label` parent.
108
- // While I'd prefer to enforce the requirement of the parent class, it's too much of a lift at this moment.
109
- // We'll come back to it, hopefully when we have a pill component to replace the current usage of `.s-label--status`
110
- // without the base label class.
1
+ .s-label {
2
+ --_la-fs: var(--fs-body2);
3
+
4
+ // CONTEXTUAL STYLES
5
+ &[for] {
6
+ cursor: pointer;
7
+ }
8
+
9
+ fieldset[disabled] &,
10
+ .is-disabled & {
11
+ .s-description {
12
+ opacity: unset;
13
+ }
14
+
15
+ cursor: not-allowed;
16
+ opacity: var(--_o-disabled-static);
17
+ }
18
+
19
+ .is-readonly & {
20
+ cursor: not-allowed;
21
+ }
22
+
23
+ // MODIFIERS
24
+ // Sizes
25
+ &&__sm {
26
+ .size-styles(sm; la; @styles: fs);
27
+ }
28
+
29
+ &&__md {
30
+ .size-styles(md; la; @styles: fs);
31
+ }
32
+
33
+ &&__lg {
34
+ .size-styles(lg; la; @styles: fs);
35
+ }
36
+
37
+ &&__xl {
38
+ .size-styles(xl; la; @styles: fs);
39
+ }
40
+
41
+ // CHILD ELEMENTS
42
+ // Label status flag
43
+ // Is this form item required or optional? Flag the status for users.
44
+ // Default styling is optional.
45
+ &--status { // TODO convert to require parent class for styling [1]
46
+ --_la-status-b: none;
47
+ --_la-status-bg: var(--black-150);
48
+ --_la-status-fc: var(--fc-medium);
49
+
50
+ .highcontrast-mode({
51
+ --_la-status-b: var(--su-static1) solid currentColor;
52
+ });
53
+
54
+ // TODO: include child component class (without variant) on selector
55
+ &__beta {
56
+ --_la-status-bg: var(--blue-200);
57
+ --_la-status-fc: var(--blue-500);
58
+ }
59
+
60
+ &__new {
61
+ --_la-status-bg: var(--green-200);
62
+ --_la-status-fc: var(--green-500);
63
+ }
64
+
65
+ &__required {
66
+ --_la-status-bg: var(--red-200);
67
+ --_la-status-fc: var(--red-500);
68
+ }
69
+
70
+ background-color: var(--_la-status-bg);
71
+ border: var(--_la-status-b);
72
+ color: var(--_la-status-fc);
73
+
74
+ border-radius: 1000px;
75
+ font-size: var(--fs-caption);
76
+ font-weight: 400;
77
+ margin-left: var(--su4);
78
+ padding: var(--su2) var(--su8);
79
+ vertical-align: text-bottom;
80
+ }
81
+
82
+ // TODO we shouldn't support descriptions and messages within labels
83
+ .s-description,
84
+ .s-input-message {
85
+ font-weight: normal;
86
+ margin-bottom: 0;
87
+ margin-top: var(--su4);
88
+ padding: 0;
89
+ }
90
+
91
+ font-size: var(--_la-fs);
92
+
93
+ color: var(--fc-medium);
94
+ font-family: inherit;
95
+ font-weight: 700;
96
+ padding: 0 var(--su2); // Helps the label visually line up with inputs
97
+ }
98
+
99
+ .s-required-symbol {
100
+ color: var(--red-400);
101
+ font-size: 125%;
102
+ font-weight: normal;
103
+ line-height: 0;
104
+ text-decoration: none !important;
105
+ }
106
+
107
+ // [1] In Core, we have *many* instances of `.s-label--status` used without the `.s-label` parent.
108
+ // While I'd prefer to enforce the requirement of the parent class, it's too much of a lift at this moment.
109
+ // We'll come back to it, hopefully when we have a pill component to replace the current usage of `.s-label--status`
110
+ // without the base label class.