@stackoverflow/stacks 0.76.0 → 1.0.1

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 (77) hide show
  1. package/LICENSE.MD +9 -9
  2. package/README.md +0 -0
  3. package/dist/controllers/index.d.ts +7 -7
  4. package/dist/controllers/s-expandable-control.d.ts +17 -17
  5. package/dist/controllers/s-modal.d.ts +97 -97
  6. package/dist/controllers/s-navigation-tablist.d.ts +36 -36
  7. package/dist/controllers/s-popover.d.ts +155 -155
  8. package/dist/controllers/s-table.d.ts +8 -8
  9. package/dist/controllers/s-tooltip.d.ts +82 -82
  10. package/dist/controllers/s-uploader.d.ts +48 -48
  11. package/dist/css/stacks.css +4354 -2560
  12. package/dist/css/stacks.min.css +1 -1
  13. package/dist/index.d.ts +3 -3
  14. package/dist/js/stacks.js +1978 -1978
  15. package/dist/js/stacks.min.js +1 -1
  16. package/dist/stacks.d.ts +21 -21
  17. package/lib/css/atomic/{_stacks-borders.less → borders.less} +30 -30
  18. package/lib/css/atomic/{_stacks-colors.less → colors.less} +0 -0
  19. package/lib/css/atomic/{_stacks-flex.less → flex.less} +14 -13
  20. package/lib/css/atomic/{_stacks-grid.less → grid.less} +11 -11
  21. package/lib/css/atomic/{_stacks-misc.less → misc.less} +22 -22
  22. package/lib/css/atomic/spacing.less +332 -0
  23. package/lib/css/atomic/{_stacks-typography.less → typography.less} +29 -29
  24. package/lib/css/atomic/width-height.less +194 -0
  25. package/lib/css/base/{_stacks-body.less → body.less} +2 -2
  26. package/lib/css/base/{_stacks-configuration-static.less → configuration-static.less} +3 -1
  27. package/lib/css/base/{_stacks-icons.less → icons.less} +0 -0
  28. package/lib/css/base/{_stacks-internals.less → internals.less} +0 -0
  29. package/lib/css/base/{_stacks-reset-meyer.less → reset-meyer.less} +0 -0
  30. package/lib/css/base/{_stacks-reset-normalize.less → reset-normalize.less} +0 -0
  31. package/lib/css/base/{_stacks-reset.less → reset.less} +2 -2
  32. package/lib/css/components/{_stacks-activity-indicator.less → activity-indicator.less} +9 -9
  33. package/lib/css/components/{_stacks-avatars.less → avatars.less} +40 -40
  34. package/lib/css/components/{_stacks-badges.less → badges.less} +11 -11
  35. package/lib/css/components/{_stacks-banners.less → banners.less} +5 -5
  36. package/lib/css/components/{_stacks-blank-states.less → blank-states.less} +2 -2
  37. package/lib/css/components/{_stacks-breadcrumbs.less → breadcrumbs.less} +7 -7
  38. package/lib/css/components/{_stacks-button-groups.less → button-groups.less} +2 -2
  39. package/lib/css/components/{_stacks-buttons.less → buttons.less} +46 -39
  40. package/lib/css/components/{_stacks-cards.less → cards.less} +2 -2
  41. package/lib/css/components/{_stacks-code-blocks.less → code-blocks.less} +8 -8
  42. package/lib/css/components/{_stacks-collapsible.less → collapsible.less} +0 -0
  43. package/lib/css/components/{_stacks-inputs.less → inputs.less} +41 -41
  44. package/lib/css/components/{_stacks-link-previews.less → link-previews.less} +17 -17
  45. package/lib/css/components/{_stacks-links.less → links.less} +4 -4
  46. package/lib/css/components/{_stacks-menu.less → menu.less} +5 -5
  47. package/lib/css/components/{_stacks-modals.less → modals.less} +20 -20
  48. package/lib/css/components/{_stacks-navigation.less → navigation.less} +12 -12
  49. package/lib/css/components/{_stacks-notices.less → notices.less} +12 -12
  50. package/lib/css/components/{_stacks-page-titles.less → page-titles.less} +9 -9
  51. package/lib/css/components/{_stacks-pagination.less → pagination.less} +8 -8
  52. package/lib/css/components/{_stacks-popovers.less → popovers.less} +17 -17
  53. package/lib/css/components/{_stacks-post-summary.less → post-summary.less} +35 -35
  54. package/lib/css/components/{_stacks-progress-bars.less → progress-bars.less} +29 -30
  55. package/lib/css/components/{_stacks-prose.less → prose.less} +31 -31
  56. package/lib/css/components/{_stacks-spinner.less → spinner.less} +14 -14
  57. package/lib/css/components/{_stacks-tables.less → tables.less} +10 -10
  58. package/lib/css/components/{_stacks-tags.less → tags.less} +24 -24
  59. package/lib/css/components/{_stacks-toggle-switches.less → toggle-switches.less} +5 -5
  60. package/lib/css/components/{_stacks-topbar.less → topbar.less} +22 -20
  61. package/lib/css/components/{_stacks-uploader.less → uploader.less} +18 -18
  62. package/lib/css/components/{_stacks-user-cards.less → user-cards.less} +14 -14
  63. package/lib/css/components/{_stacks-widget-dynamic.less → widget-dynamic.less} +1 -1
  64. package/lib/css/components/{_stacks-widget-static.less → widget-static.less} +39 -38
  65. package/lib/css/exports/{_stacks-constants-colors.less → constants-colors.less} +9 -29
  66. package/lib/css/exports/constants-helpers.less +108 -0
  67. package/lib/css/exports/constants-type.less +153 -0
  68. package/lib/css/exports/{_stacks-exports.less → exports.less} +4 -4
  69. package/lib/css/exports/{_stacks-mixins.less → mixins.less} +18 -1
  70. package/lib/css/stacks-dynamic.less +12 -12
  71. package/lib/css/stacks-static.less +38 -38
  72. package/lib/css/stacks.less +13 -13
  73. package/package.json +9 -9
  74. package/lib/css/atomic/_stacks-spacing.less +0 -168
  75. package/lib/css/atomic/_stacks-width-height.less +0 -195
  76. package/lib/css/exports/_stacks-constants-helpers.less +0 -139
  77. package/lib/css/exports/_stacks-constants-type.less +0 -152
