@ably/ui 16.1.0 → 16.1.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/core/styles/properties.css +4 -6
- package/core/styles/text.css +4 -4
- package/package.json +1 -1
- package/tailwind.config.js +16 -11
|
@@ -212,13 +212,11 @@
|
|
|
212
212
|
--fs-code: 0.813rem;
|
|
213
213
|
--fs-code2: 0.688rem;
|
|
214
214
|
|
|
215
|
-
--lh-
|
|
216
|
-
--lh-
|
|
217
|
-
--lh-snug: 1.15;
|
|
215
|
+
--lh-none: 1;
|
|
216
|
+
--lh-dense: 1.125;
|
|
218
217
|
--lh-min-normal: 1.2;
|
|
219
|
-
--lh-
|
|
220
|
-
--lh-relaxed: 1.
|
|
221
|
-
--lh-extra-relaxed: 1.6;
|
|
218
|
+
--lh-snug: 1.4;
|
|
219
|
+
--lh-relaxed: 1.6;
|
|
222
220
|
|
|
223
221
|
--ls-tighten-0_025: -0.025em;
|
|
224
222
|
--ls-tighten-0_02: -0.02em;
|
package/core/styles/text.css
CHANGED
|
@@ -81,19 +81,19 @@
|
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
.ui-text-label1 {
|
|
84
|
-
@apply font-sans text-neutral-900 text-label1 font-semibold
|
|
84
|
+
@apply font-sans text-neutral-900 text-label1 font-semibold;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
.ui-text-label2 {
|
|
88
|
-
@apply font-sans text-neutral-900 text-label2 font-semibold
|
|
88
|
+
@apply font-sans text-neutral-900 text-label2 font-semibold;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
.ui-text-label3 {
|
|
92
|
-
@apply font-sans text-neutral-900 text-label3 font-semibold
|
|
92
|
+
@apply font-sans text-neutral-900 text-label3 font-semibold;
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
.ui-text-label4 {
|
|
96
|
-
@apply font-sans text-neutral-900 text-label4 font-semibold
|
|
96
|
+
@apply font-sans text-neutral-900 text-label4 font-semibold;
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
.ui-theme-dark .ui-text-label1,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ably/ui",
|
|
3
|
-
"version": "16.1.
|
|
3
|
+
"version": "16.1.1",
|
|
4
4
|
"description": "Home of the Ably design system library ([design.ably.com](https://design.ably.com)). It provides a showcase, development/test environment and a publishing pipeline for different distributables.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
package/tailwind.config.js
CHANGED
|
@@ -15,7 +15,7 @@ module.exports = {
|
|
|
15
15
|
title: ["var(--fs-title)", "var(--lh-min-normal)"],
|
|
16
16
|
"title-xl": ["var(--fs-title-xl)", "var(--lh-min-normal)"],
|
|
17
17
|
"title-xs": ["var(--fs-title-xs)", "var(--lh-min-normal)"],
|
|
18
|
-
h1: ["var(--fs-h1)", "var(--lh-
|
|
18
|
+
h1: ["var(--fs-h1)", "var(--lh-dense)"],
|
|
19
19
|
"h1-xl": ["var(--fs-h1-xl)", "var(--lh-min-normal)"],
|
|
20
20
|
"h1-xs": ["var(--fs-h1-xs)", "var(--lh-min-normal)"],
|
|
21
21
|
h2: ["var(--fs-h2)", "var(--lh-min-normal)"],
|
|
@@ -24,23 +24,23 @@ module.exports = {
|
|
|
24
24
|
h3: ["var(--fs-h3)", "var(--lh-min-normal)"],
|
|
25
25
|
h4: ["var(--fs-h4)", "var(--lh-min-normal)"],
|
|
26
26
|
h5: ["var(--fs-h5)", "var(--lh-min-normal)"],
|
|
27
|
-
p1: ["var(--fs-p1)", "var(--lh-
|
|
28
|
-
p2: ["var(--fs-p2)", "var(--lh-
|
|
29
|
-
p3: ["var(--fs-p3)", "var(--lh-
|
|
30
|
-
p4: ["var(--fs-p4)", "var(--lh-
|
|
27
|
+
p1: ["var(--fs-p1)", "var(--lh-relaxed)"],
|
|
28
|
+
p2: ["var(--fs-p2)", "var(--lh-relaxed)"],
|
|
29
|
+
p3: ["var(--fs-p3)", "var(--lh-relaxed)"],
|
|
30
|
+
p4: ["var(--fs-p4)", "var(--lh-relaxed)"],
|
|
31
31
|
standfirst: ["var(--fs-standfirst)"],
|
|
32
32
|
"standfirst-xl": ["var(--fs-standfirst-xl)"],
|
|
33
33
|
"sub-header": ["var(--fs-sub-header)"],
|
|
34
34
|
"sub-header-xs": ["var(--fs-sub-header-xs)"],
|
|
35
35
|
overline1: ["var(--fs-overline1)"],
|
|
36
36
|
overline2: ["var(--fs-overline2)"],
|
|
37
|
-
label1: ["var(--fs-label1)"],
|
|
38
|
-
label2: ["var(--fs-label2)"],
|
|
39
|
-
label3: ["var(--fs-label3)"],
|
|
40
|
-
label4: ["var(--fs-label4)"],
|
|
37
|
+
label1: ["var(--fs-label1)", "var(--lh-snug)"],
|
|
38
|
+
label2: ["var(--fs-label2)", "var(--lh-snug)"],
|
|
39
|
+
label3: ["var(--fs-label3)", "var(--lh-snug)"],
|
|
40
|
+
label4: ["var(--fs-label4)", "var(--lh-snug)"],
|
|
41
41
|
quote: ["var(--fs-quote)"],
|
|
42
|
-
code: ["var(--fs-code)", "var(--lh-
|
|
43
|
-
code2: ["var(--fs-code2)", "var(--lh-
|
|
42
|
+
code: ["var(--fs-code)", "var(--lh-none)"],
|
|
43
|
+
code2: ["var(--fs-code2)", "var(--lh-none)"],
|
|
44
44
|
},
|
|
45
45
|
colors: {
|
|
46
46
|
"neutral-000": "var(--color-neutral-000)",
|
|
@@ -307,6 +307,11 @@ module.exports = {
|
|
|
307
307
|
gridRowStart: {
|
|
308
308
|
8: "8",
|
|
309
309
|
},
|
|
310
|
+
lineHeight: {
|
|
311
|
+
dense: "var(--lh-dense)",
|
|
312
|
+
snug: "var(--lh-snug)",
|
|
313
|
+
relaxed: "var(--lh-relaxed)",
|
|
314
|
+
},
|
|
310
315
|
keyframes: {
|
|
311
316
|
tooltipEntry: {
|
|
312
317
|
"0%": { transform: "translateY(8px)", opacity: 0 },
|