ionbase-ui 0.1.0
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/LICENSE +21 -0
- package/README.md +74 -0
- package/dist/Icon.d.ts +72 -0
- package/dist/Icon.d.ts.map +1 -0
- package/dist/Icon.js +50 -0
- package/dist/Icon.js.map +1 -0
- package/dist/components/Avatar.d.ts +52 -0
- package/dist/components/Avatar.d.ts.map +1 -0
- package/dist/components/Avatar.js +59 -0
- package/dist/components/Avatar.js.map +1 -0
- package/dist/components/Badge.d.ts +26 -0
- package/dist/components/Badge.d.ts.map +1 -0
- package/dist/components/Badge.js +17 -0
- package/dist/components/Badge.js.map +1 -0
- package/dist/components/Button.d.ts +18 -0
- package/dist/components/Button.d.ts.map +1 -0
- package/dist/components/Button.js +43 -0
- package/dist/components/Button.js.map +1 -0
- package/dist/components/Checkbox.d.ts +30 -0
- package/dist/components/Checkbox.d.ts.map +1 -0
- package/dist/components/Checkbox.js +39 -0
- package/dist/components/Checkbox.js.map +1 -0
- package/dist/components/Divider.d.ts +17 -0
- package/dist/components/Divider.d.ts.map +1 -0
- package/dist/components/Divider.js +16 -0
- package/dist/components/Divider.js.map +1 -0
- package/dist/components/Header.d.ts +25 -0
- package/dist/components/Header.d.ts.map +1 -0
- package/dist/components/Header.js +18 -0
- package/dist/components/Header.js.map +1 -0
- package/dist/components/Input.d.ts +32 -0
- package/dist/components/Input.d.ts.map +1 -0
- package/dist/components/Input.js +66 -0
- package/dist/components/Input.js.map +1 -0
- package/dist/components/Logo.d.ts +41 -0
- package/dist/components/Logo.d.ts.map +1 -0
- package/dist/components/Logo.js +70 -0
- package/dist/components/Logo.js.map +1 -0
- package/dist/components/Menu.d.ts +29 -0
- package/dist/components/Menu.d.ts.map +1 -0
- package/dist/components/Menu.js +31 -0
- package/dist/components/Menu.js.map +1 -0
- package/dist/components/NavItem.d.ts +30 -0
- package/dist/components/NavItem.d.ts.map +1 -0
- package/dist/components/NavItem.js +45 -0
- package/dist/components/NavItem.js.map +1 -0
- package/dist/components/Radio.d.ts +30 -0
- package/dist/components/Radio.d.ts.map +1 -0
- package/dist/components/Radio.js +61 -0
- package/dist/components/Radio.js.map +1 -0
- package/dist/components/ScrollProgress.d.ts +33 -0
- package/dist/components/ScrollProgress.d.ts.map +1 -0
- package/dist/components/ScrollProgress.js +115 -0
- package/dist/components/ScrollProgress.js.map +1 -0
- package/dist/components/Select.d.ts +43 -0
- package/dist/components/Select.d.ts.map +1 -0
- package/dist/components/Select.js +80 -0
- package/dist/components/Select.js.map +1 -0
- package/dist/components/Table.d.ts +71 -0
- package/dist/components/Table.d.ts.map +1 -0
- package/dist/components/Table.js +60 -0
- package/dist/components/Table.js.map +1 -0
- package/dist/components/Tabs.d.ts +23 -0
- package/dist/components/Tabs.d.ts.map +1 -0
- package/dist/components/Tabs.js +47 -0
- package/dist/components/Tabs.js.map +1 -0
- package/dist/components/Toggle.d.ts +25 -0
- package/dist/components/Toggle.d.ts.map +1 -0
- package/dist/components/Toggle.js +32 -0
- package/dist/components/Toggle.js.map +1 -0
- package/dist/components/index.d.ts +33 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/index.js +17 -0
- package/dist/components/index.js.map +1 -0
- package/dist/index.d.ts +25 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +24 -0
- package/dist/index.js.map +1 -0
- package/dist/styles/avatar.css +138 -0
- package/dist/styles/badge.css +125 -0
- package/dist/styles/button.css +331 -0
- package/dist/styles/checkbox.css +229 -0
- package/dist/styles/divider.css +31 -0
- package/dist/styles/header.css +95 -0
- package/dist/styles/index.css +44 -0
- package/dist/styles/input.css +264 -0
- package/dist/styles/logo.css +63 -0
- package/dist/styles/menu.css +150 -0
- package/dist/styles/nav-item.css +120 -0
- package/dist/styles/radio.css +200 -0
- package/dist/styles/scroll-progress.css +171 -0
- package/dist/styles/select.css +162 -0
- package/dist/styles/table.css +192 -0
- package/dist/styles/tabs.css +219 -0
- package/dist/styles/toggle.css +184 -0
- package/dist/styles/tokens/base.css +386 -0
- package/dist/styles/tokens/breakpoint-mobile.css +34 -0
- package/dist/styles/tokens/breakpoint-tablet.css +25 -0
- package/dist/styles/tokens/elevation.css +112 -0
- package/dist/styles/tokens/index.css +6 -0
- package/dist/styles/tokens/theme-dark.css +106 -0
- package/dist/styles/tokens/typography.css +124 -0
- package/dist/tokens/index.d.ts +2097 -0
- package/dist/tokens/index.d.ts.map +1 -0
- package/dist/tokens/index.js +1702 -0
- package/dist/tokens/index.js.map +1 -0
- package/package.json +70 -0
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated from the Figma effect styles. Do not edit.
|
|
3
|
+
* Regenerate with `pnpm --filter @ionbase-ui/tokens build`.
|
|
4
|
+
*
|
|
5
|
+
* Source: src/figma/effect-styles.json
|
|
6
|
+
*
|
|
7
|
+
* These are NOT tokens. Figma's effect styles are not variable-bound, so there
|
|
8
|
+
* is nothing for them to alias — the values are committed and generated instead.
|
|
9
|
+
* The `--ion-` prefix marks that: anything named `--shadow-*` would come from
|
|
10
|
+
* the token pipeline, and none of this does.
|
|
11
|
+
*
|
|
12
|
+
* DARK MODE: override these same properties under `[data-theme='dark']`.
|
|
13
|
+
* No component file should need to change.
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
:root {
|
|
17
|
+
--ion-shadow-shadow-xs:
|
|
18
|
+
0px 1px 2px 0px rgb(0 0 0 / 5%);
|
|
19
|
+
|
|
20
|
+
--ion-shadow-shadow-sm:
|
|
21
|
+
0px 1px 3px 0px rgb(0 0 0 / 8%),
|
|
22
|
+
0px 1px 2px -1px rgb(0 0 0 / 6%);
|
|
23
|
+
|
|
24
|
+
--ion-shadow-shadow-md:
|
|
25
|
+
0px 4px 8px -2px rgb(0 0 0 / 8%),
|
|
26
|
+
0px 2px 4px -2px rgb(0 0 0 / 6%);
|
|
27
|
+
|
|
28
|
+
--ion-shadow-shadow-lg:
|
|
29
|
+
0px 12px 16px -4px rgb(0 0 0 / 8%),
|
|
30
|
+
0px 4px 6px -2px rgb(0 0 0 / 5%);
|
|
31
|
+
|
|
32
|
+
--ion-shadow-shadow-xl:
|
|
33
|
+
0px 20px 24px -4px rgb(0 0 0 / 10%),
|
|
34
|
+
0px 8px 8px -4px rgb(0 0 0 / 4%);
|
|
35
|
+
|
|
36
|
+
--ion-shadow-raised-lifted-xs:
|
|
37
|
+
inset 0px -2px 1px 0px rgb(0 0 0 / 40%),
|
|
38
|
+
inset 0px 2px 1px 0px rgb(255 255 255 / 20%),
|
|
39
|
+
0px 1px 1px 0px rgb(7 10 13 / 6%),
|
|
40
|
+
0px 1px 2px 0px rgb(7 10 13 / 4%);
|
|
41
|
+
|
|
42
|
+
--ion-shadow-raised-lifted-sm:
|
|
43
|
+
inset 0px -3px 1px 0px rgb(0 0 0 / 30%),
|
|
44
|
+
inset 0px 3px 1px 0px rgb(255 255 255 / 20%),
|
|
45
|
+
0px 1px 2px 0px rgb(7 10 13 / 8%),
|
|
46
|
+
0px 2px 4px 0px rgb(7 10 13 / 5%);
|
|
47
|
+
|
|
48
|
+
--ion-shadow-raised-lifted-lg:
|
|
49
|
+
inset 0px -4px 2px 0px rgb(0 0 0 / 40%),
|
|
50
|
+
inset 0px 4px 2px 0px rgb(255 255 255 / 20%),
|
|
51
|
+
0px 1px 1px 0px rgb(7 10 13 / 32%),
|
|
52
|
+
0px 1px 2px 0px rgb(7 10 13 / 16%);
|
|
53
|
+
|
|
54
|
+
--ion-shadow-raised-lifted-xl:
|
|
55
|
+
inset 0px -6px 2px 0px rgb(0 0 0 / 35%),
|
|
56
|
+
inset 0px 6px 2px 0px rgb(255 255 255 / 20%),
|
|
57
|
+
0px 1px 2px 0px rgb(7 10 13 / 30%),
|
|
58
|
+
0px 2px 4px 0px rgb(7 10 13 / 14%);
|
|
59
|
+
|
|
60
|
+
--ion-shadow-inset-flush-xs:
|
|
61
|
+
inset 0px 1px 2px 0px rgb(0 0 0 / 8%);
|
|
62
|
+
|
|
63
|
+
--ion-shadow-inset-flush-lg:
|
|
64
|
+
inset 0px 2px 2px 0px rgb(0 0 0 / 40%);
|
|
65
|
+
|
|
66
|
+
--ion-shadow-focus-md:
|
|
67
|
+
0px 0px 0px 2px rgb(255 255 255 / 100%),
|
|
68
|
+
0px 0px 0px 4px rgb(7 10 13 / 50%);
|
|
69
|
+
|
|
70
|
+
--ion-shadow-focus-lg:
|
|
71
|
+
0px 0px 0px 2px rgb(255 255 255 / 100%),
|
|
72
|
+
0px 0px 0px 4px rgb(221 224 228 / 100%),
|
|
73
|
+
0px 0px 0px 6px rgb(19 25 35 / 100%),
|
|
74
|
+
0px 2px 6px 0px rgb(7 10 13 / 20%);
|
|
75
|
+
|
|
76
|
+
--ion-shadow-raised-flush-xs:
|
|
77
|
+
inset 0px -2px 1px 0px rgb(0 0 0 / 40%),
|
|
78
|
+
inset 0px 2px 1px 0px rgb(255 255 255 / 20%);
|
|
79
|
+
|
|
80
|
+
--ion-shadow-raised-flush-sm:
|
|
81
|
+
inset 0px -3px 1px 0px rgb(0 0 0 / 30%),
|
|
82
|
+
inset 0px 3px 1px 0px rgb(255 255 255 / 20%);
|
|
83
|
+
|
|
84
|
+
--ion-shadow-raised-flush-lg:
|
|
85
|
+
inset 0px -4px 2px 0px rgb(0 0 0 / 40%),
|
|
86
|
+
inset 0px 4px 2px 0px rgb(255 255 255 / 20%);
|
|
87
|
+
|
|
88
|
+
--ion-shadow-raised-flush-xl:
|
|
89
|
+
inset 0px -6px 2px 0px rgb(0 0 0 / 35%),
|
|
90
|
+
inset 0px 6px 2px 0px rgb(255 255 255 / 20%);
|
|
91
|
+
|
|
92
|
+
--ion-shadow-inset-lifted-xs:
|
|
93
|
+
inset 0px 1px 2px 0px rgb(0 0 0 / 8%),
|
|
94
|
+
0px 1px 1px 0px rgb(7 10 13 / 6%),
|
|
95
|
+
0px 1px 2px 0px rgb(7 10 13 / 4%);
|
|
96
|
+
|
|
97
|
+
--ion-shadow-inset-lifted-lg:
|
|
98
|
+
inset 0px 2px 2px 0px rgb(0 0 0 / 40%),
|
|
99
|
+
0px 1px 1px 0px rgb(7 10 13 / 32%),
|
|
100
|
+
0px 1px 2px 0px rgb(7 10 13 / 16%);
|
|
101
|
+
|
|
102
|
+
--ion-shadow-inset-flush-sm:
|
|
103
|
+
inset 0px 1.5px 2px 0px rgb(0 0 0 / 20%);
|
|
104
|
+
|
|
105
|
+
--ion-shadow-inset-lifted-sm:
|
|
106
|
+
inset 0px 1.5px 2px 0px rgb(0 0 0 / 20%),
|
|
107
|
+
0px 1px 2px 0px rgb(7 10 13 / 8%),
|
|
108
|
+
0px 2px 4px 0px rgb(7 10 13 / 5%);
|
|
109
|
+
|
|
110
|
+
/* A shadow that paints nothing, so composed lists always stay valid. */
|
|
111
|
+
--ion-shadow-none: 0 0 transparent;
|
|
112
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
[data-theme="dark"] {
|
|
6
|
+
--text-default: #f6f8f9;
|
|
7
|
+
--text-secondary: #dde0e4;
|
|
8
|
+
--text-tertiary: #9ca3b0;
|
|
9
|
+
--text-placeholder: #6b7280;
|
|
10
|
+
--text-on-color: #000000;
|
|
11
|
+
--text-inverse: #131923;
|
|
12
|
+
--text-primary: #609cf0;
|
|
13
|
+
--text-error: #f56b6b;
|
|
14
|
+
--text-success: #50c38c;
|
|
15
|
+
--text-warning: #ef8539;
|
|
16
|
+
--text-information: #7e6ff1;
|
|
17
|
+
--text-link: #609cf0;
|
|
18
|
+
--text-link-hover: #9fd5f9;
|
|
19
|
+
--text-link-visited: #7e6ff1;
|
|
20
|
+
--text-interactive: #dde0e4;
|
|
21
|
+
--text-interactive-hover: #f6f8f9;
|
|
22
|
+
--icon-default: #f0f2f4;
|
|
23
|
+
--icon-secondary: #dde0e4;
|
|
24
|
+
--icon-tertiary: #9ca3b0;
|
|
25
|
+
--icon-inverse: #131923;
|
|
26
|
+
--icon-primary: #609cf0;
|
|
27
|
+
--icon-error: #f56b6b;
|
|
28
|
+
--icon-success: #50c38c;
|
|
29
|
+
--icon-warning: #ef8539;
|
|
30
|
+
--icon-information: #7e6ff1;
|
|
31
|
+
--icon-interactive: #dde0e4;
|
|
32
|
+
--icon-interactive-hover: #f6f8f9;
|
|
33
|
+
--surface-default: #000000;
|
|
34
|
+
--surface-page: #131923;
|
|
35
|
+
--surface-sunken: #131923;
|
|
36
|
+
--surface-subtle: #1d2735;
|
|
37
|
+
--surface-muted: #1d2735;
|
|
38
|
+
--surface-raised: #1d2735;
|
|
39
|
+
--surface-overlay: #000000;
|
|
40
|
+
--surface-scrim: rgba(0, 0, 0, 0.6);
|
|
41
|
+
--surface-inverse: #ffffff;
|
|
42
|
+
--surface-inverse-subtle: #e5e7eb;
|
|
43
|
+
--surface-disabled: #1d2735;
|
|
44
|
+
--surface-placeholder: #4b5563;
|
|
45
|
+
--surface-hover: rgba(255, 255, 255, 0.05);
|
|
46
|
+
--surface-pressed: rgba(255, 255, 255, 0.1);
|
|
47
|
+
--surface-selected: #071e69;
|
|
48
|
+
--surface-selected-hover: #0e2d8b;
|
|
49
|
+
--surface-primary: #286ef0;
|
|
50
|
+
--surface-primary-hover: #609cf0;
|
|
51
|
+
--surface-primary-pressed: #9fd5f9;
|
|
52
|
+
--surface-primary-subtle: #071e69;
|
|
53
|
+
--surface-primary-subtle-hover: #0e2d8b;
|
|
54
|
+
--surface-primary-tint: #0e2d8b;
|
|
55
|
+
--surface-error: #ef4343;
|
|
56
|
+
--surface-error-hover: #f56b6b;
|
|
57
|
+
--surface-error-pressed: #ffadad;
|
|
58
|
+
--surface-error-subtle: #811d1d;
|
|
59
|
+
--surface-error-subtle-hover: #981b1b;
|
|
60
|
+
--surface-error-tint: #981b1b;
|
|
61
|
+
--surface-success: #12a154;
|
|
62
|
+
--surface-success-hover: #50c38c;
|
|
63
|
+
--surface-success-pressed: #8fdbbb;
|
|
64
|
+
--surface-success-subtle: #054d1a;
|
|
65
|
+
--surface-success-subtle-hover: #076426;
|
|
66
|
+
--surface-success-tint: #076426;
|
|
67
|
+
--surface-warning: #ea5600;
|
|
68
|
+
--surface-warning-hover: #ef8539;
|
|
69
|
+
--surface-warning-pressed: #fdc17c;
|
|
70
|
+
--surface-warning-subtle: #401604;
|
|
71
|
+
--surface-warning-subtle-hover: #671f07;
|
|
72
|
+
--surface-warning-tint: #671f07;
|
|
73
|
+
--surface-information: #5a4cd6;
|
|
74
|
+
--surface-information-hover: #7e6ff1;
|
|
75
|
+
--surface-information-pressed: #adadf5;
|
|
76
|
+
--surface-information-subtle: #260769;
|
|
77
|
+
--surface-information-subtle-hover: #350e8b;
|
|
78
|
+
--surface-information-tint: #350e8b;
|
|
79
|
+
--border-subtle: #1d2735;
|
|
80
|
+
--border-default: #384252;
|
|
81
|
+
--border-strong: #4b5563;
|
|
82
|
+
--border-stronger: #6b7280;
|
|
83
|
+
--border-inverse: #f6f8f9;
|
|
84
|
+
--border-disabled: #384252;
|
|
85
|
+
--border-transparent: rgba(255, 255, 255, 0.05);
|
|
86
|
+
--border-primary: #609cf0;
|
|
87
|
+
--border-primary-strong: #1c62e3;
|
|
88
|
+
--border-primary-subtle: #0e2d8b;
|
|
89
|
+
--border-error: #f56b6b;
|
|
90
|
+
--border-error-strong: #dc2828;
|
|
91
|
+
--border-error-subtle: #981b1b;
|
|
92
|
+
--border-success: #50c38c;
|
|
93
|
+
--border-success-strong: #14994e;
|
|
94
|
+
--border-success-subtle: #076426;
|
|
95
|
+
--border-warning: #ef8539;
|
|
96
|
+
--border-warning-strong: #af3e0e;
|
|
97
|
+
--border-warning-subtle: #671f07;
|
|
98
|
+
--border-information: #7e6ff1;
|
|
99
|
+
--border-information-strong: #4f3cc8;
|
|
100
|
+
--border-information-subtle: #350e8b;
|
|
101
|
+
--border-focus: #609cf0;
|
|
102
|
+
--border-focus-error: #f56b6b;
|
|
103
|
+
--ring-focus: #609cf0;
|
|
104
|
+
--ring-error: #f56b6b;
|
|
105
|
+
--ring-offset: #131923;
|
|
106
|
+
}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated from the Figma text styles. Do not edit.
|
|
3
|
+
* Regenerate with `pnpm --filter @ionbase-ui/tokens build`.
|
|
4
|
+
*
|
|
5
|
+
* Responsive by construction: font-size and line-height reference
|
|
6
|
+
* breakpoint-scoped type/* tokens, so these classes resize on their own.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
.ion-text-display {
|
|
10
|
+
font-family: var(--font-family-sans);
|
|
11
|
+
font-weight: var(--font-weight-semibold);
|
|
12
|
+
font-size: var(--type-display);
|
|
13
|
+
line-height: var(--type-display-line-height);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.ion-text-h1 {
|
|
17
|
+
font-family: var(--font-family-serif-display);
|
|
18
|
+
font-weight: var(--font-weight-semibold);
|
|
19
|
+
font-size: var(--type-h1);
|
|
20
|
+
line-height: var(--type-h1-line-height);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.ion-text-h2 {
|
|
24
|
+
font-family: var(--font-family-serif-display);
|
|
25
|
+
font-weight: var(--font-weight-semibold);
|
|
26
|
+
font-size: var(--type-h2);
|
|
27
|
+
line-height: var(--type-h2-line-height);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.ion-text-h3 {
|
|
31
|
+
font-family: var(--font-family-sans);
|
|
32
|
+
font-weight: var(--font-weight-semibold);
|
|
33
|
+
font-size: var(--type-h3);
|
|
34
|
+
line-height: var(--type-h3-line-height);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.ion-text-h4 {
|
|
38
|
+
font-family: var(--font-family-sans);
|
|
39
|
+
font-weight: var(--font-weight-semibold);
|
|
40
|
+
font-size: var(--type-h4);
|
|
41
|
+
line-height: var(--type-h4-line-height);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.ion-text-h5 {
|
|
45
|
+
font-family: var(--font-family-sans);
|
|
46
|
+
font-weight: var(--font-weight-semibold);
|
|
47
|
+
font-size: var(--type-h5);
|
|
48
|
+
line-height: var(--type-h5-line-height);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.ion-text-h6 {
|
|
52
|
+
font-family: var(--font-family-sans);
|
|
53
|
+
font-weight: var(--font-weight-semibold);
|
|
54
|
+
font-size: var(--type-h6);
|
|
55
|
+
line-height: var(--type-h6-line-height);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.ion-text-body-lg {
|
|
59
|
+
font-family: var(--font-family-sans);
|
|
60
|
+
font-weight: var(--font-weight-regular);
|
|
61
|
+
font-size: var(--type-body-lg);
|
|
62
|
+
line-height: var(--type-body-lg-line-height);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.ion-text-body-md {
|
|
66
|
+
font-family: var(--font-family-sans);
|
|
67
|
+
font-weight: var(--font-weight-regular);
|
|
68
|
+
font-size: var(--type-body-md);
|
|
69
|
+
line-height: var(--type-body-md-line-height);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.ion-text-body {
|
|
73
|
+
font-family: var(--font-family-sans);
|
|
74
|
+
font-weight: var(--font-weight-regular);
|
|
75
|
+
font-size: var(--type-body);
|
|
76
|
+
line-height: var(--type-body-line-height);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.ion-text-body-sm {
|
|
80
|
+
font-family: var(--font-family-sans);
|
|
81
|
+
font-weight: var(--font-weight-regular);
|
|
82
|
+
font-size: var(--type-body-sm);
|
|
83
|
+
line-height: var(--type-body-sm-line-height);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.ion-text-caption {
|
|
87
|
+
font-family: var(--font-family-sans);
|
|
88
|
+
font-weight: var(--font-weight-medium);
|
|
89
|
+
font-size: var(--type-caption);
|
|
90
|
+
line-height: var(--type-caption-line-height);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.ion-text-editorial-display {
|
|
94
|
+
font-family: var(--font-family-serif);
|
|
95
|
+
font-weight: var(--font-weight-bold);
|
|
96
|
+
font-size: var(--type-display);
|
|
97
|
+
line-height: var(--type-display-line-height);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.ion-text-editorial-h1 {
|
|
101
|
+
font-family: var(--font-family-serif);
|
|
102
|
+
font-weight: var(--font-weight-bold);
|
|
103
|
+
font-size: var(--type-h1);
|
|
104
|
+
line-height: var(--type-h1-line-height);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.ion-text-editorial-h2 {
|
|
108
|
+
font-family: var(--font-family-serif);
|
|
109
|
+
font-weight: var(--font-weight-bold);
|
|
110
|
+
font-size: var(--type-h2);
|
|
111
|
+
line-height: var(--type-h2-line-height);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.ion-text-editorial-h3 {
|
|
115
|
+
font-family: var(--font-family-serif);
|
|
116
|
+
font-weight: var(--font-weight-bold);
|
|
117
|
+
font-size: var(--type-h3);
|
|
118
|
+
line-height: var(--type-h3-line-height);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
/* Weight-only modifier, pairs with any body class. */
|
|
122
|
+
.ion-text--emphasis {
|
|
123
|
+
font-weight: var(--font-weight-medium);
|
|
124
|
+
}
|