@@ -70,12 +70,12 @@
70
70
  align-items: center;
71
71
  justify-content: center;
72
72
  min-width: 0;
73
- padding-left: @su4;
74
- padding-right: @su4;
73
+ padding-left: var(--su4);
74
+ padding-right: var(--su4);
75
75
  border-style: solid;
76
76
  border-width: 1px;
77
- border-radius: @br-sm;
78
- font-size: @fs-caption;
77
+ border-radius: var(--br-sm);
78
+ font-size: var(--fs-caption);
79
79
  line-height: 1.846153846;
80
80
  text-decoration: none;
81
81
  vertical-align: middle;
@@ -91,26 +91,26 @@
91
91
 
92
92
  // -- SIZES
93
93
  &.s-tag__xs {
94
- font-size: @fs-fine;
94
+ font-size: var(--fs-fine);
95
95
  line-height: 1.4;
96
- padding-left: @su2;
97
- padding-right: @su2;
96
+ padding-left: var(--su2);
97
+ padding-right: var(--su2);
98
98
  }
99
99
  &.s-tag__sm {
100
- font-size: @fs-caption;
100
+ font-size: var(--fs-caption);
101
101
  line-height: 1.5;
102
102
  }
103
103
  &.s-tag__md {
104
- padding-left: @su6;
105
- padding-right: @su6;
106
- font-size: @fs-body2;
104
+ padding-left: var(--su6);
105
+ padding-right: var(--su6);
106
+ font-size: var(--fs-body2);
107
107
  line-height: 1.733333333;
108
108
  }
109
109
  &.s-tag__lg {
110
- padding-left: @su6;
111
- padding-right: @su6;
112
- border-radius: @br-sm + 1;
113
- font-size: @fs-subheading;
110
+ padding-left: var(--su6);
111
+ padding-right: var(--su6);
112
+ border-radius: calc(var(--br-sm) + 1px);
113
+ font-size: var(--fs-subheading);
114
114
  line-height: 1.684210526;
115
115
  }
116
116
  }
