@tempoxyz/ds 3.5.20261201024028 → 3.5.20261201025126
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/dist/docs/marketing.md
CHANGED
|
@@ -19,7 +19,7 @@ Each section below is one page of the documentation at ds.tehq.dev.
|
|
|
19
19
|
- [Iconography](#iconography): Tempo's icon family, drawn on one grid in the color of its text.
|
|
20
20
|
- [Layout](#layout-1): The page grid, section spacing, gaps, and widths of marketing pages.
|
|
21
21
|
- [Motion](#motion): Durations, delays, curves, and distances, with reduced motion built in.
|
|
22
|
-
- [Radius
|
|
22
|
+
- [Radius & Padding](#radius--padding): Corner radii, squircle corners, border widths, and how boxes pad by radius.
|
|
23
23
|
- [States](#states-1): How every part reacts to a pointer, a keyboard and a screen reader.
|
|
24
24
|
- [Typography](#typography): Pilat for headlines and copy, HB Set for statements, and responsive sizes.
|
|
25
25
|
- [Article Body](#article-body): Sets the text of every blog post, Learn guide and customer story.
|
|
@@ -3331,7 +3331,7 @@ Anything keyboard focus or a jump link brings into view clears the fixed navigat
|
|
|
3331
3331
|
|
|
3332
3332
|
### Related
|
|
3333
3333
|
|
|
3334
|
-
[Radius
|
|
3334
|
+
[Radius & Padding](/marketing/foundations/radius-and-padding)
|
|
3335
3335
|
|
|
3336
3336
|
Covers corners and how containers pad by them.
|
|
3337
3337
|
|
|
@@ -3467,7 +3467,7 @@ Covers reduced motion, focus, and contrast.
|
|
|
3467
3467
|
|
|
3468
3468
|
Covers the colors that hover states change.
|
|
3469
3469
|
|
|
3470
|
-
## Radius
|
|
3470
|
+
## Radius & Padding
|
|
3471
3471
|
|
|
3472
3472
|
Corner radii, squircle corners, border widths, and how boxes pad by radius.
|
|
3473
3473
|
|
|
@@ -3499,6 +3499,7 @@ Where a browser has no `corner-shape`, every radius draws as a round corner at i
|
|
|
3499
3499
|
|
|
3500
3500
|
| Token | Value | Use |
|
|
3501
3501
|
| --- | --- | --- |
|
|
3502
|
+
| `borderWidth.none` | `0px` | Boxes that their fill sets apart. |
|
|
3502
3503
|
| `borderWidth.regular` | `1px` | Card edges and dividers. |
|
|
3503
3504
|
|
|
3504
3505
|
### Guidelines
|
|
@@ -3509,8 +3510,16 @@ Round a compact card at `lg` and a panel, banner, or form card at `xl`, the larg
|
|
|
3509
3510
|
|
|
3510
3511
|
**Do:** Round every panel on a page at `xl`, so their corners match.
|
|
3511
3512
|
|
|
3513
|
+
```tsx
|
|
3514
|
+
<MarketingRadiusDemo kind="panels" />
|
|
3515
|
+
```
|
|
3516
|
+
|
|
3512
3517
|
**Don't:** Round one call to action at `lg` beside panels at `xl`.
|
|
3513
3518
|
|
|
3519
|
+
```tsx
|
|
3520
|
+
<MarketingRadiusDemo kind="mixed" />
|
|
3521
|
+
```
|
|
3522
|
+
|
|
3514
3523
|
#### Pad Boxes by Their Radius
|
|
3515
3524
|
|
|
3516
3525
|
Pad a card at `lg` by 16px, and a panel at `xl` by 24px. Never pad a box by less than its radius.
|
|
@@ -3529,8 +3538,16 @@ Give a pill or a circle `borderRadius: 'full'` with `cornerShape: 'round'`.
|
|
|
3529
3538
|
|
|
3530
3539
|
**Do:** Keep a pill round, with a full radius and a round corner shape.
|
|
3531
3540
|
|
|
3541
|
+
```tsx
|
|
3542
|
+
<MarketingRadiusDemo kind="pill" />
|
|
3543
|
+
```
|
|
3544
|
+
|
|
3532
3545
|
**Don't:** Let a pill take the squircle, which reads as a lozenge.
|
|
3533
3546
|
|
|
3547
|
+
```tsx
|
|
3548
|
+
<MarketingRadiusDemo kind="lozenge" />
|
|
3549
|
+
```
|
|
3550
|
+
|
|
3534
3551
|
#### Draw Edges as Hairlines
|
|
3535
3552
|
|
|
3536
3553
|
Every line is 1px at `borderWidth.regular`. A row divider or table rule takes `line.secondary`, and a frame around a panel takes `line.primary`. Never set a raw `1px solid` border.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<!--
|
|
3
3
|
Brief template for Tempo document mode. Replace every placeholder that a comment marks,
|
|
4
4
|
keep the structure, and run the lint before you publish:
|
|
5
|
-
npx -p @tempoxyz/ds@3.5.
|
|
5
|
+
npx -p @tempoxyz/ds@3.5.20261201025126 tempo-document lint brief.html
|
|
6
6
|
-->
|
|
7
7
|
<html lang="en">
|
|
8
8
|
<head>
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
<title>Title of the brief</title>
|
|
13
13
|
<link
|
|
14
14
|
rel="stylesheet"
|
|
15
|
-
href="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@3.5.
|
|
15
|
+
href="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@3.5.20261201025126/dist/document/document.css"
|
|
16
16
|
/>
|
|
17
17
|
<script
|
|
18
18
|
defer
|
|
19
|
-
src="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@3.5.
|
|
19
|
+
src="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@3.5.20261201025126/dist/document/script.js"
|
|
20
20
|
></script>
|
|
21
21
|
</head>
|
|
22
22
|
<body>
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<!--
|
|
3
3
|
Essay template for Tempo document mode. Replace every placeholder that a comment marks,
|
|
4
4
|
keep the structure, and run the lint before you publish:
|
|
5
|
-
npx -p @tempoxyz/ds@3.5.
|
|
5
|
+
npx -p @tempoxyz/ds@3.5.20261201025126 tempo-document lint essay.html
|
|
6
6
|
-->
|
|
7
7
|
<html lang="en">
|
|
8
8
|
<head>
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
<title>Title of the essay</title>
|
|
13
13
|
<link
|
|
14
14
|
rel="stylesheet"
|
|
15
|
-
href="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@3.5.
|
|
15
|
+
href="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@3.5.20261201025126/dist/document/document.css"
|
|
16
16
|
/>
|
|
17
17
|
<script
|
|
18
18
|
defer
|
|
19
|
-
src="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@3.5.
|
|
19
|
+
src="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@3.5.20261201025126/dist/document/script.js"
|
|
20
20
|
></script>
|
|
21
21
|
</head>
|
|
22
22
|
<body>
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<!--
|
|
3
3
|
Post template for Tempo document mode. Replace every placeholder that a comment marks,
|
|
4
4
|
keep the structure, and run the lint before you publish:
|
|
5
|
-
npx -p @tempoxyz/ds@3.5.
|
|
5
|
+
npx -p @tempoxyz/ds@3.5.20261201025126 tempo-document lint post.html
|
|
6
6
|
-->
|
|
7
7
|
<html lang="en">
|
|
8
8
|
<head>
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
<title>Title of the post</title>
|
|
13
13
|
<link
|
|
14
14
|
rel="stylesheet"
|
|
15
|
-
href="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@3.5.
|
|
15
|
+
href="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@3.5.20261201025126/dist/document/document.css"
|
|
16
16
|
/>
|
|
17
17
|
<script
|
|
18
18
|
defer
|
|
19
|
-
src="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@3.5.
|
|
19
|
+
src="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@3.5.20261201025126/dist/document/script.js"
|
|
20
20
|
></script>
|
|
21
21
|
</head>
|
|
22
22
|
<body>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tempoxyz/ds",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.5.
|
|
4
|
+
"version": "3.5.20261201025126",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
7
7
|
"DESIGN.md",
|
|
@@ -1533,5 +1533,5 @@
|
|
|
1533
1533
|
"main": "./dist/web/index.js",
|
|
1534
1534
|
"module": "./dist/web/index.js",
|
|
1535
1535
|
"types": "./dist/web/index.d.ts",
|
|
1536
|
-
"gitHead": "
|
|
1536
|
+
"gitHead": "e41151b6384975bde8c6ce187aa8a8981d5ff2b1"
|
|
1537
1537
|
}
|