@atb-as/theme 5.0.0 → 5.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.
- package/package.json +1 -1
- package/lib/colors.d.ts +0 -76
- package/lib/colors.js +0 -84
- package/lib/colors.js.map +0 -1
- package/lib/index.d.ts +0 -3
- package/lib/index.js +0 -16
- package/lib/index.js.map +0 -1
- package/lib/sizes.d.ts +0 -22
- package/lib/sizes.js +0 -25
- package/lib/sizes.js.map +0 -1
- package/lib/theme.css +0 -429
- package/lib/theme.d.ts +0 -122
- package/lib/theme.js +0 -80
- package/lib/theme.js.map +0 -1
- package/lib/theme.module.css +0 -429
- package/lib/themes/atb-theme/colors.d.ts +0 -76
- package/lib/themes/atb-theme/colors.js +0 -84
- package/lib/themes/atb-theme/colors.js.map +0 -1
- package/lib/themes/atb-theme/theme.css +0 -332
- package/lib/themes/atb-theme/theme.d.ts +0 -79
- package/lib/themes/atb-theme/theme.js +0 -215
- package/lib/themes/atb-theme/theme.js.map +0 -1
- package/lib/themes/atb-theme/theme.module.css +0 -332
- package/lib/themes/index.d.ts +0 -2
- package/lib/themes/index.js +0 -11
- package/lib/themes/index.js.map +0 -1
- package/lib/themes/nfk-theme/colors.d.ts +0 -76
- package/lib/themes/nfk-theme/colors.js +0 -84
- package/lib/themes/nfk-theme/colors.js.map +0 -1
- package/lib/themes/nfk-theme/theme.css +0 -332
- package/lib/themes/nfk-theme/theme.d.ts +0 -3
- package/lib/themes/nfk-theme/theme.js +0 -142
- package/lib/themes/nfk-theme/theme.js.map +0 -1
- package/lib/themes/nfk-theme/theme.module.css +0 -332
- package/lib/typography/android.d.ts +0 -3
- package/lib/typography/android.js +0 -59
- package/lib/typography/android.js.map +0 -1
- package/lib/typography/index.d.ts +0 -63
- package/lib/typography/index.js +0 -94
- package/lib/typography/index.js.map +0 -1
- package/lib/typography/ios.d.ts +0 -3
- package/lib/typography/ios.js +0 -58
- package/lib/typography/ios.js.map +0 -1
- package/lib/typography/types.d.ts +0 -20
- package/lib/typography/types.js +0 -18
- package/lib/typography/types.js.map +0 -1
- package/lib/typography.css +0 -156
- package/lib/typography.module.css +0 -156
- package/lib/utils/override-config.d.ts +0 -8
- package/lib/utils/override-config.js +0 -38
- package/lib/utils/override-config.js.map +0 -1
package/lib/typography.css
DELETED
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
/* Require included fonts. Fetched from URLs and not locally
|
|
3
|
-
to leverage better CDN caching. */
|
|
4
|
-
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
|
|
5
|
-
|
|
6
|
-
/* Base Typgraphy Custom Properties */
|
|
7
|
-
:root {
|
|
8
|
-
/* Definitions for body__primary */
|
|
9
|
-
--baseTypo-body__primary-fontSize: 1rem;
|
|
10
|
-
--baseTypo-body__primary-lineHeight: 1.25rem;
|
|
11
|
-
--baseTypo-body__primary-letterSpacing: 0.03125rem;
|
|
12
|
-
|
|
13
|
-
/* Definitions for body__primary--bold */
|
|
14
|
-
--baseTypo-body__primary--bold-fontSize: 1rem;
|
|
15
|
-
--baseTypo-body__primary--bold-lineHeight: 1.25rem;
|
|
16
|
-
--baseTypo-body__primary--bold-letterSpacing: 0.03125rem;
|
|
17
|
-
--baseTypo-body__primary--bold-fontWeight: 500;
|
|
18
|
-
|
|
19
|
-
/* Definitions for body__primary--underline */
|
|
20
|
-
--baseTypo-body__primary--underline-fontSize: 1rem;
|
|
21
|
-
--baseTypo-body__primary--underline-lineHeight: 1.25rem;
|
|
22
|
-
--baseTypo-body__primary--underline-letterSpacing: 0.03125rem;
|
|
23
|
-
--baseTypo-body__primary--underline-textDecorationLine: underline;
|
|
24
|
-
|
|
25
|
-
/* Definitions for body__primary--jumbo */
|
|
26
|
-
--baseTypo-body__primary--jumbo-fontSize: 2.25rem;
|
|
27
|
-
--baseTypo-body__primary--jumbo-lineHeight: 2.5rem;
|
|
28
|
-
--baseTypo-body__primary--jumbo-letterSpacing: 0.015625rem;
|
|
29
|
-
|
|
30
|
-
/* Definitions for body__primary--jumbo--bold */
|
|
31
|
-
--baseTypo-body__primary--jumbo--bold-fontSize: 2.25rem;
|
|
32
|
-
--baseTypo-body__primary--jumbo--bold-lineHeight: 2.5rem;
|
|
33
|
-
--baseTypo-body__primary--jumbo--bold-letterSpacing: 0.015625rem;
|
|
34
|
-
--baseTypo-body__primary--jumbo--bold-fontWeight: bold;
|
|
35
|
-
|
|
36
|
-
/* Definitions for body__secondary */
|
|
37
|
-
--baseTypo-body__secondary-fontSize: 0.875rem;
|
|
38
|
-
--baseTypo-body__secondary-lineHeight: 1.25rem;
|
|
39
|
-
--baseTypo-body__secondary-letterSpacing: 0.015625rem;
|
|
40
|
-
|
|
41
|
-
/* Definitions for body__secondary--bold */
|
|
42
|
-
--baseTypo-body__secondary--bold-fontSize: 0.875rem;
|
|
43
|
-
--baseTypo-body__secondary--bold-lineHeight: 1.25rem;
|
|
44
|
-
--baseTypo-body__secondary--bold-letterSpacing: 0.015625rem;
|
|
45
|
-
--baseTypo-body__secondary--bold-fontWeight: 500;
|
|
46
|
-
|
|
47
|
-
/* Definitions for body__tertiary */
|
|
48
|
-
--baseTypo-body__tertiary-fontSize: 0.75rem;
|
|
49
|
-
--baseTypo-body__tertiary-lineHeight: 1rem;
|
|
50
|
-
--baseTypo-body__tertiary-letterSpacing: 0.025rem;
|
|
51
|
-
|
|
52
|
-
/* Definitions for body__tertiary--strike */
|
|
53
|
-
--baseTypo-body__tertiary--strike-fontSize: 0.75rem;
|
|
54
|
-
--baseTypo-body__tertiary--strike-lineHeight: 1rem;
|
|
55
|
-
--baseTypo-body__tertiary--strike-letterSpacing: 0.025rem;
|
|
56
|
-
--baseTypo-body__tertiary--strike-textDecorationLine: line-through;
|
|
57
|
-
|
|
58
|
-
/* Definitions for heading__title */
|
|
59
|
-
--baseTypo-heading__title-fontSize: 1rem;
|
|
60
|
-
--baseTypo-heading__title-lineHeight: 1.25rem;
|
|
61
|
-
--baseTypo-heading__title-letterSpacing: 0.03125rem;
|
|
62
|
-
--baseTypo-heading__title-fontWeight: bold;
|
|
63
|
-
|
|
64
|
-
/* Definitions for heading__component */
|
|
65
|
-
--baseTypo-heading__component-fontSize: 1rem;
|
|
66
|
-
--baseTypo-heading__component-lineHeight: 1.25rem;
|
|
67
|
-
--baseTypo-heading__component-letterSpacing: 0.03125rem;
|
|
68
|
-
--baseTypo-heading__component-fontWeight: 500;
|
|
69
|
-
|
|
70
|
-
/* Definitions for heading__paragraph */
|
|
71
|
-
--baseTypo-heading__paragraph-fontSize: 1rem;
|
|
72
|
-
--baseTypo-heading__paragraph-lineHeight: 1.25rem;
|
|
73
|
-
--baseTypo-heading__paragraph-letterSpacing: 0.03125rem;
|
|
74
|
-
--baseTypo-heading__paragraph-fontWeight: 500;
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
/* Included font types */
|
|
78
|
-
--font-main: 'Roboto', sans-serif;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
/* Main setup, base size and main font */
|
|
82
|
-
html {
|
|
83
|
-
font-family: var(--font-main);
|
|
84
|
-
/* Default base size. */
|
|
85
|
-
font-size: 100%;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
/* Typography definitions */
|
|
89
|
-
.typo-body__primary {
|
|
90
|
-
font-size: var(--baseTypo-body__primary-fontSize, 1rem);
|
|
91
|
-
line-height: var(--baseTypo-body__primary-lineHeight, 1.25rem);
|
|
92
|
-
letter-spacing: var(--baseTypo-body__primary-letterSpacing, 0.03125rem);
|
|
93
|
-
}
|
|
94
|
-
.typo-body__primary--bold {
|
|
95
|
-
font-size: var(--baseTypo-body__primary--bold-fontSize, 1rem);
|
|
96
|
-
line-height: var(--baseTypo-body__primary--bold-lineHeight, 1.25rem);
|
|
97
|
-
letter-spacing: var(--baseTypo-body__primary--bold-letterSpacing, 0.03125rem);
|
|
98
|
-
font-weight: var(--baseTypo-body__primary--bold-fontWeight, 500);
|
|
99
|
-
}
|
|
100
|
-
.typo-body__primary--underline {
|
|
101
|
-
font-size: var(--baseTypo-body__primary--underline-fontSize, 1rem);
|
|
102
|
-
line-height: var(--baseTypo-body__primary--underline-lineHeight, 1.25rem);
|
|
103
|
-
letter-spacing: var(--baseTypo-body__primary--underline-letterSpacing, 0.03125rem);
|
|
104
|
-
text-decoration: var(--baseTypo-body__primary--underline-textDecorationLine, underline);
|
|
105
|
-
}
|
|
106
|
-
.typo-body__primary--jumbo {
|
|
107
|
-
font-size: var(--baseTypo-body__primary--jumbo-fontSize, 2.25rem);
|
|
108
|
-
line-height: var(--baseTypo-body__primary--jumbo-lineHeight, 2.5rem);
|
|
109
|
-
letter-spacing: var(--baseTypo-body__primary--jumbo-letterSpacing, 0.015625rem);
|
|
110
|
-
}
|
|
111
|
-
.typo-body__primary--jumbo--bold {
|
|
112
|
-
font-size: var(--baseTypo-body__primary--jumbo--bold-fontSize, 2.25rem);
|
|
113
|
-
line-height: var(--baseTypo-body__primary--jumbo--bold-lineHeight, 2.5rem);
|
|
114
|
-
letter-spacing: var(--baseTypo-body__primary--jumbo--bold-letterSpacing, 0.015625rem);
|
|
115
|
-
font-weight: var(--baseTypo-body__primary--jumbo--bold-fontWeight, bold);
|
|
116
|
-
}
|
|
117
|
-
.typo-body__secondary {
|
|
118
|
-
font-size: var(--baseTypo-body__secondary-fontSize, 0.875rem);
|
|
119
|
-
line-height: var(--baseTypo-body__secondary-lineHeight, 1.25rem);
|
|
120
|
-
letter-spacing: var(--baseTypo-body__secondary-letterSpacing, 0.015625rem);
|
|
121
|
-
}
|
|
122
|
-
.typo-body__secondary--bold {
|
|
123
|
-
font-size: var(--baseTypo-body__secondary--bold-fontSize, 0.875rem);
|
|
124
|
-
line-height: var(--baseTypo-body__secondary--bold-lineHeight, 1.25rem);
|
|
125
|
-
letter-spacing: var(--baseTypo-body__secondary--bold-letterSpacing, 0.015625rem);
|
|
126
|
-
font-weight: var(--baseTypo-body__secondary--bold-fontWeight, 500);
|
|
127
|
-
}
|
|
128
|
-
.typo-body__tertiary {
|
|
129
|
-
font-size: var(--baseTypo-body__tertiary-fontSize, 0.75rem);
|
|
130
|
-
line-height: var(--baseTypo-body__tertiary-lineHeight, 1rem);
|
|
131
|
-
letter-spacing: var(--baseTypo-body__tertiary-letterSpacing, 0.025rem);
|
|
132
|
-
}
|
|
133
|
-
.typo-body__tertiary--strike {
|
|
134
|
-
font-size: var(--baseTypo-body__tertiary--strike-fontSize, 0.75rem);
|
|
135
|
-
line-height: var(--baseTypo-body__tertiary--strike-lineHeight, 1rem);
|
|
136
|
-
letter-spacing: var(--baseTypo-body__tertiary--strike-letterSpacing, 0.025rem);
|
|
137
|
-
text-decoration: var(--baseTypo-body__tertiary--strike-textDecorationLine, line-through);
|
|
138
|
-
}
|
|
139
|
-
.typo-heading__title {
|
|
140
|
-
font-size: var(--baseTypo-heading__title-fontSize, 1rem);
|
|
141
|
-
line-height: var(--baseTypo-heading__title-lineHeight, 1.25rem);
|
|
142
|
-
letter-spacing: var(--baseTypo-heading__title-letterSpacing, 0.03125rem);
|
|
143
|
-
font-weight: var(--baseTypo-heading__title-fontWeight, bold);
|
|
144
|
-
}
|
|
145
|
-
.typo-heading__component {
|
|
146
|
-
font-size: var(--baseTypo-heading__component-fontSize, 1rem);
|
|
147
|
-
line-height: var(--baseTypo-heading__component-lineHeight, 1.25rem);
|
|
148
|
-
letter-spacing: var(--baseTypo-heading__component-letterSpacing, 0.03125rem);
|
|
149
|
-
font-weight: var(--baseTypo-heading__component-fontWeight, 500);
|
|
150
|
-
}
|
|
151
|
-
.typo-heading__paragraph {
|
|
152
|
-
font-size: var(--baseTypo-heading__paragraph-fontSize, 1rem);
|
|
153
|
-
line-height: var(--baseTypo-heading__paragraph-lineHeight, 1.25rem);
|
|
154
|
-
letter-spacing: var(--baseTypo-heading__paragraph-letterSpacing, 0.03125rem);
|
|
155
|
-
font-weight: var(--baseTypo-heading__paragraph-fontWeight, 500);
|
|
156
|
-
}
|
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
/* Require included fonts. Fetched from URLs and not locally
|
|
3
|
-
to leverage better CDN caching. */
|
|
4
|
-
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
|
|
5
|
-
|
|
6
|
-
/* Base Typgraphy Custom Properties */
|
|
7
|
-
:root {
|
|
8
|
-
/* Definitions for body__primary */
|
|
9
|
-
--baseTypo-body__primary-fontSize: 1rem;
|
|
10
|
-
--baseTypo-body__primary-lineHeight: 1.25rem;
|
|
11
|
-
--baseTypo-body__primary-letterSpacing: 0.03125rem;
|
|
12
|
-
|
|
13
|
-
/* Definitions for body__primary--bold */
|
|
14
|
-
--baseTypo-body__primary--bold-fontSize: 1rem;
|
|
15
|
-
--baseTypo-body__primary--bold-lineHeight: 1.25rem;
|
|
16
|
-
--baseTypo-body__primary--bold-letterSpacing: 0.03125rem;
|
|
17
|
-
--baseTypo-body__primary--bold-fontWeight: 500;
|
|
18
|
-
|
|
19
|
-
/* Definitions for body__primary--underline */
|
|
20
|
-
--baseTypo-body__primary--underline-fontSize: 1rem;
|
|
21
|
-
--baseTypo-body__primary--underline-lineHeight: 1.25rem;
|
|
22
|
-
--baseTypo-body__primary--underline-letterSpacing: 0.03125rem;
|
|
23
|
-
--baseTypo-body__primary--underline-textDecorationLine: underline;
|
|
24
|
-
|
|
25
|
-
/* Definitions for body__primary--jumbo */
|
|
26
|
-
--baseTypo-body__primary--jumbo-fontSize: 2.25rem;
|
|
27
|
-
--baseTypo-body__primary--jumbo-lineHeight: 2.5rem;
|
|
28
|
-
--baseTypo-body__primary--jumbo-letterSpacing: 0.015625rem;
|
|
29
|
-
|
|
30
|
-
/* Definitions for body__primary--jumbo--bold */
|
|
31
|
-
--baseTypo-body__primary--jumbo--bold-fontSize: 2.25rem;
|
|
32
|
-
--baseTypo-body__primary--jumbo--bold-lineHeight: 2.5rem;
|
|
33
|
-
--baseTypo-body__primary--jumbo--bold-letterSpacing: 0.015625rem;
|
|
34
|
-
--baseTypo-body__primary--jumbo--bold-fontWeight: bold;
|
|
35
|
-
|
|
36
|
-
/* Definitions for body__secondary */
|
|
37
|
-
--baseTypo-body__secondary-fontSize: 0.875rem;
|
|
38
|
-
--baseTypo-body__secondary-lineHeight: 1.25rem;
|
|
39
|
-
--baseTypo-body__secondary-letterSpacing: 0.015625rem;
|
|
40
|
-
|
|
41
|
-
/* Definitions for body__secondary--bold */
|
|
42
|
-
--baseTypo-body__secondary--bold-fontSize: 0.875rem;
|
|
43
|
-
--baseTypo-body__secondary--bold-lineHeight: 1.25rem;
|
|
44
|
-
--baseTypo-body__secondary--bold-letterSpacing: 0.015625rem;
|
|
45
|
-
--baseTypo-body__secondary--bold-fontWeight: 500;
|
|
46
|
-
|
|
47
|
-
/* Definitions for body__tertiary */
|
|
48
|
-
--baseTypo-body__tertiary-fontSize: 0.75rem;
|
|
49
|
-
--baseTypo-body__tertiary-lineHeight: 1rem;
|
|
50
|
-
--baseTypo-body__tertiary-letterSpacing: 0.025rem;
|
|
51
|
-
|
|
52
|
-
/* Definitions for body__tertiary--strike */
|
|
53
|
-
--baseTypo-body__tertiary--strike-fontSize: 0.75rem;
|
|
54
|
-
--baseTypo-body__tertiary--strike-lineHeight: 1rem;
|
|
55
|
-
--baseTypo-body__tertiary--strike-letterSpacing: 0.025rem;
|
|
56
|
-
--baseTypo-body__tertiary--strike-textDecorationLine: line-through;
|
|
57
|
-
|
|
58
|
-
/* Definitions for heading__title */
|
|
59
|
-
--baseTypo-heading__title-fontSize: 1rem;
|
|
60
|
-
--baseTypo-heading__title-lineHeight: 1.25rem;
|
|
61
|
-
--baseTypo-heading__title-letterSpacing: 0.03125rem;
|
|
62
|
-
--baseTypo-heading__title-fontWeight: bold;
|
|
63
|
-
|
|
64
|
-
/* Definitions for heading__component */
|
|
65
|
-
--baseTypo-heading__component-fontSize: 1rem;
|
|
66
|
-
--baseTypo-heading__component-lineHeight: 1.25rem;
|
|
67
|
-
--baseTypo-heading__component-letterSpacing: 0.03125rem;
|
|
68
|
-
--baseTypo-heading__component-fontWeight: 500;
|
|
69
|
-
|
|
70
|
-
/* Definitions for heading__paragraph */
|
|
71
|
-
--baseTypo-heading__paragraph-fontSize: 1rem;
|
|
72
|
-
--baseTypo-heading__paragraph-lineHeight: 1.25rem;
|
|
73
|
-
--baseTypo-heading__paragraph-letterSpacing: 0.03125rem;
|
|
74
|
-
--baseTypo-heading__paragraph-fontWeight: 500;
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
/* Included font types */
|
|
78
|
-
--font-main: 'Roboto', sans-serif;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
/* Main setup, base size and main font */
|
|
82
|
-
:global(html) {
|
|
83
|
-
font-family: var(--font-main);
|
|
84
|
-
/* Default base size. */
|
|
85
|
-
font-size: 100%;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
/* Typography definitions */
|
|
89
|
-
.typo-body__primary {
|
|
90
|
-
font-size: var(--baseTypo-body__primary-fontSize, 1rem);
|
|
91
|
-
line-height: var(--baseTypo-body__primary-lineHeight, 1.25rem);
|
|
92
|
-
letter-spacing: var(--baseTypo-body__primary-letterSpacing, 0.03125rem);
|
|
93
|
-
}
|
|
94
|
-
.typo-body__primary--bold {
|
|
95
|
-
font-size: var(--baseTypo-body__primary--bold-fontSize, 1rem);
|
|
96
|
-
line-height: var(--baseTypo-body__primary--bold-lineHeight, 1.25rem);
|
|
97
|
-
letter-spacing: var(--baseTypo-body__primary--bold-letterSpacing, 0.03125rem);
|
|
98
|
-
font-weight: var(--baseTypo-body__primary--bold-fontWeight, 500);
|
|
99
|
-
}
|
|
100
|
-
.typo-body__primary--underline {
|
|
101
|
-
font-size: var(--baseTypo-body__primary--underline-fontSize, 1rem);
|
|
102
|
-
line-height: var(--baseTypo-body__primary--underline-lineHeight, 1.25rem);
|
|
103
|
-
letter-spacing: var(--baseTypo-body__primary--underline-letterSpacing, 0.03125rem);
|
|
104
|
-
text-decoration: var(--baseTypo-body__primary--underline-textDecorationLine, underline);
|
|
105
|
-
}
|
|
106
|
-
.typo-body__primary--jumbo {
|
|
107
|
-
font-size: var(--baseTypo-body__primary--jumbo-fontSize, 2.25rem);
|
|
108
|
-
line-height: var(--baseTypo-body__primary--jumbo-lineHeight, 2.5rem);
|
|
109
|
-
letter-spacing: var(--baseTypo-body__primary--jumbo-letterSpacing, 0.015625rem);
|
|
110
|
-
}
|
|
111
|
-
.typo-body__primary--jumbo--bold {
|
|
112
|
-
font-size: var(--baseTypo-body__primary--jumbo--bold-fontSize, 2.25rem);
|
|
113
|
-
line-height: var(--baseTypo-body__primary--jumbo--bold-lineHeight, 2.5rem);
|
|
114
|
-
letter-spacing: var(--baseTypo-body__primary--jumbo--bold-letterSpacing, 0.015625rem);
|
|
115
|
-
font-weight: var(--baseTypo-body__primary--jumbo--bold-fontWeight, bold);
|
|
116
|
-
}
|
|
117
|
-
.typo-body__secondary {
|
|
118
|
-
font-size: var(--baseTypo-body__secondary-fontSize, 0.875rem);
|
|
119
|
-
line-height: var(--baseTypo-body__secondary-lineHeight, 1.25rem);
|
|
120
|
-
letter-spacing: var(--baseTypo-body__secondary-letterSpacing, 0.015625rem);
|
|
121
|
-
}
|
|
122
|
-
.typo-body__secondary--bold {
|
|
123
|
-
font-size: var(--baseTypo-body__secondary--bold-fontSize, 0.875rem);
|
|
124
|
-
line-height: var(--baseTypo-body__secondary--bold-lineHeight, 1.25rem);
|
|
125
|
-
letter-spacing: var(--baseTypo-body__secondary--bold-letterSpacing, 0.015625rem);
|
|
126
|
-
font-weight: var(--baseTypo-body__secondary--bold-fontWeight, 500);
|
|
127
|
-
}
|
|
128
|
-
.typo-body__tertiary {
|
|
129
|
-
font-size: var(--baseTypo-body__tertiary-fontSize, 0.75rem);
|
|
130
|
-
line-height: var(--baseTypo-body__tertiary-lineHeight, 1rem);
|
|
131
|
-
letter-spacing: var(--baseTypo-body__tertiary-letterSpacing, 0.025rem);
|
|
132
|
-
}
|
|
133
|
-
.typo-body__tertiary--strike {
|
|
134
|
-
font-size: var(--baseTypo-body__tertiary--strike-fontSize, 0.75rem);
|
|
135
|
-
line-height: var(--baseTypo-body__tertiary--strike-lineHeight, 1rem);
|
|
136
|
-
letter-spacing: var(--baseTypo-body__tertiary--strike-letterSpacing, 0.025rem);
|
|
137
|
-
text-decoration: var(--baseTypo-body__tertiary--strike-textDecorationLine, line-through);
|
|
138
|
-
}
|
|
139
|
-
.typo-heading__title {
|
|
140
|
-
font-size: var(--baseTypo-heading__title-fontSize, 1rem);
|
|
141
|
-
line-height: var(--baseTypo-heading__title-lineHeight, 1.25rem);
|
|
142
|
-
letter-spacing: var(--baseTypo-heading__title-letterSpacing, 0.03125rem);
|
|
143
|
-
font-weight: var(--baseTypo-heading__title-fontWeight, bold);
|
|
144
|
-
}
|
|
145
|
-
.typo-heading__component {
|
|
146
|
-
font-size: var(--baseTypo-heading__component-fontSize, 1rem);
|
|
147
|
-
line-height: var(--baseTypo-heading__component-lineHeight, 1.25rem);
|
|
148
|
-
letter-spacing: var(--baseTypo-heading__component-letterSpacing, 0.03125rem);
|
|
149
|
-
font-weight: var(--baseTypo-heading__component-fontWeight, 500);
|
|
150
|
-
}
|
|
151
|
-
.typo-heading__paragraph {
|
|
152
|
-
font-size: var(--baseTypo-heading__paragraph-fontSize, 1rem);
|
|
153
|
-
line-height: var(--baseTypo-heading__paragraph-lineHeight, 1.25rem);
|
|
154
|
-
letter-spacing: var(--baseTypo-heading__paragraph-letterSpacing, 0.03125rem);
|
|
155
|
-
font-weight: var(--baseTypo-heading__paragraph-fontWeight, 500);
|
|
156
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
interface Configuration {
|
|
2
|
-
[key: string]: any;
|
|
3
|
-
}
|
|
4
|
-
export declare type ConfigurationOverride<T> = {
|
|
5
|
-
[P in keyof T]?: ConfigurationOverride<T[P]>;
|
|
6
|
-
};
|
|
7
|
-
export declare function overrideConfig<T extends Configuration>(base: T, overrides: ConfigurationOverride<T>): T;
|
|
8
|
-
export {};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.overrideConfig = void 0;
|
|
15
|
-
function overrideConfig(base, overrides) {
|
|
16
|
-
var result = __assign({}, base);
|
|
17
|
-
for (var key in base) {
|
|
18
|
-
if (isObject(result[key]) && isObject(overrides[key])) {
|
|
19
|
-
result[key] = overrideConfig(result[key], overrides[key]);
|
|
20
|
-
}
|
|
21
|
-
else if (overrides[key] && !isObject(overrides[key])) {
|
|
22
|
-
result[key] = overrides[key];
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
return result;
|
|
26
|
-
}
|
|
27
|
-
exports.overrideConfig = overrideConfig;
|
|
28
|
-
function isObject(obj) {
|
|
29
|
-
if (typeof obj === 'object' && obj !== null) {
|
|
30
|
-
if (typeof Object.getPrototypeOf === 'function') {
|
|
31
|
-
var prototype = Object.getPrototypeOf(obj);
|
|
32
|
-
return prototype === Object.prototype || prototype === null;
|
|
33
|
-
}
|
|
34
|
-
return Object.prototype.toString.call(obj) === '[object Object]';
|
|
35
|
-
}
|
|
36
|
-
return false;
|
|
37
|
-
}
|
|
38
|
-
//# sourceMappingURL=override-config.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"override-config.js","sourceRoot":"","sources":["../../src/utils/override-config.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAOA,SAAgB,cAAc,CAC5B,IAAO,EACP,SAAmC;IAEnC,IAAI,MAAM,gBAAU,IAAI,CAAC,CAAC;IAC1B,KAAK,IAAI,GAAG,IAAI,IAAI,EAAE;QACpB,IAAI,QAAQ,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,QAAQ,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,EAAE;YACrD,MAAM,CAAC,GAAG,CAAC,GAAG,cAAc,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,SAAS,CAAC,GAAG,CAAE,CAAC,CAAC;SAC5D;aAAM,IAAI,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,EAAE;YACtD,MAAM,CAAC,GAAG,CAAC,GAAG,SAAS,CAAC,GAAG,CAAiC,CAAC;SAC9D;KACF;IACD,OAAO,MAAM,CAAC;AAChB,CAAC;AAbD,wCAaC;AAED,SAAS,QAAQ,CAAC,GAAQ;IACxB,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,GAAG,KAAK,IAAI,EAAE;QAC3C,IAAI,OAAO,MAAM,CAAC,cAAc,KAAK,UAAU,EAAE;YAC/C,IAAM,SAAS,GAAG,MAAM,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;YAC7C,OAAO,SAAS,KAAK,MAAM,CAAC,SAAS,IAAI,SAAS,KAAK,IAAI,CAAC;SAC7D;QAED,OAAO,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,iBAAiB,CAAC;KAClE;IAED,OAAO,KAAK,CAAC;AACf,CAAC"}
|