@@ -127,11 +127,11 @@ a.s-tag:not(.is-selected) {
127
127
  align-content: center;
128
128
  align-self: center;
129
129
  justify-content: center;
130
- width: @su16;
131
- height: @su16;
132
- margin-left: @su4;
133
- padding: (@su2 / 2);
134
- border-radius: @br-sm;
130
+ width: var(--su-static16);
131
+ height: var(--su-static16);
132
+ margin-left: var(--su4);
133
+ padding: var(--su1);
134
+ border-radius: var(--br-sm);
135
135
  cursor: pointer;
136
136
 
137
137
  &:hover {
@@ -145,9 +145,9 @@ a.s-tag:not(.is-selected) {
145
145
  .s-tag--sponsor {
146
146
  display: inline-flex;
147
147
  align-self: center;
148
- margin: -(@su2 + 1) @su4 -(@su2) -(@su2);
149
- max-width: 18px;
150
- border-radius: @br-sm - 1;
148
+ margin: calc(var(--su1) * -1) var(--su4) calc(var(--su2) * -1) calc(var(--su2) * -1);
149
+ max-width: calc(var(--su-static16) + var(--su-static2));
150
+ border-radius: calc(var(--br-sm) - 1px);
151
151
 
152
152
  .svg-icon,
153
153
  img {
@@ -212,7 +212,7 @@ a.s-tag__muted:not(.is-selected) {
212
212
  display: block;
213
213
  width: 14px;
214
214
  height: 14px;
215
- margin-right: @su2;
215
+ margin-right: var(--su2);
216
216
  background-color: currentColor;
217
217
  position: absolute;
218
218
  left: 4px;
@@ -69,11 +69,11 @@
69
69
  }
70
70
 
71
71
  &:focus + .s-toggle-switch--indicator {
72
- box-shadow: 0 0 0 @su4 var(--focus-ring-muted);
72
+ box-shadow: 0 0 0 var(--su-static4) var(--focus-ring-muted);
73
73
  }
74
74
 
75
75
  &:checked:focus + .s-toggle-switch--indicator {
76
- box-shadow: 0 0 0 @su4 var(--focus-ring-success);
76
+ box-shadow: 0 0 0 var(--su-static4) var(--focus-ring-success);
77
77
  }
78
78
  }
79
79
 
@@ -97,7 +97,7 @@
97
97
  padding: 0.5em 0.7em;
98
98
  border-radius: 1000px;
99
99
  color: var(--black-500);
100
- font-size: @fs-body1;
100
+ font-size: var(--fs-body1);
101
101
  font-weight: 400;
102
102
  line-height: 1;
103
103
  text-align: center;
@@ -133,11 +133,11 @@
133
133
  }
134
134
 
135
135
  &:focus + label.s-toggle-switch--label-off {
136
- box-shadow: 0 0 0 @su4 var(--focus-ring-muted);
136
+ box-shadow: 0 0 0 var(--su-static4) var(--focus-ring-muted);
137
137
  }
138
138
 
139
139
  &:focus + label:not(.s-toggle-switch--label-off) {
140
- box-shadow: 0 0 0 @su4 var(--focus-ring-success);
140
+ box-shadow: 0 0 0 var(--su-static4) var(--focus-ring-success);
141
141
  }
142
142
  }
143
143
  }
@@ -13,7 +13,7 @@
13
13
  min-width: auto;
14
14
  box-shadow: var(--bs-sm);
15
15
  width: 100%;
16
- z-index: @zi-navigation-fixed;
16
+ z-index: var(--zi-navigation-fixed);
17
17
  background-color: var(--theme-topbar-background-color);
18
18
  height: var(--theme-topbar-height);
19
19
  display: flex;
@@ -45,7 +45,7 @@
45
45
 
46
46
  // Wraps the content so the topbar stretches 100% w/ content at some value below that
47
47
  .s-topbar--container {
48
- width: @s-full; // wmx12; Consumers should use atomic classes to override this
48
+ width: var(--s-full); // wmx12; Consumers should use atomic classes to override this
49
49
  max-width: 100%;
50
50
  height: 100%;
51
51
  display: flex;
@@ -54,7 +54,7 @@
54
54
  }
55
55
 
56
56
  .s-topbar--logo {
57
- padding: 0 @su8;
57
+ padding: 0 var(--su8);
58
58
  height: 100%;
59
59
  display: flex;
60
60
  align-items: center;
@@ -72,7 +72,7 @@
72
72
  .s-topbar--menu-btn {
73
73
  display: flex;
74
74
  height: 100%;
75
- padding: 0 @su16;
75
+ padding: 0 var(--su16);
76
76
  flex-shrink: 0;
77
77
  align-items: center;
78
78
  justify-content: center;
@@ -83,8 +83,8 @@
83
83
  &,
84
84
  &:before,
85
85
  &:after {
86
- width: @su16;
87
- height: @su2;
86
+ width: var(--su-static16);
87
+ height: var(--su-static2);
88
88
  background-color: var(--theme-topbar-item-color);
89
89
  position: relative;
90
90
  }
@@ -156,7 +156,7 @@
156
156
  --theme-topbar-search-placeholder: @black-200;
157
157
  --theme-topbar-search-border: @black-200;
158
158
  --theme-topbar-search-border-focus: @blue-300;
159
- --theme-topbar-search-shadow-focus: 0 0 0 @su4 var(--focus-ring);
159
+ --theme-topbar-search-shadow-focus: 0 0 0 var(--su-static4) var(--focus-ring);
160
160
 
161
161
  // Search switcher
162
162
  --theme-topbar-select-color: @black-700;
@@ -207,7 +207,7 @@
207
207
  --theme-topbar-search-placeholder: lighten(@topbar-actual-background, 60% + @topbar-search-lightness-increase);
208
208
  --theme-topbar-search-border: lighten(@topbar-actual-background, 20% + @topbar-search-lightness-increase);
209
209
  --theme-topbar-search-border-focus: lighten(@topbar-actual-background, 45% + @topbar-search-lightness-increase);
210
- --theme-topbar-search-shadow-focus: 0 0 0 @su4 fade(@white, 30%);
210
+ --theme-topbar-search-shadow-focus: 0 0 0 var(--su-static4) fade(@white, 30%);
211
211
 
212
212
  // Search switcher
213
213
  --theme-topbar-select-color: lighten(@topbar-actual-background, 60% + @topbar-search-lightness-increase);
@@ -260,7 +260,7 @@
260
260
  color: var(--theme-topbar-item-color);
261
261
  display: inline-flex;
262
262
  align-items: center;
263
- padding: 0 (@su12 - @su2);
263
+ padding: 0 calc(var(--su12) - var(--su2));
264
264
  text-decoration: none;
265
265
  white-space: nowrap;
266
266
  position: relative;
@@ -277,6 +277,7 @@
277
277
 
278
278
  .s-activity-indicator {
279
279
  top: calc(50% - 18px);
280
+ box-shadow: 0 0 0 var(--su-static2) var(--theme-topbar-item-background-hover);
280
281
  }
281
282
  }
282
283
 
@@ -288,15 +289,16 @@
288
289
  position: absolute;
289
290
  top: calc(50% - 14px);
290
291
  right: 2px;
291
- transition: top @te-smooth 0.15s;
292
+ transition: top var(--te-smooth) 0.15s;
293
+ box-shadow: 0 0 0 var(--su-static2) var(--theme-topbar-background-color);
292
294
  }
293
295
  }
