@atb-as/theme 11.0.0-alpha.6 → 11.0.0-alpha.8

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,11 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+ import light from "./light";
5
+ import dark from "./dark";
6
+ const themes = {
7
+ light,
8
+ dark
9
+ };
10
+ export default themes;
11
+ //# sourceMappingURL=theme.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.js","sourceRoot":"","sources":["../../../src/themes-fs/atb-theme/theme.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,KAAK,MAAM,SAAS,CAAA;AAC3B,OAAO,IAAI,MAAM,QAAQ,CAAA;AAEzB,MAAM,MAAM,GAAG;IACb,KAAK;IACL,IAAI;CACL,CAAA;AAED,eAAe,MAAM,CAAA"}
@@ -0,0 +1 @@
1
+ export { default as AtBThemesFs } from './atb-theme/theme';
@@ -0,0 +1,6 @@
1
+ export { default as AtBThemesFs } from './atb-theme/theme';
2
+ // export {default as NfkThemesFs} from './nfk-theme/theme';
3
+ // export {default as FRAMThemesFs} from './fram-theme/theme';
4
+ // export {default as TromsThemesFs} from './troms-theme/theme';
5
+ // export {default as InnlandetThemesFs} from './innlandet-theme/theme';
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/themes-fs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,IAAI,WAAW,EAAC,MAAM,mBAAmB,CAAC;AACzD,4DAA4D;AAC5D,8DAA8D;AAC9D,gEAAgE;AAChE,wEAAwE"}
@@ -0,0 +1,260 @@
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--strike */
20
+ --baseTypo-body__primary--strike-fontSize: 1rem;
21
+ --baseTypo-body__primary--strike-lineHeight: 1.25rem;
22
+ --baseTypo-body__primary--strike-letterSpacing: 0.03125rem;
23
+ --baseTypo-body__primary--strike-textDecorationLine: line-through;
24
+
25
+ /* Definitions for body__primary--underline */
26
+ --baseTypo-body__primary--underline-fontSize: 1rem;
27
+ --baseTypo-body__primary--underline-lineHeight: 1.25rem;
28
+ --baseTypo-body__primary--underline-letterSpacing: 0.03125rem;
29
+ --baseTypo-body__primary--underline-textDecorationLine: underline;
30
+
31
+ /* Definitions for body__primary--big */
32
+ --baseTypo-body__primary--big-fontSize: 1.5rem;
33
+ --baseTypo-body__primary--big-lineHeight: 1.75rem;
34
+ --baseTypo-body__primary--big-letterSpacing: 0.015625rem;
35
+
36
+ /* Definitions for body__primary--big--bold */
37
+ --baseTypo-body__primary--big--bold-fontSize: 1.5rem;
38
+ --baseTypo-body__primary--big--bold-lineHeight: 1.75rem;
39
+ --baseTypo-body__primary--big--bold-letterSpacing: 0.015625rem;
40
+ --baseTypo-body__primary--big--bold-fontWeight: bold;
41
+
42
+ /* Definitions for body__primary--jumbo */
43
+ --baseTypo-body__primary--jumbo-fontSize: 2.25rem;
44
+ --baseTypo-body__primary--jumbo-lineHeight: 2.5rem;
45
+ --baseTypo-body__primary--jumbo-letterSpacing: 0.015625rem;
46
+
47
+ /* Definitions for body__primary--jumbo--bold */
48
+ --baseTypo-body__primary--jumbo--bold-fontSize: 2.25rem;
49
+ --baseTypo-body__primary--jumbo--bold-lineHeight: 2.5rem;
50
+ --baseTypo-body__primary--jumbo--bold-letterSpacing: 0.015625rem;
51
+ --baseTypo-body__primary--jumbo--bold-fontWeight: bold;
52
+
53
+ /* Definitions for body__secondary */
54
+ --baseTypo-body__secondary-fontSize: 0.875rem;
55
+ --baseTypo-body__secondary-lineHeight: 1.25rem;
56
+ --baseTypo-body__secondary-letterSpacing: 0.015625rem;
57
+
58
+ /* Definitions for body__secondary--bold */
59
+ --baseTypo-body__secondary--bold-fontSize: 0.875rem;
60
+ --baseTypo-body__secondary--bold-lineHeight: 1.25rem;
61
+ --baseTypo-body__secondary--bold-letterSpacing: 0.015625rem;
62
+ --baseTypo-body__secondary--bold-fontWeight: 500;
63
+
64
+ /* Definitions for body__tertiary */
65
+ --baseTypo-body__tertiary-fontSize: 0.75rem;
66
+ --baseTypo-body__tertiary-lineHeight: 1rem;
67
+ --baseTypo-body__tertiary-letterSpacing: 0.025rem;
68
+
69
+ /* Definitions for body__tertiary--bold */
70
+ --baseTypo-body__tertiary--bold-fontSize: 0.75rem;
71
+ --baseTypo-body__tertiary--bold-lineHeight: 1rem;
72
+ --baseTypo-body__tertiary--bold-letterSpacing: 0.025rem;
73
+ --baseTypo-body__tertiary--bold-fontWeight: 500;
74
+
75
+ /* Definitions for body__tertiary--strike */
76
+ --baseTypo-body__tertiary--strike-fontSize: 0.75rem;
77
+ --baseTypo-body__tertiary--strike-lineHeight: 1rem;
78
+ --baseTypo-body__tertiary--strike-letterSpacing: 0.025rem;
79
+ --baseTypo-body__tertiary--strike-textDecorationLine: line-through;
80
+
81
+ /* Definitions for body__tertiary--uppercase */
82
+ --baseTypo-body__tertiary--uppercase-fontSize: 1rem;
83
+ --baseTypo-body__tertiary--uppercase-lineHeight: 1.25rem;
84
+ --baseTypo-body__tertiary--uppercase-letterSpacing: 0.03125rem;
85
+ --baseTypo-body__tertiary--uppercase-textTransform: uppercase;
86
+
87
+ /* Definitions for heading__title */
88
+ --baseTypo-heading__title-fontSize: 1rem;
89
+ --baseTypo-heading__title-lineHeight: 1.25rem;
90
+ --baseTypo-heading__title-letterSpacing: 0.03125rem;
91
+ --baseTypo-heading__title-fontWeight: bold;
92
+
93
+ /* Definitions for heading__component */
94
+ --baseTypo-heading__component-fontSize: 1rem;
95
+ --baseTypo-heading__component-lineHeight: 1.25rem;
96
+ --baseTypo-heading__component-letterSpacing: 0.03125rem;
97
+ --baseTypo-heading__component-fontWeight: 500;
98
+
99
+ /* Definitions for heading__paragraph */
100
+ --baseTypo-heading__paragraph-fontSize: 1rem;
101
+ --baseTypo-heading__paragraph-lineHeight: 1.25rem;
102
+ --baseTypo-heading__paragraph-letterSpacing: 0.03125rem;
103
+ --baseTypo-heading__paragraph-fontWeight: 500;
104
+
105
+ /* Definitions for heading--medium */
106
+ --baseTypo-heading--medium-fontSize: 1.25rem;
107
+ --baseTypo-heading--medium-lineHeight: 1.5rem;
108
+ --baseTypo-heading--medium-letterSpacing: 0.03125rem;
109
+ --baseTypo-heading--medium-fontWeight: bold;
110
+
111
+ /* Definitions for heading--big */
112
+ --baseTypo-heading--big-fontSize: 1.5rem;
113
+ --baseTypo-heading--big-lineHeight: 1.75rem;
114
+ --baseTypo-heading--big-letterSpacing: -0.019375rem;
115
+ --baseTypo-heading--big-fontWeight: bold;
116
+
117
+ /* Definitions for heading--jumbo */
118
+ --baseTypo-heading--jumbo-fontSize: 2rem;
119
+ --baseTypo-heading--jumbo-lineHeight: 2.375rem;
120
+ --baseTypo-heading--jumbo-letterSpacing: -0.019375rem;
121
+ --baseTypo-heading--jumbo-fontWeight: bold;
122
+
123
+ /* Definitions for label__uppercase */
124
+ --baseTypo-label__uppercase-fontSize: 0.625rem;
125
+ --baseTypo-label__uppercase-lineHeight: 1rem;
126
+ --baseTypo-label__uppercase-textTransform: uppercase;
127
+
128
+
129
+ /* Included font types */
130
+ --font-main: 'Roboto', sans-serif;
131
+ }
132
+
133
+ /* Main setup, base size and main font */
134
+ html {
135
+ font-family: var(--font-main);
136
+ /* Default base size. */
137
+ font-size: 100%;
138
+ }
139
+
140
+ /* Typography definitions */
141
+ .typo-body__primary {
142
+ font-size: var(--baseTypo-body__primary-fontSize, 1rem);
143
+ line-height: var(--baseTypo-body__primary-lineHeight, 1.25rem);
144
+ letter-spacing: var(--baseTypo-body__primary-letterSpacing, 0.03125rem);
145
+ }
146
+ .typo-body__primary--bold {
147
+ font-size: var(--baseTypo-body__primary--bold-fontSize, 1rem);
148
+ line-height: var(--baseTypo-body__primary--bold-lineHeight, 1.25rem);
149
+ letter-spacing: var(--baseTypo-body__primary--bold-letterSpacing, 0.03125rem);
150
+ font-weight: var(--baseTypo-body__primary--bold-fontWeight, 500);
151
+ }
152
+ .typo-body__primary--strike {
153
+ font-size: var(--baseTypo-body__primary--strike-fontSize, 1rem);
154
+ line-height: var(--baseTypo-body__primary--strike-lineHeight, 1.25rem);
155
+ letter-spacing: var(--baseTypo-body__primary--strike-letterSpacing, 0.03125rem);
156
+ text-decoration: var(--baseTypo-body__primary--strike-textDecorationLine, line-through);
157
+ }
158
+ .typo-body__primary--underline {
159
+ font-size: var(--baseTypo-body__primary--underline-fontSize, 1rem);
160
+ line-height: var(--baseTypo-body__primary--underline-lineHeight, 1.25rem);
161
+ letter-spacing: var(--baseTypo-body__primary--underline-letterSpacing, 0.03125rem);
162
+ text-decoration: var(--baseTypo-body__primary--underline-textDecorationLine, underline);
163
+ }
164
+ .typo-body__primary--big {
165
+ font-size: var(--baseTypo-body__primary--big-fontSize, 1.5rem);
166
+ line-height: var(--baseTypo-body__primary--big-lineHeight, 1.75rem);
167
+ letter-spacing: var(--baseTypo-body__primary--big-letterSpacing, 0.015625rem);
168
+ }
169
+ .typo-body__primary--big--bold {
170
+ font-size: var(--baseTypo-body__primary--big--bold-fontSize, 1.5rem);
171
+ line-height: var(--baseTypo-body__primary--big--bold-lineHeight, 1.75rem);
172
+ letter-spacing: var(--baseTypo-body__primary--big--bold-letterSpacing, 0.015625rem);
173
+ font-weight: var(--baseTypo-body__primary--big--bold-fontWeight, bold);
174
+ }
175
+ .typo-body__primary--jumbo {
176
+ font-size: var(--baseTypo-body__primary--jumbo-fontSize, 2.25rem);
177
+ line-height: var(--baseTypo-body__primary--jumbo-lineHeight, 2.5rem);
178
+ letter-spacing: var(--baseTypo-body__primary--jumbo-letterSpacing, 0.015625rem);
179
+ }
180
+ .typo-body__primary--jumbo--bold {
181
+ font-size: var(--baseTypo-body__primary--jumbo--bold-fontSize, 2.25rem);
182
+ line-height: var(--baseTypo-body__primary--jumbo--bold-lineHeight, 2.5rem);
183
+ letter-spacing: var(--baseTypo-body__primary--jumbo--bold-letterSpacing, 0.015625rem);
184
+ font-weight: var(--baseTypo-body__primary--jumbo--bold-fontWeight, bold);
185
+ }
186
+ .typo-body__secondary {
187
+ font-size: var(--baseTypo-body__secondary-fontSize, 0.875rem);
188
+ line-height: var(--baseTypo-body__secondary-lineHeight, 1.25rem);
189
+ letter-spacing: var(--baseTypo-body__secondary-letterSpacing, 0.015625rem);
190
+ }
191
+ .typo-body__secondary--bold {
192
+ font-size: var(--baseTypo-body__secondary--bold-fontSize, 0.875rem);
193
+ line-height: var(--baseTypo-body__secondary--bold-lineHeight, 1.25rem);
194
+ letter-spacing: var(--baseTypo-body__secondary--bold-letterSpacing, 0.015625rem);
195
+ font-weight: var(--baseTypo-body__secondary--bold-fontWeight, 500);
196
+ }
197
+ .typo-body__tertiary {
198
+ font-size: var(--baseTypo-body__tertiary-fontSize, 0.75rem);
199
+ line-height: var(--baseTypo-body__tertiary-lineHeight, 1rem);
200
+ letter-spacing: var(--baseTypo-body__tertiary-letterSpacing, 0.025rem);
201
+ }
202
+ .typo-body__tertiary--bold {
203
+ font-size: var(--baseTypo-body__tertiary--bold-fontSize, 0.75rem);
204
+ line-height: var(--baseTypo-body__tertiary--bold-lineHeight, 1rem);
205
+ letter-spacing: var(--baseTypo-body__tertiary--bold-letterSpacing, 0.025rem);
206
+ font-weight: var(--baseTypo-body__tertiary--bold-fontWeight, 500);
207
+ }
208
+ .typo-body__tertiary--strike {
209
+ font-size: var(--baseTypo-body__tertiary--strike-fontSize, 0.75rem);
210
+ line-height: var(--baseTypo-body__tertiary--strike-lineHeight, 1rem);
211
+ letter-spacing: var(--baseTypo-body__tertiary--strike-letterSpacing, 0.025rem);
212
+ text-decoration: var(--baseTypo-body__tertiary--strike-textDecorationLine, line-through);
213
+ }
214
+ .typo-body__tertiary--uppercase {
215
+ font-size: var(--baseTypo-body__tertiary--uppercase-fontSize, 1rem);
216
+ line-height: var(--baseTypo-body__tertiary--uppercase-lineHeight, 1.25rem);
217
+ letter-spacing: var(--baseTypo-body__tertiary--uppercase-letterSpacing, 0.03125rem);
218
+ text-transform: var(--baseTypo-body__tertiary--uppercase-textTransform, uppercase);
219
+ }
220
+ .typo-heading__title {
221
+ font-size: var(--baseTypo-heading__title-fontSize, 1rem);
222
+ line-height: var(--baseTypo-heading__title-lineHeight, 1.25rem);
223
+ letter-spacing: var(--baseTypo-heading__title-letterSpacing, 0.03125rem);
224
+ font-weight: var(--baseTypo-heading__title-fontWeight, bold);
225
+ }
226
+ .typo-heading__component {
227
+ font-size: var(--baseTypo-heading__component-fontSize, 1rem);
228
+ line-height: var(--baseTypo-heading__component-lineHeight, 1.25rem);
229
+ letter-spacing: var(--baseTypo-heading__component-letterSpacing, 0.03125rem);
230
+ font-weight: var(--baseTypo-heading__component-fontWeight, 500);
231
+ }
232
+ .typo-heading__paragraph {
233
+ font-size: var(--baseTypo-heading__paragraph-fontSize, 1rem);
234
+ line-height: var(--baseTypo-heading__paragraph-lineHeight, 1.25rem);
235
+ letter-spacing: var(--baseTypo-heading__paragraph-letterSpacing, 0.03125rem);
236
+ font-weight: var(--baseTypo-heading__paragraph-fontWeight, 500);
237
+ }
238
+ .typo-heading--medium {
239
+ font-size: var(--baseTypo-heading--medium-fontSize, 1.25rem);
240
+ line-height: var(--baseTypo-heading--medium-lineHeight, 1.5rem);
241
+ letter-spacing: var(--baseTypo-heading--medium-letterSpacing, 0.03125rem);
242
+ font-weight: var(--baseTypo-heading--medium-fontWeight, bold);
243
+ }
244
+ .typo-heading--big {
245
+ font-size: var(--baseTypo-heading--big-fontSize, 1.5rem);
246
+ line-height: var(--baseTypo-heading--big-lineHeight, 1.75rem);
247
+ letter-spacing: var(--baseTypo-heading--big-letterSpacing, -0.019375rem);
248
+ font-weight: var(--baseTypo-heading--big-fontWeight, bold);
249
+ }
250
+ .typo-heading--jumbo {
251
+ font-size: var(--baseTypo-heading--jumbo-fontSize, 2rem);
252
+ line-height: var(--baseTypo-heading--jumbo-lineHeight, 2.375rem);
253
+ letter-spacing: var(--baseTypo-heading--jumbo-letterSpacing, -0.019375rem);
254
+ font-weight: var(--baseTypo-heading--jumbo-fontWeight, bold);
255
+ }
256
+ .typo-label__uppercase {
257
+ font-size: var(--baseTypo-label__uppercase-fontSize, 0.625rem);
258
+ line-height: var(--baseTypo-label__uppercase-lineHeight, 1rem);
259
+ text-transform: var(--baseTypo-label__uppercase-textTransform, uppercase);
260
+ }
@@ -0,0 +1,260 @@
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--strike */
20
+ --baseTypo-body__primary--strike-fontSize: 1rem;
21
+ --baseTypo-body__primary--strike-lineHeight: 1.25rem;
22
+ --baseTypo-body__primary--strike-letterSpacing: 0.03125rem;
23
+ --baseTypo-body__primary--strike-textDecorationLine: line-through;
24
+
25
+ /* Definitions for body__primary--underline */
26
+ --baseTypo-body__primary--underline-fontSize: 1rem;
27
+ --baseTypo-body__primary--underline-lineHeight: 1.25rem;
28
+ --baseTypo-body__primary--underline-letterSpacing: 0.03125rem;
29
+ --baseTypo-body__primary--underline-textDecorationLine: underline;
30
+
31
+ /* Definitions for body__primary--big */
32
+ --baseTypo-body__primary--big-fontSize: 1.5rem;
33
+ --baseTypo-body__primary--big-lineHeight: 1.75rem;
34
+ --baseTypo-body__primary--big-letterSpacing: 0.015625rem;
35
+
36
+ /* Definitions for body__primary--big--bold */
37
+ --baseTypo-body__primary--big--bold-fontSize: 1.5rem;
38
+ --baseTypo-body__primary--big--bold-lineHeight: 1.75rem;
39
+ --baseTypo-body__primary--big--bold-letterSpacing: 0.015625rem;
40
+ --baseTypo-body__primary--big--bold-fontWeight: bold;
41
+
42
+ /* Definitions for body__primary--jumbo */
43
+ --baseTypo-body__primary--jumbo-fontSize: 2.25rem;
44
+ --baseTypo-body__primary--jumbo-lineHeight: 2.5rem;
45
+ --baseTypo-body__primary--jumbo-letterSpacing: 0.015625rem;
46
+
47
+ /* Definitions for body__primary--jumbo--bold */
48
+ --baseTypo-body__primary--jumbo--bold-fontSize: 2.25rem;
49
+ --baseTypo-body__primary--jumbo--bold-lineHeight: 2.5rem;
50
+ --baseTypo-body__primary--jumbo--bold-letterSpacing: 0.015625rem;
51
+ --baseTypo-body__primary--jumbo--bold-fontWeight: bold;
52
+
53
+ /* Definitions for body__secondary */
54
+ --baseTypo-body__secondary-fontSize: 0.875rem;
55
+ --baseTypo-body__secondary-lineHeight: 1.25rem;
56
+ --baseTypo-body__secondary-letterSpacing: 0.015625rem;
57
+
58
+ /* Definitions for body__secondary--bold */
59
+ --baseTypo-body__secondary--bold-fontSize: 0.875rem;
60
+ --baseTypo-body__secondary--bold-lineHeight: 1.25rem;
61
+ --baseTypo-body__secondary--bold-letterSpacing: 0.015625rem;
62
+ --baseTypo-body__secondary--bold-fontWeight: 500;
63
+
64
+ /* Definitions for body__tertiary */
65
+ --baseTypo-body__tertiary-fontSize: 0.75rem;
66
+ --baseTypo-body__tertiary-lineHeight: 1rem;
67
+ --baseTypo-body__tertiary-letterSpacing: 0.025rem;
68
+
69
+ /* Definitions for body__tertiary--bold */
70
+ --baseTypo-body__tertiary--bold-fontSize: 0.75rem;
71
+ --baseTypo-body__tertiary--bold-lineHeight: 1rem;
72
+ --baseTypo-body__tertiary--bold-letterSpacing: 0.025rem;
73
+ --baseTypo-body__tertiary--bold-fontWeight: 500;
74
+
75
+ /* Definitions for body__tertiary--strike */
76
+ --baseTypo-body__tertiary--strike-fontSize: 0.75rem;
77
+ --baseTypo-body__tertiary--strike-lineHeight: 1rem;
78
+ --baseTypo-body__tertiary--strike-letterSpacing: 0.025rem;
79
+ --baseTypo-body__tertiary--strike-textDecorationLine: line-through;
80
+
81
+ /* Definitions for body__tertiary--uppercase */
82
+ --baseTypo-body__tertiary--uppercase-fontSize: 1rem;
83
+ --baseTypo-body__tertiary--uppercase-lineHeight: 1.25rem;
84
+ --baseTypo-body__tertiary--uppercase-letterSpacing: 0.03125rem;
85
+ --baseTypo-body__tertiary--uppercase-textTransform: uppercase;
86
+
87
+ /* Definitions for heading__title */
88
+ --baseTypo-heading__title-fontSize: 1rem;
89
+ --baseTypo-heading__title-lineHeight: 1.25rem;
90
+ --baseTypo-heading__title-letterSpacing: 0.03125rem;
91
+ --baseTypo-heading__title-fontWeight: bold;
92
+
93
+ /* Definitions for heading__component */
94
+ --baseTypo-heading__component-fontSize: 1rem;
95
+ --baseTypo-heading__component-lineHeight: 1.25rem;
96
+ --baseTypo-heading__component-letterSpacing: 0.03125rem;
97
+ --baseTypo-heading__component-fontWeight: 500;
98
+
99
+ /* Definitions for heading__paragraph */
100
+ --baseTypo-heading__paragraph-fontSize: 1rem;
101
+ --baseTypo-heading__paragraph-lineHeight: 1.25rem;
102
+ --baseTypo-heading__paragraph-letterSpacing: 0.03125rem;
103
+ --baseTypo-heading__paragraph-fontWeight: 500;
104
+
105
+ /* Definitions for heading--medium */
106
+ --baseTypo-heading--medium-fontSize: 1.25rem;
107
+ --baseTypo-heading--medium-lineHeight: 1.5rem;
108
+ --baseTypo-heading--medium-letterSpacing: 0.03125rem;
109
+ --baseTypo-heading--medium-fontWeight: bold;
110
+
111
+ /* Definitions for heading--big */
112
+ --baseTypo-heading--big-fontSize: 1.5rem;
113
+ --baseTypo-heading--big-lineHeight: 1.75rem;
114
+ --baseTypo-heading--big-letterSpacing: -0.019375rem;
115
+ --baseTypo-heading--big-fontWeight: bold;
116
+
117
+ /* Definitions for heading--jumbo */
118
+ --baseTypo-heading--jumbo-fontSize: 2rem;
119
+ --baseTypo-heading--jumbo-lineHeight: 2.375rem;
120
+ --baseTypo-heading--jumbo-letterSpacing: -0.019375rem;
121
+ --baseTypo-heading--jumbo-fontWeight: bold;
122
+
123
+ /* Definitions for label__uppercase */
124
+ --baseTypo-label__uppercase-fontSize: 0.625rem;
125
+ --baseTypo-label__uppercase-lineHeight: 1rem;
126
+ --baseTypo-label__uppercase-textTransform: uppercase;
127
+
128
+
129
+ /* Included font types */
130
+ --font-main: 'Roboto', sans-serif;
131
+ }
132
+
133
+ /* Main setup, base size and main font */
134
+ :global(html) {
135
+ font-family: var(--font-main);
136
+ /* Default base size. */
137
+ font-size: 100%;
138
+ }
139
+
140
+ /* Typography definitions */
141
+ .typo-body__primary {
142
+ font-size: var(--baseTypo-body__primary-fontSize, 1rem);
143
+ line-height: var(--baseTypo-body__primary-lineHeight, 1.25rem);
144
+ letter-spacing: var(--baseTypo-body__primary-letterSpacing, 0.03125rem);
145
+ }
146
+ .typo-body__primary--bold {
147
+ font-size: var(--baseTypo-body__primary--bold-fontSize, 1rem);
148
+ line-height: var(--baseTypo-body__primary--bold-lineHeight, 1.25rem);
149
+ letter-spacing: var(--baseTypo-body__primary--bold-letterSpacing, 0.03125rem);
150
+ font-weight: var(--baseTypo-body__primary--bold-fontWeight, 500);
151
+ }
152
+ .typo-body__primary--strike {
153
+ font-size: var(--baseTypo-body__primary--strike-fontSize, 1rem);
154
+ line-height: var(--baseTypo-body__primary--strike-lineHeight, 1.25rem);
155
+ letter-spacing: var(--baseTypo-body__primary--strike-letterSpacing, 0.03125rem);
156
+ text-decoration: var(--baseTypo-body__primary--strike-textDecorationLine, line-through);
157
+ }
158
+ .typo-body__primary--underline {
159
+ font-size: var(--baseTypo-body__primary--underline-fontSize, 1rem);
160
+ line-height: var(--baseTypo-body__primary--underline-lineHeight, 1.25rem);
161
+ letter-spacing: var(--baseTypo-body__primary--underline-letterSpacing, 0.03125rem);
162
+ text-decoration: var(--baseTypo-body__primary--underline-textDecorationLine, underline);
163
+ }
164
+ .typo-body__primary--big {
165
+ font-size: var(--baseTypo-body__primary--big-fontSize, 1.5rem);
166
+ line-height: var(--baseTypo-body__primary--big-lineHeight, 1.75rem);
167
+ letter-spacing: var(--baseTypo-body__primary--big-letterSpacing, 0.015625rem);
168
+ }
169
+ .typo-body__primary--big--bold {
170
+ font-size: var(--baseTypo-body__primary--big--bold-fontSize, 1.5rem);
171
+ line-height: var(--baseTypo-body__primary--big--bold-lineHeight, 1.75rem);
172
+ letter-spacing: var(--baseTypo-body__primary--big--bold-letterSpacing, 0.015625rem);
173
+ font-weight: var(--baseTypo-body__primary--big--bold-fontWeight, bold);
174
+ }
175
+ .typo-body__primary--jumbo {
176
+ font-size: var(--baseTypo-body__primary--jumbo-fontSize, 2.25rem);
177
+ line-height: var(--baseTypo-body__primary--jumbo-lineHeight, 2.5rem);
178
+ letter-spacing: var(--baseTypo-body__primary--jumbo-letterSpacing, 0.015625rem);
179
+ }
180
+ .typo-body__primary--jumbo--bold {
181
+ font-size: var(--baseTypo-body__primary--jumbo--bold-fontSize, 2.25rem);
182
+ line-height: var(--baseTypo-body__primary--jumbo--bold-lineHeight, 2.5rem);
183
+ letter-spacing: var(--baseTypo-body__primary--jumbo--bold-letterSpacing, 0.015625rem);
184
+ font-weight: var(--baseTypo-body__primary--jumbo--bold-fontWeight, bold);
185
+ }
186
+ .typo-body__secondary {
187
+ font-size: var(--baseTypo-body__secondary-fontSize, 0.875rem);
188
+ line-height: var(--baseTypo-body__secondary-lineHeight, 1.25rem);
189
+ letter-spacing: var(--baseTypo-body__secondary-letterSpacing, 0.015625rem);
190
+ }
191
+ .typo-body__secondary--bold {
192
+ font-size: var(--baseTypo-body__secondary--bold-fontSize, 0.875rem);
193
+ line-height: var(--baseTypo-body__secondary--bold-lineHeight, 1.25rem);
194
+ letter-spacing: var(--baseTypo-body__secondary--bold-letterSpacing, 0.015625rem);
195
+ font-weight: var(--baseTypo-body__secondary--bold-fontWeight, 500);
196
+ }
197
+ .typo-body__tertiary {
198
+ font-size: var(--baseTypo-body__tertiary-fontSize, 0.75rem);
199
+ line-height: var(--baseTypo-body__tertiary-lineHeight, 1rem);
200
+ letter-spacing: var(--baseTypo-body__tertiary-letterSpacing, 0.025rem);
201
+ }
202
+ .typo-body__tertiary--bold {
203
+ font-size: var(--baseTypo-body__tertiary--bold-fontSize, 0.75rem);
204
+ line-height: var(--baseTypo-body__tertiary--bold-lineHeight, 1rem);
205
+ letter-spacing: var(--baseTypo-body__tertiary--bold-letterSpacing, 0.025rem);
206
+ font-weight: var(--baseTypo-body__tertiary--bold-fontWeight, 500);
207
+ }
208
+ .typo-body__tertiary--strike {
209
+ font-size: var(--baseTypo-body__tertiary--strike-fontSize, 0.75rem);
210
+ line-height: var(--baseTypo-body__tertiary--strike-lineHeight, 1rem);
211
+ letter-spacing: var(--baseTypo-body__tertiary--strike-letterSpacing, 0.025rem);
212
+ text-decoration: var(--baseTypo-body__tertiary--strike-textDecorationLine, line-through);
213
+ }
214
+ .typo-body__tertiary--uppercase {
215
+ font-size: var(--baseTypo-body__tertiary--uppercase-fontSize, 1rem);
216
+ line-height: var(--baseTypo-body__tertiary--uppercase-lineHeight, 1.25rem);
217
+ letter-spacing: var(--baseTypo-body__tertiary--uppercase-letterSpacing, 0.03125rem);
218
+ text-transform: var(--baseTypo-body__tertiary--uppercase-textTransform, uppercase);
219
+ }
220
+ .typo-heading__title {
221
+ font-size: var(--baseTypo-heading__title-fontSize, 1rem);
222
+ line-height: var(--baseTypo-heading__title-lineHeight, 1.25rem);
223
+ letter-spacing: var(--baseTypo-heading__title-letterSpacing, 0.03125rem);
224
+ font-weight: var(--baseTypo-heading__title-fontWeight, bold);
225
+ }
226
+ .typo-heading__component {
227
+ font-size: var(--baseTypo-heading__component-fontSize, 1rem);
228
+ line-height: var(--baseTypo-heading__component-lineHeight, 1.25rem);
229
+ letter-spacing: var(--baseTypo-heading__component-letterSpacing, 0.03125rem);
230
+ font-weight: var(--baseTypo-heading__component-fontWeight, 500);
231
+ }
232
+ .typo-heading__paragraph {
233
+ font-size: var(--baseTypo-heading__paragraph-fontSize, 1rem);
234
+ line-height: var(--baseTypo-heading__paragraph-lineHeight, 1.25rem);
235
+ letter-spacing: var(--baseTypo-heading__paragraph-letterSpacing, 0.03125rem);
236
+ font-weight: var(--baseTypo-heading__paragraph-fontWeight, 500);
237
+ }
238
+ .typo-heading--medium {
239
+ font-size: var(--baseTypo-heading--medium-fontSize, 1.25rem);
240
+ line-height: var(--baseTypo-heading--medium-lineHeight, 1.5rem);
241
+ letter-spacing: var(--baseTypo-heading--medium-letterSpacing, 0.03125rem);
242
+ font-weight: var(--baseTypo-heading--medium-fontWeight, bold);
243
+ }
244
+ .typo-heading--big {
245
+ font-size: var(--baseTypo-heading--big-fontSize, 1.5rem);
246
+ line-height: var(--baseTypo-heading--big-lineHeight, 1.75rem);
247
+ letter-spacing: var(--baseTypo-heading--big-letterSpacing, -0.019375rem);
248
+ font-weight: var(--baseTypo-heading--big-fontWeight, bold);
249
+ }
250
+ .typo-heading--jumbo {
251
+ font-size: var(--baseTypo-heading--jumbo-fontSize, 2rem);
252
+ line-height: var(--baseTypo-heading--jumbo-lineHeight, 2.375rem);
253
+ letter-spacing: var(--baseTypo-heading--jumbo-letterSpacing, -0.019375rem);
254
+ font-weight: var(--baseTypo-heading--jumbo-fontWeight, bold);
255
+ }
256
+ .typo-label__uppercase {
257
+ font-size: var(--baseTypo-label__uppercase-fontSize, 0.625rem);
258
+ line-height: var(--baseTypo-label__uppercase-lineHeight, 1rem);
259
+ text-transform: var(--baseTypo-label__uppercase-textTransform, uppercase);
260
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atb-as/theme",
3
- "version": "11.0.0-alpha.6",
3
+ "version": "11.0.0-alpha.8",
4
4
  "private": false,
5
5
  "description": "AtB Design System Colors",
6
6
  "license": "EUPL-1.2",
@@ -15,7 +15,7 @@
15
15
  "tsc": "tsc",
16
16
  "clean": "rm -rf lib",
17
17
  "test": "echo \"Error: run tests from root\" && exit 1",
18
- "build": "yarn fetch-variables && tsc -p tsconfig.build.json",
18
+ "build": "yarn fetch-variables && tsc -p tsconfig.build.json && yarn create-css && yarn copy-css",
19
19
  "copy-css": "copyfiles -u 1 \"src/**/*.{css,woff,woff2,ttf,eot,svg,png}\" lib/",
20
20
  "create-css": "tsx ./tools/create-css.ts",
21
21
  "fetch-variables": "tsx ./tools/fetch-figma-variables.ts"
@@ -29,7 +29,7 @@
29
29
  "typescript": "^4.4.3"
30
30
  },
