@frontile/theme 0.18.0-alpha.5 → 0.18.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.
- package/README.md +20 -22
- package/declarations/colors/config.d.ts +8 -32
- package/declarations/colors/palette-absolute.d.ts +2 -2
- package/declarations/colors/palette.d.ts +1 -1
- package/declarations/colors/types.d.ts +102 -151
- package/declarations/components/button.d.ts +13 -0
- package/declarations/components/dropdown.d.ts +2 -2
- package/declarations/components/forms/forms.d.ts +9 -4
- package/declarations/components/listbox.d.ts +5 -0
- package/declarations/components/popover.d.ts +2 -2
- package/declarations/components/progress-bar.d.ts +15 -0
- package/declarations/components/spinner.d.ts +5 -0
- package/declarations/plugin/default-config.d.ts +8 -32
- package/dist/colors.js +1 -1
- package/dist/config-CDp8PRHs.js +370 -0
- package/dist/config-CDp8PRHs.js.map +1 -0
- package/dist/{forms-legacy-d2uPt2pC.js → forms-legacy-DMdYgoNV.js} +222 -148
- package/dist/forms-legacy-DMdYgoNV.js.map +1 -0
- package/dist/index.js +2 -2
- package/dist/plugin.js +4 -4
- package/dist/plugin.js.map +1 -1
- package/dist/styles/font-faces.css +52 -8
- package/dist/styles/typography.css +213 -117
- package/package.json +7 -4
- package/public/fonts/domine-variable.woff2 +0 -0
- package/public/fonts/open-sans-italic-variable.woff2 +0 -0
- package/public/fonts/open-sans-variable.woff2 +0 -0
- package/public/fonts/source-code-pro-italic-variable.woff2 +0 -0
- package/public/fonts/source-code-pro-variable.woff2 +0 -0
- package/src/styles/font-faces.css +52 -8
- package/src/styles/typography.css +213 -117
- package/dist/config-4CswsBlg.js +0 -342
- package/dist/config-4CswsBlg.js.map +0 -1
- package/dist/config-B3XkEtHW.js +0 -377
- package/dist/config-B3XkEtHW.js.map +0 -1
- package/dist/config-BpWBpuzR.js +0 -335
- package/dist/config-BpWBpuzR.js.map +0 -1
- package/dist/config-Cle59Y4k.js +0 -523
- package/dist/config-Cle59Y4k.js.map +0 -1
- package/dist/config-D0EoeVzn.js +0 -388
- package/dist/config-D0EoeVzn.js.map +0 -1
- package/dist/config-DBAavoE2.js +0 -336
- package/dist/config-DBAavoE2.js.map +0 -1
- package/dist/config-Oysuq2Z9.js +0 -341
- package/dist/config-Oysuq2Z9.js.map +0 -1
- package/dist/config-PYki2g7N.js +0 -335
- package/dist/config-PYki2g7N.js.map +0 -1
- package/dist/forms-legacy-15iy0KmK.js +0 -1851
- package/dist/forms-legacy-15iy0KmK.js.map +0 -1
- package/dist/forms-legacy-B-L2HELt.js +0 -1881
- package/dist/forms-legacy-B-L2HELt.js.map +0 -1
- package/dist/forms-legacy-BMIAioRi.js +0 -1807
- package/dist/forms-legacy-BMIAioRi.js.map +0 -1
- package/dist/forms-legacy-B_EygtyK.js +0 -1763
- package/dist/forms-legacy-B_EygtyK.js.map +0 -1
- package/dist/forms-legacy-Bg_UoLDR.js +0 -1763
- package/dist/forms-legacy-Bg_UoLDR.js.map +0 -1
- package/dist/forms-legacy-CVLZ-9BG.js +0 -1804
- package/dist/forms-legacy-CVLZ-9BG.js.map +0 -1
- package/dist/forms-legacy-CuFc3hcn.js +0 -1807
- package/dist/forms-legacy-CuFc3hcn.js.map +0 -1
- package/dist/forms-legacy-DiKImAli.js +0 -1809
- package/dist/forms-legacy-DiKImAli.js.map +0 -1
- package/dist/forms-legacy-d2uPt2pC.js.map +0 -1
- package/dist/forms-legacy-edWQVbZP.js +0 -1809
- package/dist/forms-legacy-edWQVbZP.js.map +0 -1
- package/dist/semantic-DUv6Lpqq.js +0 -218
- package/dist/semantic-DUv6Lpqq.js.map +0 -1
- package/public/fonts/stix-two-text-italic-variable.woff2 +0 -0
- package/public/fonts/stix-two-text-variable.woff2 +0 -0
|
@@ -1,26 +1,70 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Domine (Variable Font)
|
|
3
3
|
* Used for: marquee text styles (text-marquee-*)
|
|
4
4
|
* Primary weight: 600 (SemiBold) - used by all marquee styles
|
|
5
5
|
* Variable font supports weights: 400-700
|
|
6
6
|
*
|
|
7
|
-
* Sourced from: https://fonts.google.com/specimen/
|
|
7
|
+
* Sourced from: https://fonts.google.com/specimen/Domine
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/* Variable Font - Normal */
|
|
11
11
|
@font-face {
|
|
12
|
-
font-family: '
|
|
13
|
-
src: url('/@frontile/theme/fonts/
|
|
12
|
+
font-family: 'Domine';
|
|
13
|
+
src: url('/@frontile/theme/fonts/domine-variable.woff2') format('woff2-variations');
|
|
14
14
|
font-weight: 400 700;
|
|
15
15
|
font-style: normal;
|
|
16
16
|
font-display: swap;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
/**
|
|
20
|
+
* Open Sans (Variable Font)
|
|
21
|
+
* Used for: header, body, caption, and label text styles
|
|
22
|
+
* Weights used: 400 (regular), 600 (semibold), 700 (bold)
|
|
23
|
+
* Variable font supports weights: 300-800
|
|
24
|
+
*
|
|
25
|
+
* Sourced from: https://fonts.google.com/specimen/Open+Sans
|
|
26
|
+
*/
|
|
27
|
+
|
|
28
|
+
/* Variable Font - Normal */
|
|
20
29
|
@font-face {
|
|
21
|
-
font-family: '
|
|
22
|
-
src: url('/@frontile/theme/fonts/
|
|
23
|
-
font-weight:
|
|
30
|
+
font-family: 'Open Sans';
|
|
31
|
+
src: url('/@frontile/theme/fonts/open-sans-variable.woff2') format('woff2-variations');
|
|
32
|
+
font-weight: 300 800;
|
|
33
|
+
font-style: normal;
|
|
34
|
+
font-display: swap;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/* Variable Font - Italic */
|
|
38
|
+
@font-face {
|
|
39
|
+
font-family: 'Open Sans';
|
|
40
|
+
src: url('/@frontile/theme/fonts/open-sans-italic-variable.woff2') format('woff2-variations');
|
|
41
|
+
font-weight: 300 800;
|
|
42
|
+
font-style: italic;
|
|
43
|
+
font-display: swap;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Source Code Pro (Variable Font)
|
|
48
|
+
* Used for: code text styles (text-code-*)
|
|
49
|
+
* Variable font supports weights: 200-900
|
|
50
|
+
*
|
|
51
|
+
* Sourced from: https://fonts.google.com/specimen/Source+Code+Pro
|
|
52
|
+
*/
|
|
53
|
+
|
|
54
|
+
/* Variable Font - Normal */
|
|
55
|
+
@font-face {
|
|
56
|
+
font-family: 'Source Code Pro';
|
|
57
|
+
src: url('/@frontile/theme/fonts/source-code-pro-variable.woff2') format('woff2-variations');
|
|
58
|
+
font-weight: 200 900;
|
|
59
|
+
font-style: normal;
|
|
60
|
+
font-display: swap;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/* Variable Font - Italic */
|
|
64
|
+
@font-face {
|
|
65
|
+
font-family: 'Source Code Pro';
|
|
66
|
+
src: url('/@frontile/theme/fonts/source-code-pro-italic-variable.woff2') format('woff2-variations');
|
|
67
|
+
font-weight: 200 900;
|
|
24
68
|
font-style: italic;
|
|
25
69
|
font-display: swap;
|
|
26
70
|
}
|
|
@@ -6,19 +6,25 @@
|
|
|
6
6
|
* - text-{size} → font-size utilities (e.g., text-12, text-16)
|
|
7
7
|
* - font-{weight} → font-weight utilities (e.g., font-regular, font-bold)
|
|
8
8
|
* - tracking-{spacing} → letter-spacing utilities (e.g., tracking-default, tracking-tight)
|
|
9
|
-
*
|
|
9
|
+
*
|
|
10
|
+
* Role text styles (text-<role>-<size>) mirror the Beacon typography set:
|
|
11
|
+
* seven roles (marquee, header, strong, body, code, caption, label), each
|
|
12
|
+
* anchored to its own steps on the shared 1.067 typescale.
|
|
10
13
|
*/
|
|
11
14
|
|
|
12
15
|
@theme {
|
|
13
16
|
/* ==================== Base Typography Tokens ==================== */
|
|
14
17
|
|
|
15
|
-
/* Font Families
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
--font-
|
|
20
|
-
--font-
|
|
21
|
-
--font-
|
|
18
|
+
/* Font Families — each token ships a generic fallback chain so roles
|
|
19
|
+
stay legible before/without the bundled web font. Domine and Open Sans
|
|
20
|
+
are bundled (see font-faces.css); Source Code Pro is expected from the
|
|
21
|
+
consuming app and falls back to the platform monospace face. */
|
|
22
|
+
--font-marquee: "Domine", Georgia, "Times New Roman", serif;
|
|
23
|
+
--font-header: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
|
|
24
|
+
--font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
|
|
25
|
+
--font-code: "Source Code Pro", ui-monospace, "SFMono-Regular", Menlo, monospace;
|
|
26
|
+
--font-caption: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
|
|
27
|
+
--font-label: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
|
|
22
28
|
|
|
23
29
|
/* Font Weights */
|
|
24
30
|
--font-weight-regular: 400;
|
|
@@ -31,12 +37,13 @@
|
|
|
31
37
|
--letter-spacing-default: 0rem; /* 0px */
|
|
32
38
|
--letter-spacing-relaxed: 0.0625rem; /* 1px */
|
|
33
39
|
|
|
34
|
-
/* Line Heights (Leading)
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
--line-height-
|
|
38
|
-
--line-height-
|
|
39
|
-
--line-height-
|
|
40
|
+
/* Line Heights (Leading) — Beacon vocabulary.
|
|
41
|
+
These feed the --text-<role>-<size>--line-height composites below;
|
|
42
|
+
standalone leading-* utilities use Tailwind's own --leading-* namespace. */
|
|
43
|
+
--line-height-tight: 1; /* 100% */
|
|
44
|
+
--line-height-default: 1.2; /* 120% */
|
|
45
|
+
--line-height-easy: 1.4; /* 140% */
|
|
46
|
+
--line-height-relaxed: 1.5; /* 150% */
|
|
40
47
|
|
|
41
48
|
/* ==================== Typography Scale ==================== */
|
|
42
49
|
/* Base: 1rem (16px) at index 12 */
|
|
@@ -84,208 +91,297 @@
|
|
|
84
91
|
--font-size-34: calc(var(--font-size-33) * var(--typescale-ratio)); /* typescale-34 */
|
|
85
92
|
|
|
86
93
|
/* ==================== Text Style Tokens ==================== */
|
|
87
|
-
/* Composite text styles (without font-family for flexibility)
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
94
|
+
/* Composite text styles (without font-family for flexibility).
|
|
95
|
+
Usage: apply the role's font-family separately, then the text style token.
|
|
96
|
+
Sizes, weights, tracking, and leading follow the Beacon type role matrix. */
|
|
97
|
+
|
|
98
|
+
/* marquee text styles — Domine, semibold; lg+ tightens leading */
|
|
99
|
+
--text-marquee-5xs: var(--font-size-5);
|
|
100
|
+
--text-marquee-5xs--font-weight: var(--font-weight-semibold);
|
|
101
|
+
--text-marquee-5xs--letter-spacing: var(--letter-spacing-default);
|
|
102
|
+
--text-marquee-5xs--line-height: var(--line-height-relaxed);
|
|
103
|
+
|
|
104
|
+
--text-marquee-4xs: var(--font-size-8);
|
|
105
|
+
--text-marquee-4xs--font-weight: var(--font-weight-semibold);
|
|
106
|
+
--text-marquee-4xs--letter-spacing: var(--letter-spacing-default);
|
|
107
|
+
--text-marquee-4xs--line-height: var(--line-height-relaxed);
|
|
108
|
+
|
|
109
|
+
--text-marquee-3xs: var(--font-size-10);
|
|
110
|
+
--text-marquee-3xs--font-weight: var(--font-weight-semibold);
|
|
111
|
+
--text-marquee-3xs--letter-spacing: var(--letter-spacing-default);
|
|
112
|
+
--text-marquee-3xs--line-height: var(--line-height-relaxed);
|
|
113
|
+
|
|
114
|
+
--text-marquee-2xs: var(--font-size-12);
|
|
115
|
+
--text-marquee-2xs--font-weight: var(--font-weight-semibold);
|
|
116
|
+
--text-marquee-2xs--letter-spacing: var(--letter-spacing-default);
|
|
117
|
+
--text-marquee-2xs--line-height: var(--line-height-relaxed);
|
|
118
|
+
|
|
119
|
+
--text-marquee-xs: var(--font-size-14);
|
|
120
|
+
--text-marquee-xs--font-weight: var(--font-weight-semibold);
|
|
121
|
+
--text-marquee-xs--letter-spacing: var(--letter-spacing-default);
|
|
122
|
+
--text-marquee-xs--line-height: var(--line-height-easy);
|
|
123
|
+
|
|
124
|
+
--text-marquee-sm: var(--font-size-17);
|
|
92
125
|
--text-marquee-sm--font-weight: var(--font-weight-semibold);
|
|
93
126
|
--text-marquee-sm--letter-spacing: var(--letter-spacing-default);
|
|
94
|
-
--text-marquee-sm--line-height: var(--line-height-
|
|
127
|
+
--text-marquee-sm--line-height: var(--line-height-easy);
|
|
95
128
|
|
|
96
|
-
--text-marquee-md: var(--font-size-
|
|
129
|
+
--text-marquee-md: var(--font-size-19);
|
|
97
130
|
--text-marquee-md--font-weight: var(--font-weight-semibold);
|
|
98
131
|
--text-marquee-md--letter-spacing: var(--letter-spacing-default);
|
|
99
|
-
--text-marquee-md--line-height: var(--line-height-
|
|
132
|
+
--text-marquee-md--line-height: var(--line-height-easy);
|
|
100
133
|
|
|
101
|
-
--text-marquee-lg: var(--font-size-
|
|
134
|
+
--text-marquee-lg: var(--font-size-23);
|
|
102
135
|
--text-marquee-lg--font-weight: var(--font-weight-semibold);
|
|
103
136
|
--text-marquee-lg--letter-spacing: var(--letter-spacing-default);
|
|
104
|
-
--text-marquee-lg--line-height: var(--line-height-
|
|
137
|
+
--text-marquee-lg--line-height: var(--line-height-default);
|
|
105
138
|
|
|
106
|
-
--text-marquee-xl: var(--font-size-
|
|
139
|
+
--text-marquee-xl: var(--font-size-26);
|
|
107
140
|
--text-marquee-xl--font-weight: var(--font-weight-semibold);
|
|
108
141
|
--text-marquee-xl--letter-spacing: var(--letter-spacing-default);
|
|
109
|
-
--text-marquee-xl--line-height: var(--line-height-
|
|
142
|
+
--text-marquee-xl--line-height: var(--line-height-default);
|
|
110
143
|
|
|
144
|
+
--text-marquee-2xl: var(--font-size-29);
|
|
145
|
+
--text-marquee-2xl--font-weight: var(--font-weight-semibold);
|
|
146
|
+
--text-marquee-2xl--letter-spacing: var(--letter-spacing-default);
|
|
147
|
+
--text-marquee-2xl--line-height: var(--line-height-default);
|
|
148
|
+
|
|
149
|
+
--text-marquee-3xl: var(--font-size-31);
|
|
150
|
+
--text-marquee-3xl--font-weight: var(--font-weight-semibold);
|
|
151
|
+
--text-marquee-3xl--letter-spacing: var(--letter-spacing-default);
|
|
152
|
+
--text-marquee-3xl--line-height: var(--line-height-default);
|
|
111
153
|
|
|
112
|
-
/* header text styles */
|
|
113
|
-
--text-header-2xs: var(--font-size-8);
|
|
114
|
-
--text-header-2xs--font-weight: var(--font-weight-bold);
|
|
115
|
-
--text-header-2xs--letter-spacing: var(--letter-spacing-condensed);
|
|
116
|
-
--text-header-2xs--line-height: var(--line-height-comfy);
|
|
117
154
|
|
|
118
|
-
|
|
119
|
-
--text-header-
|
|
120
|
-
--text-header-
|
|
121
|
-
--text-header-
|
|
155
|
+
/* header text styles — Open Sans bold; lg+ tightens tracking & leading */
|
|
156
|
+
--text-header-4xs: var(--font-size-3);
|
|
157
|
+
--text-header-4xs--font-weight: var(--font-weight-bold);
|
|
158
|
+
--text-header-4xs--letter-spacing: var(--letter-spacing-default);
|
|
159
|
+
--text-header-4xs--line-height: var(--line-height-easy);
|
|
122
160
|
|
|
123
|
-
--text-header-
|
|
124
|
-
--text-header-
|
|
125
|
-
--text-header-
|
|
126
|
-
--text-header-
|
|
161
|
+
--text-header-3xs: var(--font-size-5);
|
|
162
|
+
--text-header-3xs--font-weight: var(--font-weight-bold);
|
|
163
|
+
--text-header-3xs--letter-spacing: var(--letter-spacing-default);
|
|
164
|
+
--text-header-3xs--line-height: var(--line-height-easy);
|
|
165
|
+
|
|
166
|
+
--text-header-2xs: var(--font-size-8);
|
|
167
|
+
--text-header-2xs--font-weight: var(--font-weight-bold);
|
|
168
|
+
--text-header-2xs--letter-spacing: var(--letter-spacing-default);
|
|
169
|
+
--text-header-2xs--line-height: var(--line-height-easy);
|
|
127
170
|
|
|
128
171
|
--text-header-xs: var(--font-size-10);
|
|
129
172
|
--text-header-xs--font-weight: var(--font-weight-bold);
|
|
130
|
-
--text-header-xs--letter-spacing: var(--letter-spacing-
|
|
131
|
-
--text-header-xs--line-height: var(--line-height-
|
|
173
|
+
--text-header-xs--letter-spacing: var(--letter-spacing-default);
|
|
174
|
+
--text-header-xs--line-height: var(--line-height-easy);
|
|
132
175
|
|
|
133
176
|
--text-header-sm: var(--font-size-12);
|
|
134
177
|
--text-header-sm--font-weight: var(--font-weight-bold);
|
|
135
|
-
--text-header-sm--letter-spacing: var(--letter-spacing-
|
|
136
|
-
--text-header-sm--line-height: var(--line-height-
|
|
178
|
+
--text-header-sm--letter-spacing: var(--letter-spacing-default);
|
|
179
|
+
--text-header-sm--line-height: var(--line-height-easy);
|
|
137
180
|
|
|
138
181
|
--text-header-md: var(--font-size-14);
|
|
139
182
|
--text-header-md--font-weight: var(--font-weight-bold);
|
|
140
|
-
--text-header-md--letter-spacing: var(--letter-spacing-
|
|
141
|
-
--text-header-md--line-height: var(--line-height-
|
|
183
|
+
--text-header-md--letter-spacing: var(--letter-spacing-tight);
|
|
184
|
+
--text-header-md--line-height: var(--line-height-easy);
|
|
142
185
|
|
|
143
186
|
--text-header-lg: var(--font-size-17);
|
|
144
187
|
--text-header-lg--font-weight: var(--font-weight-bold);
|
|
145
|
-
--text-header-lg--letter-spacing: var(--letter-spacing-
|
|
146
|
-
--text-header-lg--line-height: var(--line-height-
|
|
188
|
+
--text-header-lg--letter-spacing: var(--letter-spacing-tight);
|
|
189
|
+
--text-header-lg--line-height: var(--line-height-default);
|
|
147
190
|
|
|
148
191
|
--text-header-xl: var(--font-size-19);
|
|
149
192
|
--text-header-xl--font-weight: var(--font-weight-bold);
|
|
150
|
-
--text-header-xl--letter-spacing: var(--letter-spacing-
|
|
151
|
-
--text-header-xl--line-height: var(--line-height-
|
|
193
|
+
--text-header-xl--letter-spacing: var(--letter-spacing-tight);
|
|
194
|
+
--text-header-xl--line-height: var(--line-height-default);
|
|
152
195
|
|
|
153
196
|
--text-header-2xl: var(--font-size-23);
|
|
154
197
|
--text-header-2xl--font-weight: var(--font-weight-bold);
|
|
155
|
-
--text-header-2xl--letter-spacing: var(--letter-spacing-
|
|
156
|
-
--text-header-2xl--line-height: var(--line-height-
|
|
198
|
+
--text-header-2xl--letter-spacing: var(--letter-spacing-tight);
|
|
199
|
+
--text-header-2xl--line-height: var(--line-height-default);
|
|
157
200
|
|
|
158
201
|
--text-header-3xl: var(--font-size-26);
|
|
159
202
|
--text-header-3xl--font-weight: var(--font-weight-bold);
|
|
160
|
-
--text-header-3xl--letter-spacing: var(--letter-spacing-
|
|
161
|
-
--text-header-3xl--line-height: var(--line-height-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
/*
|
|
165
|
-
|
|
166
|
-
--text-
|
|
167
|
-
--text-
|
|
168
|
-
--text-
|
|
203
|
+
--text-header-3xl--letter-spacing: var(--letter-spacing-tight);
|
|
204
|
+
--text-header-3xl--line-height: var(--line-height-default);
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
/* strong text styles — Open Sans bold, emphasis for numerics/prices.
|
|
208
|
+
Shares the header size/tracking/leading matrix. */
|
|
209
|
+
--text-strong-4xs: var(--font-size-3);
|
|
210
|
+
--text-strong-4xs--font-weight: var(--font-weight-bold);
|
|
211
|
+
--text-strong-4xs--letter-spacing: var(--letter-spacing-default);
|
|
212
|
+
--text-strong-4xs--line-height: var(--line-height-easy);
|
|
213
|
+
|
|
214
|
+
--text-strong-3xs: var(--font-size-5);
|
|
215
|
+
--text-strong-3xs--font-weight: var(--font-weight-bold);
|
|
216
|
+
--text-strong-3xs--letter-spacing: var(--letter-spacing-default);
|
|
217
|
+
--text-strong-3xs--line-height: var(--line-height-easy);
|
|
218
|
+
|
|
219
|
+
--text-strong-2xs: var(--font-size-8);
|
|
220
|
+
--text-strong-2xs--font-weight: var(--font-weight-bold);
|
|
221
|
+
--text-strong-2xs--letter-spacing: var(--letter-spacing-default);
|
|
222
|
+
--text-strong-2xs--line-height: var(--line-height-easy);
|
|
223
|
+
|
|
224
|
+
--text-strong-xs: var(--font-size-10);
|
|
225
|
+
--text-strong-xs--font-weight: var(--font-weight-bold);
|
|
226
|
+
--text-strong-xs--letter-spacing: var(--letter-spacing-default);
|
|
227
|
+
--text-strong-xs--line-height: var(--line-height-easy);
|
|
228
|
+
|
|
229
|
+
--text-strong-sm: var(--font-size-12);
|
|
230
|
+
--text-strong-sm--font-weight: var(--font-weight-bold);
|
|
231
|
+
--text-strong-sm--letter-spacing: var(--letter-spacing-default);
|
|
232
|
+
--text-strong-sm--line-height: var(--line-height-easy);
|
|
233
|
+
|
|
234
|
+
--text-strong-md: var(--font-size-14);
|
|
235
|
+
--text-strong-md--font-weight: var(--font-weight-bold);
|
|
236
|
+
--text-strong-md--letter-spacing: var(--letter-spacing-tight);
|
|
237
|
+
--text-strong-md--line-height: var(--line-height-easy);
|
|
238
|
+
|
|
239
|
+
--text-strong-lg: var(--font-size-17);
|
|
240
|
+
--text-strong-lg--font-weight: var(--font-weight-bold);
|
|
241
|
+
--text-strong-lg--letter-spacing: var(--letter-spacing-tight);
|
|
242
|
+
--text-strong-lg--line-height: var(--line-height-default);
|
|
243
|
+
|
|
244
|
+
--text-strong-xl: var(--font-size-19);
|
|
245
|
+
--text-strong-xl--font-weight: var(--font-weight-bold);
|
|
246
|
+
--text-strong-xl--letter-spacing: var(--letter-spacing-tight);
|
|
247
|
+
--text-strong-xl--line-height: var(--line-height-default);
|
|
248
|
+
|
|
249
|
+
--text-strong-2xl: var(--font-size-23);
|
|
250
|
+
--text-strong-2xl--font-weight: var(--font-weight-bold);
|
|
251
|
+
--text-strong-2xl--letter-spacing: var(--letter-spacing-tight);
|
|
252
|
+
--text-strong-2xl--line-height: var(--line-height-default);
|
|
253
|
+
|
|
254
|
+
--text-strong-3xl: var(--font-size-26);
|
|
255
|
+
--text-strong-3xl--font-weight: var(--font-weight-bold);
|
|
256
|
+
--text-strong-3xl--letter-spacing: var(--letter-spacing-tight);
|
|
257
|
+
--text-strong-3xl--line-height: var(--line-height-default);
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
/* body text styles — Open Sans regular, relaxed leading */
|
|
261
|
+
--text-body-pico: var(--font-size-6);
|
|
262
|
+
--text-body-pico--font-weight: var(--font-weight-regular);
|
|
263
|
+
--text-body-pico--letter-spacing: var(--letter-spacing-default);
|
|
264
|
+
--text-body-pico--line-height: var(--line-height-relaxed);
|
|
169
265
|
|
|
170
|
-
--text-body-
|
|
171
|
-
--text-body-
|
|
172
|
-
--text-body-
|
|
173
|
-
--text-body-
|
|
266
|
+
--text-body-nano: var(--font-size-7);
|
|
267
|
+
--text-body-nano--font-weight: var(--font-weight-regular);
|
|
268
|
+
--text-body-nano--letter-spacing: var(--letter-spacing-default);
|
|
269
|
+
--text-body-nano--line-height: var(--line-height-relaxed);
|
|
174
270
|
|
|
175
271
|
--text-body-micro: var(--font-size-8);
|
|
176
272
|
--text-body-micro--font-weight: var(--font-weight-regular);
|
|
177
273
|
--text-body-micro--letter-spacing: var(--letter-spacing-default);
|
|
178
|
-
--text-body-micro--line-height: var(--line-height-
|
|
274
|
+
--text-body-micro--line-height: var(--line-height-relaxed);
|
|
179
275
|
|
|
180
|
-
--text-body-
|
|
181
|
-
--text-body-
|
|
182
|
-
--text-body-
|
|
183
|
-
--text-body-
|
|
276
|
+
--text-body-3xs: var(--font-size-9);
|
|
277
|
+
--text-body-3xs--font-weight: var(--font-weight-regular);
|
|
278
|
+
--text-body-3xs--letter-spacing: var(--letter-spacing-default);
|
|
279
|
+
--text-body-3xs--line-height: var(--line-height-relaxed);
|
|
184
280
|
|
|
185
|
-
--text-body-
|
|
186
|
-
--text-body-
|
|
187
|
-
--text-body-
|
|
188
|
-
--text-body-
|
|
281
|
+
--text-body-2xs: var(--font-size-10);
|
|
282
|
+
--text-body-2xs--font-weight: var(--font-weight-regular);
|
|
283
|
+
--text-body-2xs--letter-spacing: var(--letter-spacing-default);
|
|
284
|
+
--text-body-2xs--line-height: var(--line-height-relaxed);
|
|
189
285
|
|
|
190
286
|
--text-body-xs: var(--font-size-12);
|
|
191
287
|
--text-body-xs--font-weight: var(--font-weight-regular);
|
|
192
288
|
--text-body-xs--letter-spacing: var(--letter-spacing-default);
|
|
193
|
-
--text-body-xs--line-height: var(--line-height-
|
|
289
|
+
--text-body-xs--line-height: var(--line-height-relaxed);
|
|
194
290
|
|
|
195
291
|
--text-body-sm: var(--font-size-14);
|
|
196
292
|
--text-body-sm--font-weight: var(--font-weight-regular);
|
|
197
293
|
--text-body-sm--letter-spacing: var(--letter-spacing-default);
|
|
198
|
-
--text-body-sm--line-height: var(--line-height-
|
|
294
|
+
--text-body-sm--line-height: var(--line-height-relaxed);
|
|
199
295
|
|
|
200
296
|
--text-body-md: var(--font-size-16);
|
|
201
297
|
--text-body-md--font-weight: var(--font-weight-regular);
|
|
202
298
|
--text-body-md--letter-spacing: var(--letter-spacing-default);
|
|
203
|
-
--text-body-md--line-height: var(--line-height-
|
|
299
|
+
--text-body-md--line-height: var(--line-height-relaxed);
|
|
204
300
|
|
|
205
301
|
--text-body-lg: var(--font-size-18);
|
|
206
302
|
--text-body-lg--font-weight: var(--font-weight-regular);
|
|
207
303
|
--text-body-lg--letter-spacing: var(--letter-spacing-default);
|
|
208
|
-
--text-body-lg--line-height: var(--line-height-
|
|
304
|
+
--text-body-lg--line-height: var(--line-height-relaxed);
|
|
209
305
|
|
|
210
306
|
--text-body-xl: var(--font-size-21);
|
|
211
307
|
--text-body-xl--font-weight: var(--font-weight-regular);
|
|
212
308
|
--text-body-xl--letter-spacing: var(--letter-spacing-default);
|
|
213
|
-
--text-body-xl--line-height: var(--line-height-
|
|
309
|
+
--text-body-xl--line-height: var(--line-height-relaxed);
|
|
214
310
|
|
|
215
311
|
|
|
216
|
-
/* code text styles */
|
|
312
|
+
/* code text styles — Source Code Pro, relaxed leading */
|
|
217
313
|
--text-code-sm: var(--font-size-10);
|
|
218
314
|
--text-code-sm--font-weight: var(--font-weight-regular);
|
|
219
315
|
--text-code-sm--letter-spacing: var(--letter-spacing-default);
|
|
220
|
-
--text-code-sm--line-height: var(--line-height-
|
|
316
|
+
--text-code-sm--line-height: var(--line-height-relaxed);
|
|
221
317
|
|
|
222
318
|
--text-code-md: var(--font-size-12);
|
|
223
319
|
--text-code-md--font-weight: var(--font-weight-regular);
|
|
224
320
|
--text-code-md--letter-spacing: var(--letter-spacing-default);
|
|
225
|
-
--text-code-md--line-height: var(--line-height-
|
|
321
|
+
--text-code-md--line-height: var(--line-height-relaxed);
|
|
226
322
|
|
|
227
323
|
|
|
228
|
-
/* caption text styles */
|
|
324
|
+
/* caption text styles — Open Sans regular, relaxed tracking & leading */
|
|
229
325
|
--text-caption-sm: var(--font-size-8);
|
|
230
326
|
--text-caption-sm--font-weight: var(--font-weight-regular);
|
|
231
327
|
--text-caption-sm--letter-spacing: var(--letter-spacing-relaxed);
|
|
232
|
-
--text-caption-sm--line-height: var(--line-height-
|
|
328
|
+
--text-caption-sm--line-height: var(--line-height-relaxed);
|
|
233
329
|
|
|
234
330
|
--text-caption-md: var(--font-size-10);
|
|
235
331
|
--text-caption-md--font-weight: var(--font-weight-regular);
|
|
236
332
|
--text-caption-md--letter-spacing: var(--letter-spacing-relaxed);
|
|
237
|
-
--text-caption-md--line-height: var(--line-height-
|
|
333
|
+
--text-caption-md--line-height: var(--line-height-relaxed);
|
|
238
334
|
|
|
239
335
|
|
|
240
|
-
/* label text styles */
|
|
241
|
-
--text-label-
|
|
242
|
-
--text-label-
|
|
243
|
-
--text-label-
|
|
244
|
-
--text-label-
|
|
336
|
+
/* label text styles — Open Sans semibold, tight leading */
|
|
337
|
+
--text-label-nano: var(--font-size-3);
|
|
338
|
+
--text-label-nano--font-weight: var(--font-weight-semibold);
|
|
339
|
+
--text-label-nano--letter-spacing: var(--letter-spacing-default);
|
|
340
|
+
--text-label-nano--line-height: var(--line-height-tight);
|
|
245
341
|
|
|
246
342
|
--text-label-micro: var(--font-size-5);
|
|
247
|
-
--text-label-micro--font-weight: var(--font-weight-
|
|
248
|
-
--text-label-micro--letter-spacing: var(--letter-spacing-
|
|
249
|
-
--text-label-micro--line-height: var(--line-height-
|
|
343
|
+
--text-label-micro--font-weight: var(--font-weight-semibold);
|
|
344
|
+
--text-label-micro--letter-spacing: var(--letter-spacing-default);
|
|
345
|
+
--text-label-micro--line-height: var(--line-height-tight);
|
|
250
346
|
|
|
251
|
-
--text-label-
|
|
252
|
-
--text-label-
|
|
253
|
-
--text-label-
|
|
254
|
-
--text-label-
|
|
347
|
+
--text-label-2xs: var(--font-size-8);
|
|
348
|
+
--text-label-2xs--font-weight: var(--font-weight-semibold);
|
|
349
|
+
--text-label-2xs--letter-spacing: var(--letter-spacing-default);
|
|
350
|
+
--text-label-2xs--line-height: var(--line-height-tight);
|
|
255
351
|
|
|
256
352
|
--text-label-xs: var(--font-size-10);
|
|
257
|
-
--text-label-xs--font-weight: var(--font-weight-
|
|
258
|
-
--text-label-xs--letter-spacing: var(--letter-spacing-
|
|
259
|
-
--text-label-xs--line-height: var(--line-height-
|
|
353
|
+
--text-label-xs--font-weight: var(--font-weight-semibold);
|
|
354
|
+
--text-label-xs--letter-spacing: var(--letter-spacing-default);
|
|
355
|
+
--text-label-xs--line-height: var(--line-height-tight);
|
|
260
356
|
|
|
261
357
|
--text-label-sm: var(--font-size-12);
|
|
262
|
-
--text-label-sm--font-weight: var(--font-weight-
|
|
263
|
-
--text-label-sm--letter-spacing: var(--letter-spacing-
|
|
264
|
-
--text-label-sm--line-height: var(--line-height-
|
|
358
|
+
--text-label-sm--font-weight: var(--font-weight-semibold);
|
|
359
|
+
--text-label-sm--letter-spacing: var(--letter-spacing-default);
|
|
360
|
+
--text-label-sm--line-height: var(--line-height-tight);
|
|
265
361
|
|
|
266
362
|
--text-label-md: var(--font-size-14);
|
|
267
|
-
--text-label-md--font-weight: var(--font-weight-
|
|
268
|
-
--text-label-md--letter-spacing: var(--letter-spacing-
|
|
269
|
-
--text-label-md--line-height: var(--line-height-
|
|
363
|
+
--text-label-md--font-weight: var(--font-weight-semibold);
|
|
364
|
+
--text-label-md--letter-spacing: var(--letter-spacing-default);
|
|
365
|
+
--text-label-md--line-height: var(--line-height-tight);
|
|
270
366
|
|
|
271
367
|
--text-label-lg: var(--font-size-17);
|
|
272
|
-
--text-label-lg--font-weight: var(--font-weight-
|
|
273
|
-
--text-label-lg--letter-spacing: var(--letter-spacing-
|
|
274
|
-
--text-label-lg--line-height: var(--line-height-
|
|
368
|
+
--text-label-lg--font-weight: var(--font-weight-semibold);
|
|
369
|
+
--text-label-lg--letter-spacing: var(--letter-spacing-default);
|
|
370
|
+
--text-label-lg--line-height: var(--line-height-tight);
|
|
275
371
|
|
|
276
372
|
--text-label-xl: var(--font-size-19);
|
|
277
|
-
--text-label-xl--font-weight: var(--font-weight-
|
|
278
|
-
--text-label-xl--letter-spacing: var(--letter-spacing-
|
|
279
|
-
--text-label-xl--line-height: var(--line-height-
|
|
373
|
+
--text-label-xl--font-weight: var(--font-weight-semibold);
|
|
374
|
+
--text-label-xl--letter-spacing: var(--letter-spacing-default);
|
|
375
|
+
--text-label-xl--line-height: var(--line-height-tight);
|
|
280
376
|
|
|
281
377
|
--text-label-2xl: var(--font-size-23);
|
|
282
|
-
--text-label-2xl--font-weight: var(--font-weight-
|
|
283
|
-
--text-label-2xl--letter-spacing: var(--letter-spacing-
|
|
284
|
-
--text-label-2xl--line-height: var(--line-height-
|
|
378
|
+
--text-label-2xl--font-weight: var(--font-weight-semibold);
|
|
379
|
+
--text-label-2xl--letter-spacing: var(--letter-spacing-default);
|
|
380
|
+
--text-label-2xl--line-height: var(--line-height-tight);
|
|
285
381
|
|
|
286
382
|
--text-label-3xl: var(--font-size-26);
|
|
287
|
-
--text-label-3xl--font-weight: var(--font-weight-
|
|
288
|
-
--text-label-3xl--letter-spacing: var(--letter-spacing-
|
|
289
|
-
--text-label-3xl--line-height: var(--line-height-
|
|
383
|
+
--text-label-3xl--font-weight: var(--font-weight-semibold);
|
|
384
|
+
--text-label-3xl--letter-spacing: var(--letter-spacing-default);
|
|
385
|
+
--text-label-3xl--line-height: var(--line-height-tight);
|
|
290
386
|
|
|
291
387
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontile/theme",
|
|
3
|
-
"version": "0.18.0-alpha.
|
|
3
|
+
"version": "0.18.0-alpha.8",
|
|
4
4
|
"description": "Component Library for Ember Octane apps: Theme",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon",
|
|
@@ -115,9 +115,12 @@
|
|
|
115
115
|
"main": "addon-main.js",
|
|
116
116
|
"app-js": {},
|
|
117
117
|
"public-assets": {
|
|
118
|
-
"./public/fonts/
|
|
119
|
-
"./public/fonts/
|
|
118
|
+
"./public/fonts/domine-variable.woff2": "/@frontile/theme/fonts/domine-variable.woff2",
|
|
119
|
+
"./public/fonts/open-sans-italic-variable.woff2": "/@frontile/theme/fonts/open-sans-italic-variable.woff2",
|
|
120
|
+
"./public/fonts/open-sans-variable.woff2": "/@frontile/theme/fonts/open-sans-variable.woff2",
|
|
121
|
+
"./public/fonts/source-code-pro-italic-variable.woff2": "/@frontile/theme/fonts/source-code-pro-italic-variable.woff2",
|
|
122
|
+
"./public/fonts/source-code-pro-variable.woff2": "/@frontile/theme/fonts/source-code-pro-variable.woff2"
|
|
120
123
|
}
|
|
121
124
|
},
|
|
122
|
-
"gitHead": "
|
|
125
|
+
"gitHead": "4154e23134f1dcd7abe19a078cdc6096181639df"
|
|
123
126
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,26 +1,70 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Domine (Variable Font)
|
|
3
3
|
* Used for: marquee text styles (text-marquee-*)
|
|
4
4
|
* Primary weight: 600 (SemiBold) - used by all marquee styles
|
|
5
5
|
* Variable font supports weights: 400-700
|
|
6
6
|
*
|
|
7
|
-
* Sourced from: https://fonts.google.com/specimen/
|
|
7
|
+
* Sourced from: https://fonts.google.com/specimen/Domine
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/* Variable Font - Normal */
|
|
11
11
|
@font-face {
|
|
12
|
-
font-family: '
|
|
13
|
-
src: url('/@frontile/theme/fonts/
|
|
12
|
+
font-family: 'Domine';
|
|
13
|
+
src: url('/@frontile/theme/fonts/domine-variable.woff2') format('woff2-variations');
|
|
14
14
|
font-weight: 400 700;
|
|
15
15
|
font-style: normal;
|
|
16
16
|
font-display: swap;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
/**
|
|
20
|
+
* Open Sans (Variable Font)
|
|
21
|
+
* Used for: header, body, caption, and label text styles
|
|
22
|
+
* Weights used: 400 (regular), 600 (semibold), 700 (bold)
|
|
23
|
+
* Variable font supports weights: 300-800
|
|
24
|
+
*
|
|
25
|
+
* Sourced from: https://fonts.google.com/specimen/Open+Sans
|
|
26
|
+
*/
|
|
27
|
+
|
|
28
|
+
/* Variable Font - Normal */
|
|
20
29
|
@font-face {
|
|
21
|
-
font-family: '
|
|
22
|
-
src: url('/@frontile/theme/fonts/
|
|
23
|
-
font-weight:
|
|
30
|
+
font-family: 'Open Sans';
|
|
31
|
+
src: url('/@frontile/theme/fonts/open-sans-variable.woff2') format('woff2-variations');
|
|
32
|
+
font-weight: 300 800;
|
|
33
|
+
font-style: normal;
|
|
34
|
+
font-display: swap;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/* Variable Font - Italic */
|
|
38
|
+
@font-face {
|
|
39
|
+
font-family: 'Open Sans';
|
|
40
|
+
src: url('/@frontile/theme/fonts/open-sans-italic-variable.woff2') format('woff2-variations');
|
|
41
|
+
font-weight: 300 800;
|
|
42
|
+
font-style: italic;
|
|
43
|
+
font-display: swap;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Source Code Pro (Variable Font)
|
|
48
|
+
* Used for: code text styles (text-code-*)
|
|
49
|
+
* Variable font supports weights: 200-900
|
|
50
|
+
*
|
|
51
|
+
* Sourced from: https://fonts.google.com/specimen/Source+Code+Pro
|
|
52
|
+
*/
|
|
53
|
+
|
|
54
|
+
/* Variable Font - Normal */
|
|
55
|
+
@font-face {
|
|
56
|
+
font-family: 'Source Code Pro';
|
|
57
|
+
src: url('/@frontile/theme/fonts/source-code-pro-variable.woff2') format('woff2-variations');
|
|
58
|
+
font-weight: 200 900;
|
|
59
|
+
font-style: normal;
|
|
60
|
+
font-display: swap;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/* Variable Font - Italic */
|
|
64
|
+
@font-face {
|
|
65
|
+
font-family: 'Source Code Pro';
|
|
66
|
+
src: url('/@frontile/theme/fonts/source-code-pro-italic-variable.woff2') format('woff2-variations');
|
|
67
|
+
font-weight: 200 900;
|
|
24
68
|
font-style: italic;
|
|
25
69
|
font-display: swap;
|
|
26
70
|
}
|