294
296
 
295
297
  // provide only layout styling for unset items
296
298
  .s-topbar--item__unset {
297
299
  align-self: center;
298
- padding-top: @su8;
299
- padding-bottom: @su8;
300
+ padding-top: var(--su8);
301
+ padding-bottom: var(--su8);
300
302
  }
301
303
  }
302
304
 
@@ -307,10 +309,10 @@
307
309
  &:extend(.s-badge);
308
310
 
309
311
  text-transform: uppercase;
310
- font-size: @fs-fine;
312
+ font-size: var(--fs-fine);
311
313
  font-weight: 700;
312
- margin-left: @su8;
313
- margin-right: @su8;
314
+ margin-left: var(--su8);
315
+ margin-right: var(--su8);
314
316
  flex-shrink: 0;
315
317
 
316
318
  .badge-styles(transparent, transparent, var(--theme-topbar-item-color));
@@ -334,8 +336,8 @@
334
336
  // $ SEARCHBAR
335
337
  // ---------------------------------------------------------------------------
336
338
  .s-topbar .s-topbar--searchbar {
337
- @inputLineHeights: @lh-sm; // Ensure the line heights between the elements match up
338
- padding: 0 @su8;
339
+ @inputLineHeights: var(--lh-sm); // Ensure the line heights between the elements match up
340
+ padding: 0 var(--su8);
339
341
  display: flex;
340
342
  align-items: center;
341
343
  flex-shrink: 10000; // Force the searchbar to shrink as much as possible if there's no extra space
@@ -378,7 +380,7 @@
378
380
 
379
381
  &:before,
380
382
  &:after {
381
- z-index: @zi-active; // Make sure our focus ring is above the search input
383
+ z-index: var(--zi-active); // Make sure our focus ring is above the search input
382
384
  }
383
385
  }
