@xhsreds/reds-token-next 0.2.3 → 0.2.4-beta202411211428

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.
@@ -0,0 +1,108 @@
1
+ 'use strict';
2
+
3
+ var fontWeight = require('../const/fontWeight.js');
4
+
5
+ const H1 = {
6
+ FontWeight: fontWeight.FontWeight.Semibold,
7
+ FontSize: 32,
8
+ LineHeight: 40
9
+ };
10
+ const H2 = {
11
+ FontWeight: fontWeight.FontWeight.Semibold,
12
+ FontSize: 24,
13
+ LineHeight: 32
14
+ };
15
+ const H3 = {
16
+ FontWeight: fontWeight.FontWeight.Semibold,
17
+ FontSize: 20,
18
+ LineHeight: 28
19
+ };
20
+ const T1 = {
21
+ FontWeight: fontWeight.FontWeight.Semibold,
22
+ FontSize: 18,
23
+ LineHeight: 26
24
+ };
25
+ const T2 = {
26
+ FontWeight: fontWeight.FontWeight.Medium,
27
+ FontSize: 16,
28
+ LineHeight: 24
29
+ };
30
+ const T3 = {
31
+ FontWeight: fontWeight.FontWeight.Medium,
32
+ FontSize: 14,
33
+ LineHeight: 20
34
+ };
35
+ const B1 = {
36
+ FontWeight: fontWeight.FontWeight.Regular,
37
+ FontSize: 16,
38
+ LineHeight: 24
39
+ };
40
+ const B1Loose = {
41
+ FontWeight: fontWeight.FontWeight.Regular,
42
+ FontSize: 16,
43
+ LineHeight: 26
44
+ };
45
+ const B2 = {
46
+ FontWeight: fontWeight.FontWeight.Regular,
47
+ FontSize: 14,
48
+ LineHeight: 20
49
+ };
50
+ const B2Loose = {
51
+ FontWeight: fontWeight.FontWeight.Regular,
52
+ FontSize: 14,
53
+ LineHeight: 22
54
+ };
55
+ const B2LooseSwitch = {
56
+ FontWeight: fontWeight.FontWeight.Regular,
57
+ FontSize: 15,
58
+ LineHeight: 22
59
+ };
60
+ const C1 = {
61
+ FontWeight: fontWeight.FontWeight.Regular,
62
+ FontSize: 13,
63
+ LineHeight: 20
64
+ };
65
+ const C1Emphasized = {
66
+ FontWeight: fontWeight.FontWeight.Medium,
67
+ FontSize: 13,
68
+ LineHeight: 20
69
+ };
70
+ const C2 = {
71
+ FontWeight: fontWeight.FontWeight.Regular,
72
+ FontSize: 12,
73
+ LineHeight: 18
74
+ };
75
+ const C2Emphasized = {
76
+ FontWeight: fontWeight.FontWeight.Medium,
77
+ FontSize: 12,
78
+ LineHeight: 18
79
+ };
80
+ const C3 = {
81
+ FontWeight: fontWeight.FontWeight.Regular,
82
+ FontSize: 10,
83
+ LineHeight: 14
84
+ };
85
+ const C3Emphasized = {
86
+ FontWeight: fontWeight.FontWeight.Medium,
87
+ FontSize: 10,
88
+ LineHeight: 14
89
+ };
90
+
91
+ exports.B1 = B1;
92
+ exports.B1Loose = B1Loose;
93
+ exports.B2 = B2;
94
+ exports.B2Loose = B2Loose;
95
+ exports.B2LooseSwitch = B2LooseSwitch;
96
+ exports.C1 = C1;
97
+ exports.C1Emphasized = C1Emphasized;
98
+ exports.C2 = C2;
99
+ exports.C2Emphasized = C2Emphasized;
100
+ exports.C3 = C3;
101
+ exports.C3Emphasized = C3Emphasized;
102
+ exports.H1 = H1;
103
+ exports.H2 = H2;
104
+ exports.H3 = H3;
105
+ exports.T1 = T1;
106
+ exports.T2 = T2;
107
+ exports.T3 = T3;
108
+ //# sourceMappingURL=adapterTypography.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"adapterTypography.js","sources":["../../../../src/const/typography/adapterTypography.ts"],"sourcesContent":["import { FontWeight } from \"../const/fontWeight\";\n\nexport const H1 = {\n FontWeight: FontWeight.Semibold,\n FontSize: 32,\n LineHeight: 40,\n};\n\nexport const H2 = {\n FontWeight: FontWeight.Semibold,\n FontSize: 24,\n LineHeight: 32,\n};\n\nexport const H3 = {\n FontWeight: FontWeight.Semibold,\n FontSize: 20,\n LineHeight: 28,\n};\n\nexport const T1 = {\n FontWeight: FontWeight.Semibold,\n FontSize: 18,\n LineHeight: 26,\n};\n\nexport const T2 = {\n FontWeight: FontWeight.Medium,\n FontSize: 16,\n LineHeight: 24,\n};\n\nexport const T3 = {\n FontWeight: FontWeight.Medium,\n FontSize: 14,\n LineHeight: 20,\n};\n\nexport const B1 = {\n FontWeight: FontWeight.Regular,\n FontSize: 16,\n LineHeight: 24,\n};\n\nexport const B1Loose = {\n FontWeight: FontWeight.Regular,\n FontSize: 16,\n LineHeight: 26,\n};\n\nexport const B2 = {\n FontWeight: FontWeight.Regular,\n FontSize: 14,\n LineHeight: 20,\n};\n\nexport const B2Loose = {\n FontWeight: FontWeight.Regular,\n FontSize: 14,\n LineHeight: 22,\n};\n\nexport const B2LooseSwitch = {\n FontWeight: FontWeight.Regular,\n FontSize: 15,\n LineHeight: 22,\n};\n\nexport const C1 = {\n FontWeight: FontWeight.Regular,\n FontSize: 13,\n LineHeight: 20,\n};\n\nexport const C1Emphasized = {\n FontWeight: FontWeight.Medium,\n FontSize: 13,\n LineHeight: 20,\n};\n\nexport const C2 = {\n FontWeight: FontWeight.Regular,\n FontSize: 12,\n LineHeight: 18,\n};\n\nexport const C2Emphasized = {\n FontWeight: FontWeight.Medium,\n FontSize: 12,\n LineHeight: 18,\n};\n\nexport const C3 = {\n FontWeight: FontWeight.Regular,\n FontSize: 10,\n LineHeight: 14,\n};\n\nexport const C3Emphasized = {\n FontWeight: FontWeight.Medium,\n FontSize: 10,\n LineHeight: 14,\n};\n"],"names":["FontWeight"],"mappings":";;;;AAEO,MAAM,EAAK,GAAA;AAAA,EAChB,YAAYA,qBAAW,CAAA,QAAA;AAAA,EACvB,QAAU,EAAA,EAAA;AAAA,EACV,UAAY,EAAA,EAAA;AACd,EAAA;AAEO,MAAM,EAAK,GAAA;AAAA,EAChB,YAAYA,qBAAW,CAAA,QAAA;AAAA,EACvB,QAAU,EAAA,EAAA;AAAA,EACV,UAAY,EAAA,EAAA;AACd,EAAA;AAEO,MAAM,EAAK,GAAA;AAAA,EAChB,YAAYA,qBAAW,CAAA,QAAA;AAAA,EACvB,QAAU,EAAA,EAAA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A;AAEO,MAAM,YAAe,GAAA;AAAA,EAC1B,YAAYA,qBAAW,CAAA,MAAA;AAAA,EACvB,QAAU,EAAA,EAAA;AAAA,EACV,UAAY,EAAA,EAAA;AACd,EAAA;AAEO,MAAM,EAAK,GAAA;AAAA,EAChB,YAAYA,qBAAW,CAAA,OAAA;AAAA,EACvB,QAAU,EAAA,EAAA;AAAA,EACV,UAAY,EAAA,EAAA;AACd,EAAA;AAEO,MAAM,YAAe,GAAA;AAAA,EAC1B,YAAYA,qBAAW,CAAA,MAAA;AAAA,EACvB,QAAU,EAAA,EAAA;AAAA,EACV,UAAY,EAAA,EAAA;AACd,EAAA;AAEO,MAAM,EAAK,GAAA;AAAA,EAChB,YAAYA,qBAAW,CAAA,OAAA;AAAA,EACvB,QAAU,EAAA,EAAA;AAAA,EACV,UAAY,EAAA,EAAA;AACd,EAAA;AAEO,MAAM,YAAe,GAAA;AAAA,EAC1B,YAAYA,qBAAW,CAAA,MAAA;AAAA,EACvB,QAAU,EAAA,EAAA;AAAA,EACV,UAAY,EAAA,EAAA;AACd;;;;;;;;;;;;;;;;;;;;"}
package/lib/cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var dark = require('./const/colors/dark.js');
6
6
  var index = require('./const/typography/index.js');