31
31
  "dependencies": {
32
- "@tfk-samf/figma-to-dtcg": "0.3.2",
32
+ "@tfk-samf/figma-to-dtcg": "0.3.4",
33
33
  "hex-to-rgba": "^2.0.1",
34
34
  "ts-deepmerge": "^4.0.0",
35
35
  "typescript": "^4.4.3"
@@ -37,5 +37,5 @@
37
37
  "publishConfig": {
38
38
  "access": "public"
39
39
  },
40
- "gitHead": "b96041f01fc65ecaeca78b03b6d53492b9d65627"
40
+ "gitHead": "1579c9255034f6cce97a63b26719c826427b2ecd"
41
41
  }
package/lib/sizes.d.ts DELETED
@@ -1,23 +0,0 @@
1
- export declare const Spacing: {
2
- xLarge: number;
3
- large: number;
4
- medium: number;
5
- small: number;
6
- xSmall: number;
7
- };
8
- export declare const IconSizes: {
9
- large: number;
10
- normal: number;
11
- small: number;
12
- xSmall: number;
13
- };
14
- export declare const BorderRadius: {
15
- readonly circle: 20;
16
- readonly regular: 8;
17
- readonly small: 4;
18
- };
19
- export declare const BorderWidth: {
20
- slim: number;
21
- medium: number;
22
- };
23
- export declare type RadiusSizes = keyof typeof BorderRadius;
package/lib/sizes.js DELETED
@@ -1,23 +0,0 @@
1
- export const Spacing = {
2
- xLarge: 24,
3
- large: 20,
4
- medium: 12,
5
- small: 8,
6
- xSmall: 4,
7
- };
8
- export const IconSizes = {
9
- large: 28,
10
- normal: 20,
11
- small: 16,
12
- xSmall: 12,
13
- };
14
- export const BorderRadius = {
15
- circle: 20,
16
- regular: 8,
17
- small: 4,
18
- };
19
- export const BorderWidth = {
20
- slim: 1,
21
- medium: 2,
22
- };
23
- //# sourceMappingURL=sizes.js.map
package/lib/sizes.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"sizes.js","sourceRoot":"","sources":["../src/sizes.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,MAAM,EAAE,EAAE;IACV,KAAK,EAAE,EAAE;IACT,MAAM,EAAE,EAAE;IACV,KAAK,EAAE,CAAC;IACR,MAAM,EAAE,CAAC;CACV,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,KAAK,EAAE,EAAE;IACT,MAAM,EAAE,EAAE;IACV,KAAK,EAAE,EAAE;IACT,MAAM,EAAE,EAAE;CACX,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,MAAM,EAAE,EAAE;IACV,OAAO,EAAE,CAAC;IACV,KAAK,EAAE,CAAC;CACA,CAAC;AAEX,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,IAAI,EAAE,CAAC;IACP,MAAM,EAAE,CAAC;CACV,CAAC"}