@hashicorp/react-components 0.0.0-canary.e6bc11c → 0.0.0-canary.ef38ca3
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
CHANGED
|
@@ -25,6 +25,8 @@
|
|
|
25
25
|
--mds-typography-body-200-font-size: 0.875rem;
|
|
26
26
|
--mds-typography-font-weight-regular: 400;
|
|
27
27
|
--mds-typography-font-weight-semibold: 600;
|
|
28
|
+
--mds-typography-font-stack-text: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
|
|
29
|
+
--mds-typography-body-200-line-height: 1.7142857142857142; /* 20px */
|
|
28
30
|
|
|
29
31
|
@media (--large) {
|
|
30
32
|
&.noSide {
|
|
@@ -220,10 +222,6 @@
|
|
|
220
222
|
justify-content: space-between;
|
|
221
223
|
flex-direction: column;
|
|
222
224
|
|
|
223
|
-
@nest .topPromo & {
|
|
224
|
-
justify-content: flex-start;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
225
|
@media (--large) {
|
|
228
226
|
@nest .noSide & {
|
|
229
227
|
padding: var(--mds-spacing-07) 0 var(--mds-spacing-09)
|
|
@@ -353,5 +351,10 @@ packages/react-components/src/components/nav-panel/components/link-list/style.mo
|
|
|
353
351
|
|
|
354
352
|
/* Copied from packages/mds-tokens/src/helper-classes/typography.css */
|
|
355
353
|
.sidePanelText {
|
|
354
|
+
font-family: var(--mds-typography-font-stack-text);
|
|
355
|
+
font-size: var(--mds-typography-body-200-font-size);
|
|
356
|
+
line-height: var(--mds-typography-body-200-line-height);
|
|
357
|
+
margin: 0;
|
|
358
|
+
padding: 0;
|
|
356
359
|
font-weight: var(--mds-typography-font-weight-semibold);
|
|
357
360
|
}
|