7
7
  var index$1 = require('./const/number/index.js');
8
8
  var fontWeight = require('./const/const/fontWeight.js');
9
+ var adapterTypography = require('./const/typography/adapterTypography.js');
9
10
 
10
11
 
11
12
 
@@ -15,4 +16,5 @@ exports.darkColor = dark;
15
16
  exports.typography = index;
16
17
  exports.number = index$1;
17
18
  exports.fontWeight = fontWeight;
19
+ exports.adapterTypography = adapterTypography;
18
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,90 @@
1
+ import { FontWeight } from '../const/fontWeight.js';
2
+
3
+ const H1 = {
4
+ FontWeight: FontWeight.Semibold,
5
+ FontSize: 32,
6
+ LineHeight: 40
7
+ };
8
+ const H2 = {
9
+ FontWeight: FontWeight.Semibold,
10
+ FontSize: 24,
11
+ LineHeight: 32
12
+ };
13
+ const H3 = {
14
+ FontWeight: FontWeight.Semibold,
15
+ FontSize: 20,
16
+ LineHeight: 28
17
+ };
18
+ const T1 = {
19
+ FontWeight: FontWeight.Semibold,
20
+ FontSize: 18,
21
+ LineHeight: 26
22
+ };
23
+ const T2 = {
24
+ FontWeight: FontWeight.Medium,
25
+ FontSize: 16,
26
+ LineHeight: 24
27
+ };
28
+ const T3 = {
29
+ FontWeight: FontWeight.Medium,
30
+ FontSize: 14,
31
+ LineHeight: 20
32
+ };
33
+ const B1 = {
34
+ FontWeight: FontWeight.Regular,
35
+ FontSize: 16,
36
+ LineHeight: 24
37
+ };
38
+ const B1Loose = {
39
+ FontWeight: FontWeight.Regular,
40
+ FontSize: 16,
41
+ LineHeight: 26
42
+ };
43
+ const B2 = {
44
+ FontWeight: FontWeight.Regular,
45
+ FontSize: 14,
46
+ LineHeight: 20
47
+ };
48
+ const B2Loose = {
49
+ FontWeight: FontWeight.Regular,
50
+ FontSize: 14,
51
+ LineHeight: 22
52
+ };
53
+ const B2LooseSwitch = {
54
+ FontWeight: FontWeight.Regular,
55
+ FontSize: 15,
56
+ LineHeight: 22
57
+ };
58
+ const C1 = {
59
+ FontWeight: FontWeight.Regular,
60
+ FontSize: 13,
61
+ LineHeight: 20
62
+ };
63
+ const C1Emphasized = {
64
+ FontWeight: FontWeight.Medium,
65
+ FontSize: 13,
66
+ LineHeight: 20
67
+ };
68
+ const C2 = {
69
+ FontWeight: FontWeight.Regular,
70
+ FontSize: 12,
71
+ LineHeight: 18
72
+ };
73
+ const C2Emphasized = {
74
+ FontWeight: FontWeight.Medium,
75
+ FontSize: 12,
76
+ LineHeight: 18
77
+ };
78
+ const C3 = {
79
+ FontWeight: FontWeight.Regular,
80
+ FontSize: 10,
81
+ LineHeight: 14
82
+ };
83
+ const C3Emphasized = {
84
+ FontWeight: FontWeight.Medium,
85
+ FontSize: 10,
86
+ LineHeight: 14
87
+ };
88
+
89
+ export { B1, B1Loose, B2, B2Loose, B2LooseSwitch, C1, C1Emphasized, C2, C2Emphasized, C3, C3Emphasized, H1, H2, H3, T1, T2, T3 };
90
+ //# sourceMappingURL=adapterTypography.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"adapterTypography.js","sources":["../../../../src/const/typography/adapterTypography.ts"],"sourcesContent":["import { FontWeight } from \"../const/fontWeight\";\n\nexport const H1 = {\n FontWeight: FontWeight.Semibold,\n FontSize: 32,\n LineHeight: 40,\n};\n\nexport const H2 = {\n FontWeight: FontWeight.Semibold,\n FontSize: 24,\n LineHeight: 32,\n};\n\nexport const H3 = {\n FontWeight: FontWeight.Semibold,\n FontSize: 20,\n LineHeight: 28,\n};\n\nexport const T1 = {\n FontWeight: FontWeight.Semibold,\n FontSize: 18,\n LineHeight: 26,\n};\n\nexport const T2 = {\n FontWeight: FontWeight.Medium,\n FontSize: 16,\n LineHeight: 24,\n};\n\nexport const T3 = {\n FontWeight: FontWeight.Medium,\n FontSize: 14,\n LineHeight: 20,\n};\n\nexport const B1 = {\n FontWeight: FontWeight.Regular,\n FontSize: 16,\n LineHeight: 24,\n};\n\nexport const B1Loose = {\n FontWeight: FontWeight.Regular,\n FontSize: 16,\n LineHeight: 26,\n};\n\nexport const B2 = {\n FontWeight: FontWeight.Regular,\n FontSize: 14,\n LineHeight: 20,\n};\n\nexport const B2Loose = {\n FontWeight: FontWeight.Regular,\n FontSize: 14,\n LineHeight: 22,\n};\n\nexport const B2LooseSwitch = {\n FontWeight: FontWeight.Regular,\n FontSize: 15,\n LineHeight: 22,\n};\n\nexport const C1 = {\n FontWeight: FontWeight.Regular,\n FontSize: 13,\n LineHeight: 20,\n};\n\nexport const C1Emphasized = {\n FontWeight: FontWeight.Medium,\n FontSize: 13,\n LineHeight: 20,\n};\n\nexport const C2 = {\n FontWeight: FontWeight.Regular,\n FontSize: 12,\n LineHeight: 18,\n};\n\nexport const C2Emphasized = {\n FontWeight: FontWeight.Medium,\n FontSize: 12,\n LineHeight: 18,\n};\n\nexport const C3 = {\n FontWeight: FontWeight.Regular,\n FontSize: 10,\n LineHeight: 14,\n};\n\nexport const C3Emphasized = {\n FontWeight: FontWeight.Medium,\n FontSize: 10,\n LineHeight: 14,\n};\n"],"names":[],"mappings":";;AAEO,MAAM,EAAK,GAAA;AAAA,EAChB,YAAY,UAAW,CAAA,QAAA;AAAA,EACvB,QAAU,EAAA,EAAA;AAAA,EACV,UAAY,EAAA,EAAA;AACd,EAAA;AAEO,MAAM,EAAK,GAAA;AAAA,EAChB,YAAY,UAAW,CAAA,QAAA;AAAA,EACvB,QAAU,EAAA,EAAA;AAAA,EACV,UAAY,EAAA,EAAA;AACd,EAAA;AAEO,MAAM,EAAK,GAAA;AAAA,EAChB,YAAY,UAAW,CAAA,QAAA;AAAA,EACvB,QAAU,EAAA,EAAA;AAAA,EACV,UAAY,EAAA,EAAA;AACd,EAAA;AAEO,MAAM,EAAK,GAAA;AAAA,EAChB,YAAY,UAAW,CAAA,QAAA;AAAA,EACvB,QAAU,EAAA,EAAA;AAAA,EACV,UAAY,EAAA,EAAA;AACd,EAAA;AAEO,MAAM,EAAK,GAAA;AAAA,EAChB,YAAY,UAAW,CAAA,MAAA;AAAA,EACvB,QAAU,EAAA,EAAA;AAAA,EACV,UAAY,EAAA,EAAA;AACd,EAAA;AAEO,MAAM,EAAK,GAAA;AAAA,EAChB,YAAY,UAAW,CAAA,MAAA;AAAA,EACvB,QAAU,EAAA,EAAA;AAAA,EACV,UAAY,EAAA,EAAA;AACd,EAAA;AAEO,MAAM,EAAK,GAAA;AAAA,EAChB,YAAY,UAAW,CAAA,OAAA;AAAA,EACvB,QAAU,EAAA,EAAA;AAAA,EACV,UAAY,EAAA,EAAA;AACd,EAAA;AAEO,MA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,EACvB,QAAU,EAAA,EAAA;AAAA,EACV,UAAY,EAAA,EAAA;AACd;;;;"}
package/lib/esm/index.js CHANGED
@@ -10,4 +10,6 @@ import * as index$1 from './const/number/index.js';
10
10
  export { index$1 as number };