384
386
 
@@ -394,7 +396,7 @@
394
396
  &:focus {
395
397
  border-color: var(--theme-topbar-search-border-focus);
396
398
  box-shadow: var(--theme-topbar-search-shadow-focus);
397
- z-index: @zi-selected;
399
+ z-index: var(--zi-selected);
398
400
  }
399
401
  }
400
402
 
@@ -410,7 +412,7 @@
410
412
  right: 0;
411
413
  top: 100%;
412
414
  max-width: 100%;
413
- padding: @su8 @su12;
415
+ padding: var(--su8) var(--su12);
414
416
  background: var(--theme-topbar-item-background-hover);
415
417
 
416
418
  &.s-topbar--searchbar__open {
@@ -9,11 +9,11 @@
9
9
  .s-uploader {
10
10
  align-items: center;
11
11
  background-color: var(--black-025);
12
- border-radius: @br-lg;
12
+ border-radius: var(--br-lg);
13
13
  display: flex;
14
- min-height: @su128;
14
+ min-height: var(--su-static128);
15
15
  justify-content: center;
16
- padding: @su8 @su16;
16
+ padding: var(--su8) var(--su16);
17
17
  position: relative;
18
18
  text-align: center;
19
19
 
@@ -30,7 +30,7 @@
30
30
  background-color: var(--black-150);
31
31
  -webkit-mask-image: var(--s-uploader-background-image);
32
32
  mask-image: var(--s-uploader-background-image);
33
- border-radius: @br-lg;
33
+ border-radius: var(--br-lg);
34
34
 
35
35
  .highcontrast-mode({
36
36
  background-color: var(--black-400);
@@ -117,7 +117,7 @@
117
117
 
118
118
  &:focus:focus-visible + .s-uploader--container {
119
119
  background-color: var(--black-050);
120
- box-shadow: 0 0 0 @su4 var(--focus-ring);
120
+ box-shadow: 0 0 0 var(--su-static4) var(--focus-ring);
121
121
  }
122
122
  }
123
123
 
@@ -128,9 +128,9 @@
128
128
 
129
129
  .s-uploader--preview-thumbnail {
130
130
  background-color: var(--white);
131
- border-radius: @br-sm;
131
+ border-radius: var(--br-sm);
132
132
  box-shadow: var(--bs-md);
133
- max-height: @su128;
133
+ max-height: var(--su-static128);
134
134
  max-width: 100%;
135
135
  overflow: hidden;
136
136
  text-overflow: ellipsis;
@@ -144,7 +144,7 @@
144
144
  }
145
145
 
146
146
  &:not(img) {
147
- padding: @su16;
147
+ padding: var(--su16);
148
148
  }
149
149
  }
150
150
 
@@ -155,19 +155,19 @@
155
155
  &.has-multiple {
156
156
  display: block;
157
157
  height: auto;
158
- padding: @su8 @su2;
158
+ padding: var(--su8) var(--su2);
159
159
  width: 100%;
160
160
 
161
161
  .s-uploader--preview {
162
162
  align-items: center;
163
163
  display: flex;
164
- padding: @su6 0;
164
+ padding: var(--su6) 0;
165
165
  width: 100%;
166
166
 
167
167
  &:after {
168
168
  content: attr(data-filename);
169
169
  display: block;
170
- margin-left: @su12;
170
+ margin-left: var(--su12);
171
171
  max-width: 100%;
172
172
  overflow: hidden;
173
173
  text-overflow: ellipsis;
@@ -177,9 +177,9 @@
177
177
 
178
178
  .s-uploader--preview-thumbnail {
179
179
  color: transparent;
180
- height: @su32;
180
+ height: var(--su-static32);
181
181
  flex-shrink: 0;
182
- width: @su32;
182
+ width: var(--su-static32);
183
183
 
184
184
  &:is(img) {
185
185
  object-fit: cover;
@@ -196,15 +196,15 @@
196
196
 
197
197
  .s-uploader--previews-heading {
198
198
  color: var(--black-900);
199
- font-size: @fs-body2;
199
+ font-size: var(--fs-body2);
200
200
  font-weight: 600;
201
- padding-bottom: @su8;
201
+ padding-bottom: var(--su8);
202
202
  }
203
203
 
204
204
  .s-uploader--reset {
205
205
  position: absolute;
206
- right: @su8;
207
- top: @su8;
208
- z-index: @zi-active;
206
+ right: var(--su8);
207
+ top: var(--su8);
208
+ z-index: var(--zi-active);
209
209
  }
210
210
  }
@@ -13,11 +13,11 @@
13
13
  .s-user-card {
14
14
  display: grid;
15
15
  grid-template-columns: auto 1fr;
16
- column-gap: @su8;
17
- row-gap: @su4;
16
+ column-gap: var(--su8);
17
+ row-gap: var(--su4);
18
18
  align-items: center;
19
19
  line-height: 1;
20
- padding: @su8;
20
+ padding: var(--su8);
21
21
 
22
22
  // ===========================================================================
23
23
  // $ STYLE VARIATIONS
@@ -27,7 +27,7 @@
27
27
  // ---------------------------------------------------------------------------
28
28
  &.s-user-card__highlighted {
29
29
  background-color: var(--theme-secondary-050);
30
- border-radius: @br-md;
30
+ border-radius: var(--br-md);
31
31
 
32
32
  .s-user-card--type {
33
33
  color: var(--black-700);
@@ -40,7 +40,7 @@
40
40
  align-items: start;
41
41
 
42
42
  .s-user-card--link {
43
- font-size: @fs-body2;
43
+ font-size: var(--fs-body2);
44
44
  }
45
45
  }
46
46
 
@@ -55,7 +55,7 @@
55
55
  &.s-user-card__small {
56
56
  display: flex;
57
57
  align-items: center;
58
- gap: @su4;
58
+ gap: var(--su4);
59
59
  padding: 0;
60
60
 
61
61
  .s-user-card--info {
@@ -69,7 +69,7 @@
69
69
  &.s-user-card__minimal {
70
70
  display: flex;
71
71
  align-items: center;
72
- gap: @su4;
72
+ gap: var(--su4);
73
73
  padding: 0;
74
74
 
75
75
  .s-user-card--time {
@@ -92,7 +92,7 @@
92
92
 
93
93
  .s-user-card--type {
94
94
  grid-column: ~"1 / 3";
95
- font-size: @fs-caption;
95
+ font-size: var(--fs-caption);
96
96
  color: var(--theme-primary-400);
97
97
 
98
98
  a {
@@ -108,7 +108,7 @@
108
108
  grid-column: ~"1 / 3";
109
109
  grid-row: ~"1 / 2";
110
110
  color: var(--black-500);
111
- font-size: @fs-caption;
111
+ font-size: var(--fs-caption);
112
112
  }
113
113
 
114
114
  // $ USER INFO CONTAINER
@@ -118,7 +118,7 @@
118
118
  .s-user-card--info {
119
119
  display: flex;
120
120
  flex-direction: column;
121
- gap: @su4;
121
+ gap: var(--su4);
122
122
  }
123
123
 
124
124
  // $ USER LINK
@@ -126,7 +126,7 @@
126
126
  // ---------------------------------------------------------------------------
127
127
  .s-user-card--link {
128
128
  min-width: 0; // Allow things to wrap
129
- font-size: @fs-caption;
129
+ font-size: var(--fs-caption);
130
130
  align-items: center;
131
131
  flex-wrap: wrap;
132
132
  overflow-wrap: break-word;
@@ -139,10 +139,10 @@
139
139
  .list-reset;
140
140
  display: flex;
141
141
  align-items: center;
142
- gap: @su6;
142
+ gap: var(--su6);
143
143
 
144
144
  li {
145
- font-size: @fs-caption;
145
+ font-size: var(--fs-caption);
146
146
  }
147
147
  }
148
148
 
@@ -155,7 +155,7 @@
155
155
  // ---------------------------------------------------------------------------
156
156
  .s-user-card--location,
157
157
  .s-user-card--role {
158
- font-size: @fs-caption;
158
+ font-size: var(--fs-caption);
159
159
  color: var(--black-500);
160
160
  }
161
161
 
@@ -9,7 +9,7 @@
9
9
  // This file only sets the colors for the "current color" highlight when the
10
10
  // widget is used for navigation. This is the only part of the widget that is
11
11
  // dynamically configurable; the rest can be served in the static part of Stacks
12
- // and is in _stacks-widget-static.less.
12
+ // and is in widget-static.less.
13
13
 
14
14
  .s-sidebarwidget--item {
15
15
  &,