react-asc 21.2.0 → 21.2.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 (2) hide show
  1. package/package.json +1 -1
  2. package/react-asc.scss +31 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-asc",
3
- "version": "21.2.0",
3
+ "version": "21.2.1",
4
4
  "description": "handcrafted react components",
5
5
  "main": "index.js",
6
6
  "module": "index.es.js",
package/react-asc.scss CHANGED
@@ -64,6 +64,16 @@
64
64
  --fontWeight: 400;
65
65
 
66
66
  --fontLineHeight: 1.5;
67
+
68
+ --textBody1FontSize: 13px;
69
+ --textBody1LineHeight: 18px;
70
+
71
+ --textBody2FontSize: 13px;
72
+ --textBody2LineHeight: 18px;
73
+
74
+ --textOverlineFontSize: 13px;
75
+ --textOverlineLineHeight: 18px;
76
+ --textOverlineTransform: uppercase;
67
77
  }
68
78
 
69
79
  :root {
@@ -304,3 +314,24 @@ label.required {
304
314
  vertical-align: text-top;
305
315
  }
306
316
  }
317
+
318
+ .overline {
319
+ font-size: var(--textOverlineFontSize) !important;
320
+ line-height: var(--textOverlineLineHeight) !important;
321
+ text-transform: var(--textOverlineTransform) !important;
322
+ font-weight: bold;
323
+ }
324
+
325
+ .body1 {
326
+ font-size: var(--textBody1FontSize) !important;
327
+ line-height: var(--textBody1LineHeight) !important;
328
+ }
329
+
330
+ .body2 {
331
+ font-size: var(--textBody2FontSize) !important;
332
+ line-height: var(--textBody2LineHeight) !important;
333
+ }
334
+
335
+ .uppercase {
336
+ text-transform: uppercase !important;
337
+ }