11
11
  import * as fontWeight from './const/const/fontWeight.js';
12
12
  export { fontWeight };
13
+ import * as adapterTypography from './const/typography/adapterTypography.js';
14
+ export { adapterTypography };
13
15
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
@@ -0,0 +1,87 @@
1
+ declare const H1: {
2
+ FontWeight: "400" | "500" | "600" | "700";
3
+ FontSize: number;
4
+ LineHeight: number;
5
+ };
6
+ declare const H2: {
7
+ FontWeight: "400" | "500" | "600" | "700";
8
+ FontSize: number;
9
+ LineHeight: number;
10
+ };
11
+ declare const H3: {
12
+ FontWeight: "400" | "500" | "600" | "700";
13
+ FontSize: number;
14
+ LineHeight: number;
15
+ };
16
+ declare const T1: {
17
+ FontWeight: "400" | "500" | "600" | "700";
18
+ FontSize: number;
19
+ LineHeight: number;
20
+ };
21
+ declare const T2: {
22
+ FontWeight: "400" | "500" | "600" | "700";
23
+ FontSize: number;
24
+ LineHeight: number;
25
+ };
26
+ declare const T3: {
27
+ FontWeight: "400" | "500" | "600" | "700";
28
+ FontSize: number;
29
+ LineHeight: number;
30
+ };
31
+ declare const B1: {
32
+ FontWeight: "400" | "500" | "600" | "700";
33
+ FontSize: number;
34
+ LineHeight: number;
35
+ };
36
+ declare const B1Loose: {
37
+ FontWeight: "400" | "500" | "600" | "700";
38
+ FontSize: number;
39
+ LineHeight: number;
40
+ };
41
+ declare const B2: {
42
+ FontWeight: "400" | "500" | "600" | "700";
43
+ FontSize: number;
44
+ LineHeight: number;
45
+ };
46
+ declare const B2Loose: {
47
+ FontWeight: "400" | "500" | "600" | "700";
48
+ FontSize: number;
49
+ LineHeight: number;
50
+ };
51
+ declare const B2LooseSwitch: {
52
+ FontWeight: "400" | "500" | "600" | "700";
53
+ FontSize: number;
54
+ LineHeight: number;
55
+ };
56
+ declare const C1: {
57
+ FontWeight: "400" | "500" | "600" | "700";
58
+ FontSize: number;
59
+ LineHeight: number;
60
+ };
61
+ declare const C1Emphasized: {
62
+ FontWeight: "400" | "500" | "600" | "700";
63
+ FontSize: number;
64
+ LineHeight: number;
65
+ };
66
+ declare const C2: {
67
+ FontWeight: "400" | "500" | "600" | "700";
68
+ FontSize: number;
69
+ LineHeight: number;
70
+ };
71
+ declare const C2Emphasized: {
72
+ FontWeight: "400" | "500" | "600" | "700";
73
+ FontSize: number;
74
+ LineHeight: number;
75
+ };
76
+ declare const C3: {
77
+ FontWeight: "400" | "500" | "600" | "700";
78
+ FontSize: number;
79
+ LineHeight: number;
80
+ };
81
+ declare const C3Emphasized: {
82
+ FontWeight: "400" | "500" | "600" | "700";
83
+ FontSize: number;
84
+ LineHeight: number;
85
+ };
86
+
87
+ export { B1, B1Loose, B2, B2Loose, B2LooseSwitch, C1, C1Emphasized, C2, C2Emphasized, C3, C3Emphasized, H1, H2, H3, T1, T2, T3 };
@@ -10,4 +10,6 @@ import * as index$1 from './const/number/index.js';
10
10
  export { index$1 as number };
