@vouched-id/ui 0.0.0-stage → 0.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/dist/Accordion.d.ts +8 -0
- package/dist/Accordion.d.ts.map +1 -0
- package/dist/Accordion.js +20 -0
- package/dist/Accordion.js.map +1 -0
- package/dist/Alert.d.ts +12 -0
- package/dist/Alert.d.ts.map +1 -0
- package/dist/Alert.js +64 -0
- package/dist/Alert.js.map +1 -0
- package/dist/AlertDialog.d.ts +90 -0
- package/dist/AlertDialog.d.ts.map +1 -0
- package/dist/AlertDialog.js +148 -0
- package/dist/AlertDialog.js.map +1 -0
- package/dist/Avatar.d.ts +43 -0
- package/dist/Avatar.d.ts.map +1 -0
- package/dist/Avatar.js +29 -0
- package/dist/Avatar.js.map +1 -0
- package/dist/Badge.d.ts +31 -0
- package/dist/Badge.d.ts.map +1 -0
- package/dist/Badge.js +22 -0
- package/dist/Badge.js.map +1 -0
- package/dist/Banner.d.ts +57 -0
- package/dist/Banner.d.ts.map +1 -0
- package/dist/Banner.js +30 -0
- package/dist/Banner.js.map +1 -0
- package/dist/Button.d.ts +56 -0
- package/dist/Button.d.ts.map +1 -0
- package/dist/Button.js +106 -0
- package/dist/Button.js.map +1 -0
- package/dist/Card.d.ts +79 -0
- package/dist/Card.d.ts.map +1 -0
- package/dist/Card.js +50 -0
- package/dist/Card.js.map +1 -0
- package/dist/Chart.d.ts +63 -0
- package/dist/Chart.d.ts.map +1 -0
- package/dist/Chart.js +120 -0
- package/dist/Chart.js.map +1 -0
- package/dist/Checkbox.d.ts +4 -0
- package/dist/Checkbox.d.ts.map +1 -0
- package/dist/Checkbox.js +10 -0
- package/dist/Checkbox.js.map +1 -0
- package/dist/CodeBlock.d.ts +101 -0
- package/dist/CodeBlock.d.ts.map +1 -0
- package/dist/CodeBlock.js +99 -0
- package/dist/CodeBlock.js.map +1 -0
- package/dist/Collapsible.d.ts +6 -0
- package/dist/Collapsible.d.ts.map +1 -0
- package/dist/Collapsible.js +14 -0
- package/dist/Collapsible.js.map +1 -0
- package/dist/DataTable.d.ts +59 -0
- package/dist/DataTable.d.ts.map +1 -0
- package/dist/DataTable.js +162 -0
- package/dist/DataTable.js.map +1 -0
- package/dist/Dialog.d.ts +71 -0
- package/dist/Dialog.d.ts.map +1 -0
- package/dist/Dialog.js +185 -0
- package/dist/Dialog.js.map +1 -0
- package/dist/DropdownMenu.d.ts +82 -0
- package/dist/DropdownMenu.d.ts.map +1 -0
- package/dist/DropdownMenu.js +111 -0
- package/dist/DropdownMenu.js.map +1 -0
- package/dist/EditorialHeading.d.ts +42 -0
- package/dist/EditorialHeading.d.ts.map +1 -0
- package/dist/EditorialHeading.js +36 -0
- package/dist/EditorialHeading.js.map +1 -0
- package/dist/EmptyState.d.ts +40 -0
- package/dist/EmptyState.d.ts.map +1 -0
- package/dist/EmptyState.js +7 -0
- package/dist/EmptyState.js.map +1 -0
- package/dist/Eyebrow.d.ts +27 -0
- package/dist/Eyebrow.d.ts.map +1 -0
- package/dist/Eyebrow.js +23 -0
- package/dist/Eyebrow.js.map +1 -0
- package/dist/Field.d.ts +33 -0
- package/dist/Field.d.ts.map +1 -0
- package/dist/Field.js +26 -0
- package/dist/Field.js.map +1 -0
- package/dist/HoverCard.d.ts +7 -0
- package/dist/HoverCard.d.ts.map +1 -0
- package/dist/HoverCard.js +17 -0
- package/dist/HoverCard.js.map +1 -0
- package/dist/Input.d.ts +20 -0
- package/dist/Input.d.ts.map +1 -0
- package/dist/Input.js +17 -0
- package/dist/Input.js.map +1 -0
- package/dist/InstallCommand.d.ts +48 -0
- package/dist/InstallCommand.d.ts.map +1 -0
- package/dist/InstallCommand.js +60 -0
- package/dist/InstallCommand.js.map +1 -0
- package/dist/Kbd.d.ts +23 -0
- package/dist/Kbd.d.ts.map +1 -0
- package/dist/Kbd.js +7 -0
- package/dist/Kbd.js.map +1 -0
- package/dist/Label.d.ts +5 -0
- package/dist/Label.d.ts.map +1 -0
- package/dist/Label.js +9 -0
- package/dist/Label.js.map +1 -0
- package/dist/Popover.d.ts +41 -0
- package/dist/Popover.d.ts.map +1 -0
- package/dist/Popover.js +27 -0
- package/dist/Popover.js.map +1 -0
- package/dist/Progress.d.ts +6 -0
- package/dist/Progress.d.ts.map +1 -0
- package/dist/Progress.js +9 -0
- package/dist/Progress.js.map +1 -0
- package/dist/RadioGroup.d.ts +5 -0
- package/dist/RadioGroup.d.ts.map +1 -0
- package/dist/RadioGroup.js +15 -0
- package/dist/RadioGroup.js.map +1 -0
- package/dist/ScrollArea.d.ts +32 -0
- package/dist/ScrollArea.d.ts.map +1 -0
- package/dist/ScrollArea.js +13 -0
- package/dist/ScrollArea.js.map +1 -0
- package/dist/SegmentedControl.d.ts +37 -0
- package/dist/SegmentedControl.d.ts.map +1 -0
- package/dist/SegmentedControl.js +85 -0
- package/dist/SegmentedControl.js.map +1 -0
- package/dist/Select.d.ts +21 -0
- package/dist/Select.d.ts.map +1 -0
- package/dist/Select.js +52 -0
- package/dist/Select.js.map +1 -0
- package/dist/Separator.d.ts +4 -0
- package/dist/Separator.d.ts.map +1 -0
- package/dist/Separator.js +9 -0
- package/dist/Separator.js.map +1 -0
- package/dist/Sheet.d.ts +71 -0
- package/dist/Sheet.d.ts.map +1 -0
- package/dist/Sheet.js +173 -0
- package/dist/Sheet.js.map +1 -0
- package/dist/Skeleton.d.ts +26 -0
- package/dist/Skeleton.d.ts.map +1 -0
- package/dist/Skeleton.js +9 -0
- package/dist/Skeleton.js.map +1 -0
- package/dist/Slider.d.ts +5 -0
- package/dist/Slider.d.ts.map +1 -0
- package/dist/Slider.js +12 -0
- package/dist/Slider.js.map +1 -0
- package/dist/StatusDot.d.ts +29 -0
- package/dist/StatusDot.d.ts.map +1 -0
- package/dist/StatusDot.js +55 -0
- package/dist/StatusDot.js.map +1 -0
- package/dist/StatusText.d.ts +15 -0
- package/dist/StatusText.d.ts.map +1 -0
- package/dist/StatusText.js +49 -0
- package/dist/StatusText.js.map +1 -0
- package/dist/Switch.d.ts +47 -0
- package/dist/Switch.d.ts.map +1 -0
- package/dist/Switch.js +17 -0
- package/dist/Switch.js.map +1 -0
- package/dist/Table.d.ts +22 -0
- package/dist/Table.d.ts.map +1 -0
- package/dist/Table.js +42 -0
- package/dist/Table.js.map +1 -0
- package/dist/Tabs.d.ts +96 -0
- package/dist/Tabs.d.ts.map +1 -0
- package/dist/Tabs.js +319 -0
- package/dist/Tabs.js.map +1 -0
- package/dist/Tag.d.ts +19 -0
- package/dist/Tag.d.ts.map +1 -0
- package/dist/Tag.js +50 -0
- package/dist/Tag.js.map +1 -0
- package/dist/Textarea.d.ts +32 -0
- package/dist/Textarea.d.ts.map +1 -0
- package/dist/Textarea.js +11 -0
- package/dist/Textarea.js.map +1 -0
- package/dist/Toast.d.ts +47 -0
- package/dist/Toast.d.ts.map +1 -0
- package/dist/Toast.js +110 -0
- package/dist/Toast.js.map +1 -0
- package/dist/ToggleGroup.d.ts +48 -0
- package/dist/ToggleGroup.d.ts.map +1 -0
- package/dist/ToggleGroup.js +27 -0
- package/dist/ToggleGroup.js.map +1 -0
- package/dist/Tooltip.d.ts +8 -0
- package/dist/Tooltip.d.ts.map +1 -0
- package/dist/Tooltip.js +81 -0
- package/dist/Tooltip.js.map +1 -0
- package/dist/VouchedLogo.d.ts +31 -0
- package/dist/VouchedLogo.d.ts.map +1 -0
- package/dist/VouchedLogo.js +215 -0
- package/dist/VouchedLogo.js.map +1 -0
- package/dist/_code-copy-button.d.ts +9 -0
- package/dist/_code-copy-button.d.ts.map +1 -0
- package/dist/_code-copy-button.js +72 -0
- package/dist/_code-copy-button.js.map +1 -0
- package/dist/_code-syntax.d.ts +81 -0
- package/dist/_code-syntax.d.ts.map +1 -0
- package/dist/_code-syntax.js +293 -0
- package/dist/_code-syntax.js.map +1 -0
- package/dist/_status-icons.d.ts +22 -0
- package/dist/_status-icons.d.ts.map +1 -0
- package/dist/_status-icons.js +40 -0
- package/dist/_status-icons.js.map +1 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +11 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/format-numbers.d.ts +51 -0
- package/dist/lib/format-numbers.d.ts.map +1 -0
- package/dist/lib/format-numbers.js +158 -0
- package/dist/lib/format-numbers.js.map +1 -0
- package/dist/lib/utils.d.ts +20 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/lib/utils.js +23 -0
- package/dist/lib/utils.js.map +1 -0
- package/dist/public.d.ts +62 -0
- package/dist/public.d.ts.map +1 -0
- package/dist/public.js +66 -0
- package/dist/public.js.map +1 -0
- package/dist/theme-scope.d.ts +55 -0
- package/dist/theme-scope.d.ts.map +1 -0
- package/dist/theme-scope.js +90 -0
- package/dist/theme-scope.js.map +1 -0
- package/dist/tokens.generated.d.ts +335 -0
- package/dist/tokens.generated.d.ts.map +1 -0
- package/dist/tokens.generated.js +349 -0
- package/dist/tokens.generated.js.map +1 -0
- package/package.json +100 -3
- package/styles/README.md +106 -0
- package/styles/base.css +301 -0
- package/styles/canvas.css +147 -0
- package/styles/colors_and_type.css +136 -0
- package/styles/component-contracts.css +471 -0
- package/styles/fonts.css +28 -0
- package/styles/package.css +6 -0
- package/styles/primitive-skins.css +104 -0
- package/styles/semantic-bindings.css +119 -0
- package/styles/shell.css +50 -0
- package/styles/source.css +4 -0
- package/styles/tailwind-bridge.css +255 -0
- package/styles/theme.css +15 -0
- package/styles/tokens.css +1281 -0
- package/styles/vouched-logo.css +336 -0
- package/README.md +0 -3
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
/* ==============================================================
|
|
2
|
+
Checkpoint Design System — Canvas atmosphere (GLOBAL)
|
|
3
|
+
──────────────────────────────────────────────────────────────
|
|
4
|
+
The ds.html signature backdrop: aurora radials + wisps + bottom
|
|
5
|
+
glow + vignette + dot grid + grain, with the slow `ds-drift`
|
|
6
|
+
breath. Moved out of the dashboard-scoped checkpoint.css during
|
|
7
|
+
Checkpoint global theme enablement so brand/
|
|
8
|
+
marketing pages can opt in with the same `.checkpoint-canvas`
|
|
9
|
+
class. Token-driven: every intensity rides the `--tex-*` knobs
|
|
10
|
+
(defined by the DARK semantic block in tokens.css),
|
|
11
|
+
with `, 0` fallbacks so a light surface that accidentally takes
|
|
12
|
+
the class renders a clean canvas instead of invalid paint.
|
|
13
|
+
|
|
14
|
+
Inside `[data-theme*='checkpoint']` subtrees semantic-bindings.css
|
|
15
|
+
still force-disables the pseudo-element stack (the dashboard's
|
|
16
|
+
"cards carry the visual weight" decision) — that rule has higher
|
|
17
|
+
specificity, so the Checkpoint shell is unaffected by this file.
|
|
18
|
+
|
|
19
|
+
Apply to a single full-viewport wrapper, not <body> (body is
|
|
20
|
+
shared across themes). Children are lifted above the texture
|
|
21
|
+
pseudo-elements automatically.
|
|
22
|
+
============================================================== */
|
|
23
|
+
|
|
24
|
+
@layer base {
|
|
25
|
+
.checkpoint-canvas {
|
|
26
|
+
isolation: isolate;
|
|
27
|
+
position: relative;
|
|
28
|
+
/* Aurora — three violet/lavender/peach radials that screen-lighten
|
|
29
|
+
the dark canvas. Painted on the ELEMENT (which carries the opaque
|
|
30
|
+
--bg-canvas base) so `screen` has an opaque backdrop to lighten.
|
|
31
|
+
Each alpha scales off --tex-aurora (0 = invisible). */
|
|
32
|
+
background-color: var(--bg-canvas);
|
|
33
|
+
background-image:
|
|
34
|
+
radial-gradient(
|
|
35
|
+
120% 70% at 12% 8%,
|
|
36
|
+
color-mix(in srgb, var(--tex-hue-aurora-a) calc(var(--tex-aurora, 0) * 100%), transparent)
|
|
37
|
+
0%,
|
|
38
|
+
transparent 55%
|
|
39
|
+
),
|
|
40
|
+
radial-gradient(
|
|
41
|
+
110% 60% at 88% 22%,
|
|
42
|
+
color-mix(in srgb, var(--tex-hue-aurora-b) calc(var(--tex-aurora, 0) * 85%), transparent) 0%,
|
|
43
|
+
transparent 55%
|
|
44
|
+
),
|
|
45
|
+
radial-gradient(
|
|
46
|
+
140% 80% at 50% 110%,
|
|
47
|
+
color-mix(in srgb, var(--tex-hue-aurora-c) calc(var(--tex-aurora, 0) * 55%), transparent) 0%,
|
|
48
|
+
transparent 60%
|
|
49
|
+
);
|
|
50
|
+
background-blend-mode: screen, screen, screen;
|
|
51
|
+
background-attachment: fixed;
|
|
52
|
+
}
|
|
53
|
+
.checkpoint-canvas::before {
|
|
54
|
+
content: '';
|
|
55
|
+
position: fixed;
|
|
56
|
+
inset: 0;
|
|
57
|
+
pointer-events: none;
|
|
58
|
+
z-index: 0;
|
|
59
|
+
background-image:
|
|
60
|
+
radial-gradient(
|
|
61
|
+
circle at 8% 6%,
|
|
62
|
+
color-mix(in srgb, var(--tex-hue-wisp-a) calc(var(--tex-wisp-a, 0) * 100%), transparent),
|
|
63
|
+
transparent 38%
|
|
64
|
+
),
|
|
65
|
+
radial-gradient(
|
|
66
|
+
circle at 96% 94%,
|
|
67
|
+
color-mix(in srgb, var(--tex-hue-wisp-b) calc(var(--tex-wisp-b, 0) * 100%), transparent),
|
|
68
|
+
transparent 42%
|
|
69
|
+
),
|
|
70
|
+
radial-gradient(
|
|
71
|
+
ellipse 120% 40% at 50% 108%,
|
|
72
|
+
color-mix(in srgb, var(--tex-hue-glow) calc(var(--tex-glow, 0) * 100%), transparent),
|
|
73
|
+
transparent 70%
|
|
74
|
+
),
|
|
75
|
+
radial-gradient(
|
|
76
|
+
ellipse 90% 70% at 50% 50%,
|
|
77
|
+
transparent 55%,
|
|
78
|
+
color-mix(in srgb, var(--tex-hue-vignette) calc(var(--tex-vignette, 0) * 100%), transparent)
|
|
79
|
+
100%
|
|
80
|
+
),
|
|
81
|
+
radial-gradient(
|
|
82
|
+
circle at 1px 1px,
|
|
83
|
+
color-mix(in srgb, var(--tex-hue-dots) calc(var(--tex-dots, 0) * 100%), transparent) 1px,
|
|
84
|
+
transparent 1.4px
|
|
85
|
+
);
|
|
86
|
+
background-size:
|
|
87
|
+
auto,
|
|
88
|
+
auto,
|
|
89
|
+
auto,
|
|
90
|
+
auto,
|
|
91
|
+
24px 24px;
|
|
92
|
+
/* ds-drift — the canvas breathes. Slow alternate sway; scale keeps
|
|
93
|
+
the translated edges covered. P3 of the token-architecture plan,
|
|
94
|
+
landed with the brand dark-first rollout. 48s/±3% after Dylan QA —
|
|
95
|
+
the original 90s/±1.5% read as static. */
|
|
96
|
+
animation: ds-drift var(--duration-drift) var(--ease-in-out) infinite alternate;
|
|
97
|
+
}
|
|
98
|
+
.checkpoint-canvas::after {
|
|
99
|
+
content: '';
|
|
100
|
+
position: fixed;
|
|
101
|
+
inset: 0;
|
|
102
|
+
pointer-events: none;
|
|
103
|
+
z-index: 0;
|
|
104
|
+
opacity: var(--tex-grain, 0);
|
|
105
|
+
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
|
|
106
|
+
}
|
|
107
|
+
/* Lift real content above the texture pseudo-elements. */
|
|
108
|
+
.checkpoint-canvas > * {
|
|
109
|
+
position: relative;
|
|
110
|
+
z-index: 1;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/* Escape hatch for a fullscreen takeover — the branded consent/success/auth
|
|
114
|
+
editors and /activity's focus mode, all marked `[data-fullscreen-takeover]`.
|
|
115
|
+
A takeover mounts inside the shell's right-hand content column, and the pin
|
|
116
|
+
above holds every direct shell child at `z-index:1` to clear the texture
|
|
117
|
+
pseudo-elements. The nav <aside> escapes that pin with its own `z-40`
|
|
118
|
+
(raised in KYA-969 so a floating agent mascot stops painting over it), but
|
|
119
|
+
the content column stays at 1 — so the nav paints over the takeover, and the
|
|
120
|
+
takeover's own `z-index:80` can't escape its column's stacking context.
|
|
121
|
+
Lift the column that contains it. The nav and the column are side-by-side
|
|
122
|
+
grid tracks, so this only affects the fixed overlay; the un-lifted state
|
|
123
|
+
keeps the mascot and page content below the nav, preserving KYA-969.
|
|
124
|
+
|
|
125
|
+
Lives here, next to the pin it works around, rather than in the stylesheet
|
|
126
|
+
of whichever feature happened to need it first: a feature-scoped stylesheet
|
|
127
|
+
only loads on the routes that import it, so the second takeover to come
|
|
128
|
+
along would silently not get the fix. */
|
|
129
|
+
.checkpoint-canvas > *:has([data-fullscreen-takeover]) {
|
|
130
|
+
z-index: 50;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
@keyframes ds-drift {
|
|
135
|
+
from {
|
|
136
|
+
transform: translate3d(-3%, -2%, 0) scale(1.1);
|
|
137
|
+
}
|
|
138
|
+
to {
|
|
139
|
+
transform: translate3d(3%, 2%, 0) scale(1.1);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
@media (prefers-reduced-motion: reduce) {
|
|
144
|
+
.checkpoint-canvas::before {
|
|
145
|
+
animation: none;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
/* ==============================================================
|
|
2
|
+
Checkpoint Design System — Typographic Base
|
|
3
|
+
Mirrors `checkpoint-design-system/project/colors_and_type.css`
|
|
4
|
+
from the v5 SSOT bundle.
|
|
5
|
+
|
|
6
|
+
Role: gives the dashboard a single source of truth for
|
|
7
|
+
heading / body / chrome typography. Components below can still
|
|
8
|
+
override; this layer just establishes the baseline so the
|
|
9
|
+
"12 px floor in body, mono labels may go to 11 px" rule (Rule 07)
|
|
10
|
+
is enforced from one place.
|
|
11
|
+
|
|
12
|
+
Opt-in: the registry ships it beside theme.css, which does not
|
|
13
|
+
import it; a consumer that wants this type imports it after the
|
|
14
|
+
theme. The dashboard layouts and Ladle import it.
|
|
15
|
+
|
|
16
|
+
Scope: every selector is namespaced behind
|
|
17
|
+
`[data-theme*="checkpoint"]` so surfaces outside Checkpoint and other themes
|
|
18
|
+
stay untouched. v5's canonical file binds at the bare element
|
|
19
|
+
level (h1, body); the in-repo variant scopes those bindings to
|
|
20
|
+
the checkpoint theme so it doesn't leak.
|
|
21
|
+
|
|
22
|
+
Font loading: `--font-display` (Manrope) and `--font-ui`
|
|
23
|
+
(Inter Tight) are supplied by next/font in
|
|
24
|
+
`app/dashboard/(checkpoint)/layout.tsx`. `--font-mono`
|
|
25
|
+
(Geist Mono) is loaded at the app root. We do NOT @import a
|
|
26
|
+
Google Fonts URL here — next/font handles preloading,
|
|
27
|
+
self-hosting, and FOUT prevention.
|
|
28
|
+
============================================================== */
|
|
29
|
+
|
|
30
|
+
@layer base {
|
|
31
|
+
/* ============================================================
|
|
32
|
+
Root body font + OpenType feature settings + smoothing.
|
|
33
|
+
|
|
34
|
+
`ss01` is Inter's stylistic alternate #1 — swaps the geometric
|
|
35
|
+
"a" + "g" for the single-storey humanist forms the SSOT spec
|
|
36
|
+
uses. Mirrors the SSOT `body { font-feature-settings: "ss01" 1 }`
|
|
37
|
+
rule.
|
|
38
|
+
|
|
39
|
+
`font-smoothing: antialiased` (+ moz equivalent) is what makes
|
|
40
|
+
Manrope 400 read at the SSOT's intended weight on dark
|
|
41
|
+
backgrounds. Without it, macOS defaults to subpixel
|
|
42
|
+
antialiasing which thickens every glyph noticeably even when
|
|
43
|
+
the computed `font-weight` is identical. The `[data-theme=
|
|
44
|
+
'instrument']` block in Checkpoint's globals.css already sets this for v1
|
|
45
|
+
chrome; the checkpoint scope was missing it, which is why
|
|
46
|
+
dashboard h1s read heavier than the SSOT reference at the
|
|
47
|
+
same numeric weight.
|
|
48
|
+
|
|
49
|
+
Applied at the [data-theme] root so every descendant
|
|
50
|
+
(headings, body, chrome) inherits the same set without
|
|
51
|
+
per-component repetition.
|
|
52
|
+
============================================================ */
|
|
53
|
+
[data-theme*='checkpoint'] {
|
|
54
|
+
font-feature-settings: 'ss01' 1;
|
|
55
|
+
-webkit-font-smoothing: antialiased;
|
|
56
|
+
-moz-osx-font-smoothing: grayscale;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/* ============================================================
|
|
60
|
+
Tabular numerics — instrument feel
|
|
61
|
+
============================================================ */
|
|
62
|
+
[data-theme*='checkpoint'] .tnum,
|
|
63
|
+
[data-theme*='checkpoint'] table,
|
|
64
|
+
[data-theme*='checkpoint'] [data-tnum] {
|
|
65
|
+
font-variant-numeric: tabular-nums;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/* ============================================================
|
|
69
|
+
Headings — `--font-display` (Manrope), tight tracking.
|
|
70
|
+
The display class is the largest, thinnest, most-tracked
|
|
71
|
+
variant; h1/h2/h3 step down weight and size.
|
|
72
|
+
============================================================ */
|
|
73
|
+
[data-theme*='checkpoint'] :is(h1, .h1, h2, .h2, h3, .h3, .display, .title) {
|
|
74
|
+
font-family: var(--font-display);
|
|
75
|
+
letter-spacing: var(--tracking-tight);
|
|
76
|
+
margin: 0;
|
|
77
|
+
color: var(--fg-primary);
|
|
78
|
+
}
|
|
79
|
+
[data-theme*='checkpoint'] .display {
|
|
80
|
+
font-weight: var(--font-weight-thin);
|
|
81
|
+
font-size: var(--text-4xl);
|
|
82
|
+
letter-spacing: var(--tracking-display);
|
|
83
|
+
line-height: 1.02;
|
|
84
|
+
}
|
|
85
|
+
[data-theme*='checkpoint'] :is(h1, .h1) {
|
|
86
|
+
font-weight: var(--font-weight-regular);
|
|
87
|
+
font-size: var(--text-2xl);
|
|
88
|
+
letter-spacing: var(--tracking-h1);
|
|
89
|
+
line-height: 1.1;
|
|
90
|
+
}
|
|
91
|
+
[data-theme*='checkpoint'] :is(h2, .h2) {
|
|
92
|
+
font-weight: var(--font-weight-medium);
|
|
93
|
+
font-size: var(--text-xl);
|
|
94
|
+
line-height: 1.25;
|
|
95
|
+
}
|
|
96
|
+
[data-theme*='checkpoint'] :is(h3, .h3) {
|
|
97
|
+
font-weight: var(--font-weight-medium);
|
|
98
|
+
font-size: var(--text-lg);
|
|
99
|
+
line-height: 1.3;
|
|
100
|
+
}
|
|
101
|
+
[data-theme*='checkpoint'] .title {
|
|
102
|
+
font-weight: var(--font-weight-medium);
|
|
103
|
+
font-size: var(--text-base);
|
|
104
|
+
line-height: 1.3;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/* ============================================================
|
|
108
|
+
Body — paragraph defaults sit on `--fg-secondary` so the
|
|
109
|
+
primary type weight feels reserved for h1/h2/h3 and emphasized
|
|
110
|
+
spans. Components that want full-strength body color (data
|
|
111
|
+
rows, key facts) override with `color: var(--fg-primary)`.
|
|
112
|
+
============================================================ */
|
|
113
|
+
[data-theme*='checkpoint'] p {
|
|
114
|
+
margin: 0;
|
|
115
|
+
font-size: var(--text-base);
|
|
116
|
+
line-height: var(--text-base--line-height);
|
|
117
|
+
letter-spacing: var(--tracking-body);
|
|
118
|
+
color: var(--fg-secondary);
|
|
119
|
+
/* SSOT body is Inter Tight 400 — bumped from `--font-weight-book`
|
|
120
|
+
(450) so body reads slightly thinner per the v4 spec. */
|
|
121
|
+
font-weight: var(--font-weight-regular);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/* ============================================================
|
|
125
|
+
Eyebrow — small mono chrome label, tracked uppercase. The
|
|
126
|
+
"01 · ACTIVITY" or "LIVE FEED · SAMPLE" pattern.
|
|
127
|
+
============================================================ */
|
|
128
|
+
[data-theme*='checkpoint'] .eyebrow {
|
|
129
|
+
font-family: var(--font-mono);
|
|
130
|
+
font-size: var(--text-eyebrow);
|
|
131
|
+
font-weight: var(--font-weight-medium);
|
|
132
|
+
letter-spacing: var(--tracking-eyebrow);
|
|
133
|
+
text-transform: uppercase;
|
|
134
|
+
color: var(--fg-tertiary);
|
|
135
|
+
}
|
|
136
|
+
}
|