11
11
  import * as fontWeight from './const/const/fontWeight.js';
12
12
  export { fontWeight };
13
+ import * as adapterTypography from './const/typography/adapterTypography.js';
14
+ export { adapterTypography };
13
15
  export { AlwaysToken, DarkToken, LightToken } from './interface/index.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xhsreds/reds-token-next",
3
- "version": "0.2.3",
3
+ "version": "0.2.4-beta202411211428",
4
4
  "description": "ReDS style utils",
5
5
  "main": "lib/cjs/index.js",
6
6
  "typings": "lib/types/index.d.ts",
@@ -4,3 +4,4 @@ export * as darkColor from "./colors/dark";
4
4
  export * as typography from "./typography";
5
5
  export * as number from "./number";
6
6
  export * as fontWeight from "./const/fontWeight";
7
+ export * as adapterTypography from "./typography/adapterTypography";
@@ -0,0 +1,103 @@
1
+ import { FontWeight } from "../const/fontWeight";
2
+
3
+ export const H1 = {
4
+ FontWeight: FontWeight.Semibold,
5
+ FontSize: 32,
6
+ LineHeight: 40,
7
+ };
8
+
9
+ export const H2 = {
10
+ FontWeight: FontWeight.Semibold,
11
+ FontSize: 24,
12
+ LineHeight: 32,
13
+ };
14
+
15
+ export const H3 = {
16
+ FontWeight: FontWeight.Semibold,
17
+ FontSize: 20,
18
+ LineHeight: 28,
19
+ };
20
+
21
+ export const T1 = {
22
+ FontWeight: FontWeight.Semibold,
23
+ FontSize: 18,
24
+ LineHeight: 26,
25
+ };
26
+
27
+ export const T2 = {
28
+ FontWeight: FontWeight.Medium,
29
+ FontSize: 16,
30
+ LineHeight: 24,
31
+ };
32
+
33
+ export const T3 = {
34
+ FontWeight: FontWeight.Medium,
35
+ FontSize: 14,
36
+ LineHeight: 20,
37
+ };
38
+
39
+ export const B1 = {
40
+ FontWeight: FontWeight.Regular,
41
+ FontSize: 16,
42
+ LineHeight: 24,
43
+ };
44
+
45
+ export const B1Loose = {
46
+ FontWeight: FontWeight.Regular,
47
+ FontSize: 16,
48
+ LineHeight: 26,
49
+ };
50
+
51
+ export const B2 = {
52
+ FontWeight: FontWeight.Regular,
53
+ FontSize: 14,
54
+ LineHeight: 20,
55
+ };
56
+
57
+ export const B2Loose = {
58
+ FontWeight: FontWeight.Regular,
59
+ FontSize: 14,
60
+ LineHeight: 22,
61
+ };
62
+
63
+ export const B2LooseSwitch = {
64
+ FontWeight: FontWeight.Regular,
65
+ FontSize: 15,
66
+ LineHeight: 22,
67
+ };
68
+
69
+ export const C1 = {
70
+ FontWeight: FontWeight.Regular,
71
+ FontSize: 13,
72
+ LineHeight: 20,
73
+ };
74
+
75
+ export const C1Emphasized = {
76
+ FontWeight: FontWeight.Medium,
77
+ FontSize: 13,
78
+ LineHeight: 20,
79
+ };
80
+
81
+ export const C2 = {
82
+ FontWeight: FontWeight.Regular,
83
+ FontSize: 12,
84
+ LineHeight: 18,
85
+ };
86
+
87
+ export const C2Emphasized = {
88
+ FontWeight: FontWeight.Medium,
89
+ FontSize: 12,
90
+ LineHeight: 18,
91
+ };
92
+
93
+ export const C3 = {
94
+ FontWeight: FontWeight.Regular,
95
+ FontSize: 10,
96
+ LineHeight: 14,
97
+ };
98
+
99
+ export const C3Emphasized = {
100
+ FontWeight: FontWeight.Medium,
101
+ FontSize: 10,
102
+ LineHeight: 14,
103
+ };