fulldev-ui 0.25.2 → 0.25.4

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.
Files changed (69) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +4 -5
  3. package/liquid/assets/ui-manifest.json +4 -4
  4. package/liquid/assets/ui-typography.css +6 -0
  5. package/liquid/snippets/ui-alert.liquid +2 -1
  6. package/liquid/snippets/ui-badge.liquid +6 -0
  7. package/liquid/snippets/ui-button.liquid +8 -2
  8. package/package.json +10 -10
  9. package/public/r/liquid/alert.json +1 -1
  10. package/public/r/liquid/badge.json +1 -1
  11. package/public/r/liquid/button.json +1 -1
  12. package/public/r/liquid/components.json +1 -1
  13. package/public/r/liquid/typography.json +1 -1
  14. package/public/r/react/styles/base-luma/typography.json +1 -1
  15. package/public/r/react/styles/base-lyra/typography.json +1 -1
  16. package/public/r/react/styles/base-maia/typography.json +1 -1
  17. package/public/r/react/styles/base-mira/typography.json +1 -1
  18. package/public/r/react/styles/base-nova/typography.json +1 -1
  19. package/public/r/react/styles/base-rhea/typography.json +1 -1
  20. package/public/r/react/styles/base-sera/typography.json +1 -1
  21. package/public/r/react/styles/base-vega/typography.json +1 -1
  22. package/public/r/styles/base-luma/alert.json +1 -1
  23. package/public/r/styles/base-luma/attachment-examples.json +1 -1
  24. package/public/r/styles/base-luma/attachment.json +2 -2
  25. package/public/r/styles/base-luma/badge.json +1 -1
  26. package/public/r/styles/base-luma/button.json +1 -1
  27. package/public/r/styles/base-luma/typography.json +1 -1
  28. package/public/r/styles/base-lyra/alert.json +1 -1
  29. package/public/r/styles/base-lyra/attachment-examples.json +1 -1
  30. package/public/r/styles/base-lyra/attachment.json +2 -2
  31. package/public/r/styles/base-lyra/badge.json +1 -1
  32. package/public/r/styles/base-lyra/button.json +1 -1
  33. package/public/r/styles/base-lyra/typography.json +1 -1
  34. package/public/r/styles/base-maia/alert.json +1 -1
  35. package/public/r/styles/base-maia/attachment-examples.json +1 -1
  36. package/public/r/styles/base-maia/attachment.json +2 -2
  37. package/public/r/styles/base-maia/badge.json +1 -1
  38. package/public/r/styles/base-maia/button.json +1 -1
  39. package/public/r/styles/base-maia/typography.json +1 -1
  40. package/public/r/styles/base-mira/alert.json +1 -1
  41. package/public/r/styles/base-mira/attachment-examples.json +1 -1
  42. package/public/r/styles/base-mira/attachment.json +2 -2
  43. package/public/r/styles/base-mira/badge.json +1 -1
  44. package/public/r/styles/base-mira/button.json +1 -1
  45. package/public/r/styles/base-mira/typography.json +1 -1
  46. package/public/r/styles/base-nova/alert.json +1 -1
  47. package/public/r/styles/base-nova/attachment-examples.json +1 -1
  48. package/public/r/styles/base-nova/attachment.json +2 -2
  49. package/public/r/styles/base-nova/badge.json +1 -1
  50. package/public/r/styles/base-nova/button.json +1 -1
  51. package/public/r/styles/base-nova/typography.json +1 -1
  52. package/public/r/styles/base-rhea/alert.json +1 -1
  53. package/public/r/styles/base-rhea/attachment-examples.json +1 -1
  54. package/public/r/styles/base-rhea/attachment.json +2 -2
  55. package/public/r/styles/base-rhea/badge.json +1 -1
  56. package/public/r/styles/base-rhea/button.json +1 -1
  57. package/public/r/styles/base-rhea/typography.json +1 -1
  58. package/public/r/styles/base-sera/alert.json +1 -1
  59. package/public/r/styles/base-sera/attachment-examples.json +1 -1
  60. package/public/r/styles/base-sera/attachment.json +2 -2
  61. package/public/r/styles/base-sera/badge.json +1 -1
  62. package/public/r/styles/base-sera/button.json +1 -1
  63. package/public/r/styles/base-sera/typography.json +1 -1
  64. package/public/r/styles/base-vega/alert.json +1 -1
  65. package/public/r/styles/base-vega/attachment-examples.json +1 -1
  66. package/public/r/styles/base-vega/attachment.json +2 -2
  67. package/public/r/styles/base-vega/badge.json +1 -1
  68. package/public/r/styles/base-vega/button.json +1 -1
  69. package/public/r/styles/base-vega/typography.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Fulldev UI
2
2
 
3
+ ## 0.25.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#316](https://github.com/fulldotdev/ui/pull/316) [`e762ff5`](https://github.com/fulldotdev/ui/commit/e762ff5444501872edd2bc8fcdce06da4a51b87c) Thanks [@silveltman](https://github.com/silveltman)! - Links stay readable in dark mode with a colored theme. shadcn/ui's dark themes use the primary as a button fill, so links in the primary color fell below the 4.5:1 WCAG AA asks for with 15 of the 17 shadcn/ui theme colors, orange to 2.7:1. In dark mode `TypographyA` (Astro and React), the link variant of `Button` and `Badge`, and the native Liquid typography link, link button and link badge now use a lighter step of the primary, `oklch(from var(--primary) max(l, 0.7) calc(c * 1.2) h)`: at least 5.8:1 with every shadcn/ui theme color. Light mode, neutral themes and primary fills, such as buttons, checkboxes and switches, stay as they were. Browsers without relative color support keep the primary. A text color passed to the component, such as `text-muted-foreground`, still wins in dark mode.
8
+
9
+ ## 0.25.3
10
+
11
+ ### Patch Changes
12
+
13
+ - [#311](https://github.com/fulldotdev/ui/pull/311) [`d622fe2`](https://github.com/fulldotdev/ui/commit/d622fe2245b35dd9659f52865347e8fb18505730) Thanks [@silveltman](https://github.com/silveltman)! - Error and destructive text use the full destructive color, as shadcn/ui's `FieldError` does. `AttachmentDescription` in an attachment with an error was at 80%, about 4.1:1 in light mode and 4.3:1 in dark mode, and the description of a destructive `Alert` at 90%, in Astro and native Liquid, below the 4.5:1 WCAG AA asks for. The destructive `Button` mixes a fifth of the foreground into its text, because the destructive color on the button's own tint is about 3.9:1. The native Liquid button already mixed in the foreground; it now uses the same mix, in oklab, which keeps the text red in dark mode instead of orange. `AttachmentTitle` shimmers while an attachment uploads or processes, as in shadcn/ui, instead of pulsing to half opacity, where the name fell to about 3.7:1; the shimmer comes from `shadcn/tailwind.css`, so update the `shadcn` package if the name stays still. The attachment demo's `AttachmentGroup` takes keyboard focus, so it can be scrolled without a pointer, and the Typography docs now say that a `typeset-scroll` wrapper needs `tabindex="0"` for the same reason.
14
+
3
15
  ## 0.25.2
4
16
 
5
17
  ### Patch Changes
package/README.md CHANGED
@@ -92,18 +92,17 @@ Requires Node 24 (`.node-version`), pnpm 12 and [Vite+](https://viteplus.dev) (`
92
92
  pnpm install # frozen lockfile in CI and on Netlify
93
93
  pnpm dev # docs site at http://127.0.0.1:4321
94
94
  vp run build # builds the docs and the React previews
95
- vp run check:build # validates the built HTML and internal links and anchors
96
- vp run check:source # the source checks every Ready PR runs
95
+ vp run check # the source checks every Ready PR runs
97
96
  vp run test:unit # the tests in tests, which Ready PRs also run
98
- vp run fix:source # Prettier and ESLint fixes
97
+ vp run fix # Prettier and ESLint fixes
99
98
  pnpm images # converts source photos in src to WebP
100
99
  pnpm ui:add @shadcn/card # installs with the shadcn CLI, then runs Prettier
101
100
  pnpm registry:build # regenerates public/r after registry changes
102
101
  ```
103
102
 
104
- `vp run check:source` runs Prettier, TypeScript and `astro check`, ESLint, knip, the source photo check, and, specific to this registry, `registry:check` (the committed `public/r` must match a fresh build). `vp run test:unit` runs the tests in `tests`.
103
+ `vp run check` runs Prettier, TypeScript and `astro check`, ESLint, knip, the source photo check, and, specific to this registry, `registry:check` (the committed `public/r` must match a fresh build). `vp run test:unit` runs the tests in `tests`.
105
104
 
106
- `pnpm ui:add` formats the project right after the install, so a later `vp run fix:source` or `vp run check:source` does not change the installed components. A plain `pnpm dlx shadcn@latest add` leaves the CLI's own formatting, which the next format run may change.
105
+ `pnpm ui:add` formats the project right after the install, so a later `vp run fix` or `vp run check` does not change the installed components. A plain `pnpm dlx shadcn@latest add` leaves the CLI's own formatting, which the next format run may change.
107
106
 
108
107
  ## Contributing
109
108
 
@@ -44,7 +44,7 @@
44
44
  "snippets/ui-spinner.liquid": "84d48693f10cb8af4549cc0d71cd847a85da0e111f2ad64dae309c128c2a8c4a",
45
45
  "snippets/ui-video.liquid": "14acea7c523198269a9165270decac21a43a5d69bf12bd248a76aceb2e9b26ed",
46
46
  "assets/ui-video.css": "c1572853f48474f6291a70ccdb1085512700fc3dcbbdaebd71374b838ec67fee",
47
- "snippets/ui-button.liquid": "5dd981b8e5de94d5dac3fd367a3d31c0553a2ea2f72aefda6ee2e07fde876af8",
47
+ "snippets/ui-button.liquid": "d0b4ad1b574f10f986a7d5b2719a16c4ba29b80887962b9a8b6464afef6fe54c",
48
48
  "snippets/ui-toggle.liquid": "c86100cf7c163c0d5bc81976fd794788f68fab2ebc5c0887d8042958ce020912",
49
49
  "snippets/ui-logo.liquid": "5d6de7be3f7aab9e05c9533afef39ea0e9dce1b4ee12a13bf7b82780c973b126",
50
50
  "snippets/ui-kbd.liquid": "024f34ed2932d183671f7fa44ff724a70ec17b766cf7e0d3f565f46f33ab2cf2",
@@ -57,7 +57,7 @@
57
57
  "snippets/ui-navigation-menu.liquid": "52aecbb36b0031810a85a99f5d4439e852dc1ba3a872b9525dd75c8df8b5a84e",
58
58
  "assets/ui-navigation-menu.css": "29a47ce0eb549e58cc8195dcb656bd2cef56360178c76acfc2d481a110463ca6",
59
59
  "snippets/ui-typography.liquid": "b03dc93c4de6636164a206c95979caa6fe9ab7cf8d1c24d75611416259da7979",
60
- "assets/ui-typography.css": "4363ea0774e3c76a0154b1c586a6270a4fbd31b7794fe9549977f41563f54d78",
60
+ "assets/ui-typography.css": "0daa86d256566ab8065411682cb8c90aa3b3eab6e62fbd8165dac1147e4edde9",
61
61
  "snippets/ui-toc.liquid": "04038e0870112b2335b80b4092814915105b31d08cdd36ecf1f4de1761f66acf",
62
62
  "snippets/ui-icon.liquid": "ca75a9485eb33cdb31a3a4e2e5ca03ce74d4995dbd1696d964832a87602bf3ca",
63
63
  "assets/ui-icon.css": "cfb1a47905cbd9c25b635c96926a77f8eed983a4aca62fdce758345dcc792add",
@@ -75,8 +75,8 @@
75
75
  "snippets/ui-toggle-group.liquid": "2d61e0b9bc746e05834157f5a75d23123f02bc2df737412e4f6099844afc4f49",
76
76
  "snippets/ui-dialog.liquid": "779bbcd609a69ed29a984df1f26f9ed80fd24d71c4ee3ead5f4daa055b28e9fb",
77
77
  "snippets/ui-drawer.liquid": "16120fdd70fac393470c3936223e78ad5f81164e2b7616fd075e8e82098a17d5",
78
- "snippets/ui-badge.liquid": "13d8b46cd5432783a9b986de76365c9fcc0e7fb30ad4f956ec386c1ae549ce99",
79
- "snippets/ui-alert.liquid": "7530d324ac1fb4645bba0a23780fbeacc67544f8bad3ed9e367debd88c0365b5",
78
+ "snippets/ui-badge.liquid": "14b826127eaedd2f5acac0ca74fbe403ef18b08ca6651995c0bf0501210d55f6",
79
+ "snippets/ui-alert.liquid": "392bf006b427178d4699272115317e0db934d881be9534b4638c492fa1825a83",
80
80
  "snippets/ui-table.liquid": "6599d8b3bd193761571c2b71e499f78546ba5c2768d4e0a0a60cd0e348632e5b",
81
81
  "snippets/ui-breadcrumb.liquid": "dafdeaf03286b386c90f8e72777de1946fba4718ee568bd85ca7bc768483a3ca",
82
82
  "snippets/ui-aspect-ratio.liquid": "c8aae05fcd76af7ae768aedafd7e758533e2b52135b00ff72940896ad793f177",
@@ -589,6 +589,12 @@ h4 {
589
589
  text-decoration: underline;
590
590
  text-underline-offset: 4px;
591
591
  }
592
+ /* Vega's text-primary falls below 4.5:1 in dark mode with most theme colors; there a lighter step of the primary keeps 4.5:1. Browsers without relative colors keep the primary. */
593
+ @supports (color: oklch(from red l c h)) {
594
+ :where(.dark) [data-slot='typography-a'] {
595
+ color: oklch(from var(--primary) max(l, 0.7) calc(c * 1.2) h);
596
+ }
597
+ }
592
598
  [data-slot='typography-a'][data-size='sm'] {
593
599
  font-size: 0.875rem;
594
600
  line-height: 1.25rem;
@@ -35,8 +35,9 @@
35
35
  color: var(--muted-foreground);
36
36
  text-wrap: balance;
37
37
  }
38
+ /* Vega's description at 90% falls below 4.5:1 on the card; it keeps the full color. */
38
39
  [data-slot='alert'][data-variant='destructive'] [data-slot='alert-description'] {
39
- color: color-mix(in oklch, var(--destructive) 90%, transparent);
40
+ color: var(--destructive);
40
41
  }
41
42
  [data-slot='alert'] ul {
42
43
  margin: 0;
@@ -79,6 +79,12 @@
79
79
  background: transparent;
80
80
  color: var(--primary);
81
81
  }
82
+ /* Vega's text-primary falls below 4.5:1 in dark mode with most theme colors; there a lighter step of the primary keeps 4.5:1. Browsers without relative colors keep the primary. */
83
+ @supports (color: oklch(from red l c h)) {
84
+ :where(.dark) [data-slot='badge'][data-variant='link'] {
85
+ color: oklch(from var(--primary) max(l, 0.7) calc(c * 1.2) h);
86
+ }
87
+ }
82
88
  a[data-slot='badge'][data-variant='link']:hover {
83
89
  background: transparent;
84
90
  text-decoration: underline;
@@ -145,8 +145,8 @@
145
145
  color-mix(in oklch, var(--destructive) 10%, transparent),
146
146
  color-mix(in oklch, var(--destructive) 20%, transparent)
147
147
  );
148
- /* Vega's destructive text on its own tint is about 4:1; mixing in the foreground keeps 4.5:1. */
149
- color: color-mix(in oklch, var(--destructive) 65%, var(--foreground));
148
+ /* Vega's destructive text on its own tint is about 4:1; a fifth of the foreground keeps 4.5:1, also on hover. In oklab it stays red. */
149
+ color: color-mix(in oklab, var(--destructive) 80%, var(--foreground));
150
150
  }
151
151
  :is([data-slot='button'], [data-button])[data-variant='destructive']:hover {
152
152
  background-color: light-dark(
@@ -166,6 +166,12 @@
166
166
  background: none;
167
167
  color: var(--primary);
168
168
  }
169
+ /* Vega's text-primary falls below 4.5:1 in dark mode with most theme colors; there a lighter step of the primary keeps 4.5:1. Browsers without relative colors keep the primary. */
170
+ @supports (color: oklch(from red l c h)) {
171
+ :where(.dark) :is([data-slot='button'], [data-button])[data-variant='link'] {
172
+ color: oklch(from var(--primary) max(l, 0.7) calc(c * 1.2) h);
173
+ }
174
+ }
169
175
  :is([data-slot='button'], [data-button])[data-variant='link']:hover {
170
176
  text-decoration: underline;
171
177
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "fulldev-ui",
3
3
  "type": "module",
4
- "version": "0.25.2",
4
+ "version": "0.25.4",
5
5
  "description": "Open-source UI components for Astro, React and native Liquid",
6
6
  "homepage": "https://ui.full.dev",
7
7
  "bugs": "https://github.com/fulldotdev/ui/issues",
@@ -114,22 +114,21 @@
114
114
  "tailwindcss": "^4.3.3",
115
115
  "tw-animate-css": "^1.4.0",
116
116
  "typescript": "~6.0.3",
117
- "typescript-eslint": "^8.71.0"
117
+ "typescript-eslint": "^8.71.0",
118
+ "@netlify/vite-plugin": "3.0.1"
118
119
  },
119
120
  "scripts": {
120
121
  "astro": "astro",
121
- "dev": "pnpm stop && astro dev --host 127.0.0.1 --port 4321",
122
- "stop": "lsof -tiTCP:4321 -sTCP:LISTEN | xargs kill 2>/dev/null || true",
123
- "preview": "pnpm stop && pnpm build && astro preview --host 127.0.0.1 --port 4321",
122
+ "dev": "astro dev --host 127.0.0.1 --port 4321",
123
+ "preview": "vp dlx --package=netlify-cli@27.12.1 netlify serve --context deploy-preview",
124
124
  "typecheck": "tsc --noEmit --noCheck && astro check --minimumFailingSeverity hint && tsc --noEmit -p react",
125
- "check:source": "prettier --check . && pnpm typecheck && eslint . && knip && node scripts/images.ts --check && node scripts/liquid-theme-check.mjs && pnpm registry:check",
125
+ "check": "prettier --check . && pnpm typecheck && eslint . && knip && node scripts/images.ts --check && node scripts/liquid-theme-check.mjs && pnpm registry:check",
126
126
  "test:unit": "node --test tests/*.test.mjs",
127
127
  "test:browser": "node --test tests/browser/*.test.mjs",
128
- "fix:source": "prettier --write . && eslint . --fix",
128
+ "fix": "prettier --write . && eslint . --fix",
129
129
  "images": "node scripts/images.ts",
130
130
  "ui:add": "node scripts/ui-add.ts",
131
- "build": "astro build && pnpm --dir react build",
132
- "check:build": "html-validate dist && linkinator dist",
131
+ "build": "astro build && pnpm --dir react build && node scripts/check-build.ts",
133
132
  "a11y": "pnpm build && playwright install chromium --only-shell && node scripts/a11y.mjs",
134
133
  "registry:build": "pnpm registry:meta && node scripts/registry-adapt.mjs && shadcn build --output node_modules/.cache/fulldev-registry && node scripts/registry-styles.mjs && shadcn build -c react -o ../node_modules/.cache/fulldev-registry-react && node scripts/registry-styles.mjs node_modules/.cache/fulldev-registry-react react/registry.json public/r/react && pnpm registry:liquid && prettier --write registry.json react/registry.json liquid/registry.json public/r registry/styles/adapted --log-level warn",
135
134
  "registry:check": "pnpm registry:validate && pnpm registry:build && git diff --exit-code -- registry.json react/registry.json liquid public/r registry/styles/adapted",
@@ -137,6 +136,7 @@
137
136
  "release": "changeset version && pnpm install --lockfile-only",
138
137
  "release:publish": "pnpm registry:check && changeset publish",
139
138
  "registry:meta": "node scripts/registry-meta.mjs",
140
- "registry:liquid": "node scripts/registry-liquid.mjs && shadcn build -c liquid -o ../public/r/liquid"
139
+ "registry:liquid": "node scripts/registry-liquid.mjs && shadcn build -c liquid -o ../public/r/liquid",
140
+ "test": "vp run test:unit"
141
141
  }
142
142
  }
@@ -9,7 +9,7 @@
9
9
  "files": [
10
10
  {
11
11
  "path": "snippets/ui-alert.liquid",
12
- "content": "{% doc %}\n Fulldev UI alert styles. Use native markup with its data-slot parts.\n{% enddoc %}\n\n{% stylesheet %}\n [data-slot='alert'] {\n display: grid;\n gap: calc(var(--spacing) * 0.5);\n padding: calc(var(--spacing) * 3) calc(var(--spacing) * 4);\n border: 1px solid var(--border);\n border-radius: var(--radius-lg);\n background: var(--card);\n color: var(--card-foreground);\n font-size: 0.875rem;\n text-align: left;\n }\n [data-slot='alert']:has(> .icon) {\n grid-template-columns: auto 1fr;\n column-gap: calc(var(--spacing) * 2.5);\n }\n [data-slot='alert'] > .icon {\n grid-row: span 2;\n width: calc(var(--spacing) * 4);\n height: calc(var(--spacing) * 4);\n translate: 0 calc(var(--spacing) * 0.5);\n color: currentcolor;\n }\n [data-slot='alert'][data-variant='destructive'] {\n color: var(--destructive);\n }\n [data-slot='alert-title'] {\n font-weight: 500;\n }\n [data-slot='alert-description'] {\n color: var(--muted-foreground);\n text-wrap: balance;\n }\n [data-slot='alert'][data-variant='destructive'] [data-slot='alert-description'] {\n color: color-mix(in oklch, var(--destructive) 90%, transparent);\n }\n [data-slot='alert'] ul {\n margin: 0;\n padding-left: calc(var(--spacing) * 4.5);\n }\n{% endstylesheet %}\n",
12
+ "content": "{% doc %}\n Fulldev UI alert styles. Use native markup with its data-slot parts.\n{% enddoc %}\n\n{% stylesheet %}\n [data-slot='alert'] {\n display: grid;\n gap: calc(var(--spacing) * 0.5);\n padding: calc(var(--spacing) * 3) calc(var(--spacing) * 4);\n border: 1px solid var(--border);\n border-radius: var(--radius-lg);\n background: var(--card);\n color: var(--card-foreground);\n font-size: 0.875rem;\n text-align: left;\n }\n [data-slot='alert']:has(> .icon) {\n grid-template-columns: auto 1fr;\n column-gap: calc(var(--spacing) * 2.5);\n }\n [data-slot='alert'] > .icon {\n grid-row: span 2;\n width: calc(var(--spacing) * 4);\n height: calc(var(--spacing) * 4);\n translate: 0 calc(var(--spacing) * 0.5);\n color: currentcolor;\n }\n [data-slot='alert'][data-variant='destructive'] {\n color: var(--destructive);\n }\n [data-slot='alert-title'] {\n font-weight: 500;\n }\n [data-slot='alert-description'] {\n color: var(--muted-foreground);\n text-wrap: balance;\n }\n /* Vega's description at 90% falls below 4.5:1 on the card; it keeps the full color. */\n [data-slot='alert'][data-variant='destructive'] [data-slot='alert-description'] {\n color: var(--destructive);\n }\n [data-slot='alert'] ul {\n margin: 0;\n padding-left: calc(var(--spacing) * 4.5);\n }\n{% endstylesheet %}\n",
13
13
  "type": "registry:file",
14
14
  "target": "~/snippets/ui-alert.liquid"
15
15
  }
@@ -9,7 +9,7 @@
9
9
  "files": [
10
10
  {
11
11
  "path": "snippets/ui-badge.liquid",
12
- "content": "{% doc %}\n Fulldev UI badge styles. Use native markup with its data-slot parts.\n{% enddoc %}\n\n{% stylesheet %}\n /* A label wider than its container wraps, as a button does; one line keeps Vega's 20px. */\n [data-slot='badge'] {\n display: inline-flex;\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n gap: var(--spacing);\n width: fit-content;\n max-width: 100%;\n min-height: calc(var(--spacing) * 5);\n padding: calc(var(--spacing) * 0.5) calc(var(--spacing) * 2);\n overflow: hidden;\n border: 1px solid transparent;\n border-radius: var(--radius-4xl);\n background: var(--primary);\n color: var(--primary-foreground);\n font-size: 0.75rem;\n font-weight: 500;\n line-height: calc(var(--spacing) * 3.5);\n text-align: center;\n overflow-wrap: anywhere;\n text-underline-offset: 4px;\n transition:\n background-color 150ms,\n color 150ms;\n }\n [data-slot='badge'] > .icon {\n width: calc(var(--spacing) * 3);\n height: calc(var(--spacing) * 3);\n }\n a[data-slot='badge']:hover {\n background: color-mix(in oklch, var(--primary) 80%, transparent);\n }\n a[data-slot='badge']:focus-visible {\n border-color: var(--ring);\n outline: none;\n box-shadow: var(--focus-ring);\n }\n [data-slot='badge'][data-variant='secondary'] {\n background: var(--secondary);\n color: var(--secondary-foreground);\n }\n a[data-slot='badge'][data-variant='secondary']:hover {\n background: color-mix(in oklch, var(--secondary) 80%, transparent);\n }\n [data-slot='badge'][data-variant='outline'] {\n border-color: var(--border);\n background: transparent;\n color: var(--foreground);\n }\n a[data-slot='badge'][data-variant='outline']:hover {\n background: var(--muted);\n color: var(--muted-foreground);\n }\n [data-slot='badge'][data-variant='destructive'] {\n background: light-dark(\n color-mix(in oklch, var(--destructive) 10%, transparent),\n color-mix(in oklch, var(--destructive) 20%, transparent)\n );\n color: var(--destructive);\n }\n a[data-slot='badge'][data-variant='destructive']:hover {\n background: color-mix(in oklch, var(--destructive) 20%, transparent);\n }\n [data-slot='badge'][data-variant='ghost'] {\n background: transparent;\n color: var(--foreground);\n }\n a[data-slot='badge'][data-variant='ghost']:hover {\n background: light-dark(var(--muted), color-mix(in oklch, var(--muted) 50%, transparent));\n color: var(--muted-foreground);\n }\n [data-slot='badge'][data-variant='link'] {\n background: transparent;\n color: var(--primary);\n }\n a[data-slot='badge'][data-variant='link']:hover {\n background: transparent;\n text-decoration: underline;\n }\n{% endstylesheet %}\n",
12
+ "content": "{% doc %}\n Fulldev UI badge styles. Use native markup with its data-slot parts.\n{% enddoc %}\n\n{% stylesheet %}\n /* A label wider than its container wraps, as a button does; one line keeps Vega's 20px. */\n [data-slot='badge'] {\n display: inline-flex;\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n gap: var(--spacing);\n width: fit-content;\n max-width: 100%;\n min-height: calc(var(--spacing) * 5);\n padding: calc(var(--spacing) * 0.5) calc(var(--spacing) * 2);\n overflow: hidden;\n border: 1px solid transparent;\n border-radius: var(--radius-4xl);\n background: var(--primary);\n color: var(--primary-foreground);\n font-size: 0.75rem;\n font-weight: 500;\n line-height: calc(var(--spacing) * 3.5);\n text-align: center;\n overflow-wrap: anywhere;\n text-underline-offset: 4px;\n transition:\n background-color 150ms,\n color 150ms;\n }\n [data-slot='badge'] > .icon {\n width: calc(var(--spacing) * 3);\n height: calc(var(--spacing) * 3);\n }\n a[data-slot='badge']:hover {\n background: color-mix(in oklch, var(--primary) 80%, transparent);\n }\n a[data-slot='badge']:focus-visible {\n border-color: var(--ring);\n outline: none;\n box-shadow: var(--focus-ring);\n }\n [data-slot='badge'][data-variant='secondary'] {\n background: var(--secondary);\n color: var(--secondary-foreground);\n }\n a[data-slot='badge'][data-variant='secondary']:hover {\n background: color-mix(in oklch, var(--secondary) 80%, transparent);\n }\n [data-slot='badge'][data-variant='outline'] {\n border-color: var(--border);\n background: transparent;\n color: var(--foreground);\n }\n a[data-slot='badge'][data-variant='outline']:hover {\n background: var(--muted);\n color: var(--muted-foreground);\n }\n [data-slot='badge'][data-variant='destructive'] {\n background: light-dark(\n color-mix(in oklch, var(--destructive) 10%, transparent),\n color-mix(in oklch, var(--destructive) 20%, transparent)\n );\n color: var(--destructive);\n }\n a[data-slot='badge'][data-variant='destructive']:hover {\n background: color-mix(in oklch, var(--destructive) 20%, transparent);\n }\n [data-slot='badge'][data-variant='ghost'] {\n background: transparent;\n color: var(--foreground);\n }\n a[data-slot='badge'][data-variant='ghost']:hover {\n background: light-dark(var(--muted), color-mix(in oklch, var(--muted) 50%, transparent));\n color: var(--muted-foreground);\n }\n [data-slot='badge'][data-variant='link'] {\n background: transparent;\n color: var(--primary);\n }\n /* Vega's text-primary falls below 4.5:1 in dark mode with most theme colors; there a lighter step of the primary keeps 4.5:1. Browsers without relative colors keep the primary. */\n @supports (color: oklch(from red l c h)) {\n :where(.dark) [data-slot='badge'][data-variant='link'] {\n color: oklch(from var(--primary) max(l, 0.7) calc(c * 1.2) h);\n }\n }\n a[data-slot='badge'][data-variant='link']:hover {\n background: transparent;\n text-decoration: underline;\n }\n{% endstylesheet %}\n",
13
13
  "type": "registry:file",
14
14
  "target": "~/snippets/ui-badge.liquid"
15
15
  }
@@ -9,7 +9,7 @@
9
9
  "files": [
10
10
  {
11
11
  "path": "snippets/ui-button.liquid",
12
- "content": "{% doc %}\n A button or link. Omitting label registers its styles for native data-slot markup.\n\n @param {string} [label] - Plain text label, escaped.\n @param {string} [href] - Link destination.\n @param {string} [variant] - Visual variant.\n @param {string} [size] - Button size.\n @param {string} [type] - Native button type, defaults to button.\n @param {boolean} [disabled] - Disable the button.\n{% enddoc %}\n\n{% if label != blank %}\n {% if href != blank %}\n <a\n href='{{ href | escape }}'\n data-slot='button'\n data-variant='{{ variant | default: 'default' | escape }}'\n data-size='{{ size | default: 'default' | escape }}'\n >\n {{- label | escape -}}\n </a>\n {% else %}\n <button\n type='{{ type | default: 'button' | escape }}'\n data-slot='button'\n data-variant='{{ variant | default: 'default' | escape }}'\n data-size='{{ size | default: 'default' | escape }}'\n {% if disabled %}\n disabled\n {% endif %}\n >\n {{ label | escape }}\n </button>\n {% endif %}\n{% endif %}\n\n{% stylesheet %}\n /* A part that keeps a behavioral data-slot of its own, such as dialog-close or carousel-next,\n takes the button look with data-button and the same data-variant and data-size values. */\n /* Merchant labels can be long: a label wider than its container wraps inside the button, which\n then grows from its fixed height. One line keeps the Vega height in every size. */\n :is([data-slot='button'], [data-button]) {\n display: inline-flex;\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n gap: calc(var(--spacing) * 1.5);\n max-width: 100%;\n min-height: calc(var(--spacing) * 9);\n padding: calc(var(--spacing) * 2) calc(var(--spacing) * 2.5);\n border: 1px solid transparent;\n border-radius: var(--radius-md);\n background: var(--primary);\n background-clip: padding-box;\n color: var(--primary-foreground);\n font-size: 0.875rem;\n font-weight: 500;\n line-height: 1.25;\n text-align: center;\n overflow-wrap: anywhere;\n text-decoration: none;\n text-underline-offset: 4px;\n cursor: pointer;\n user-select: none;\n outline: none;\n transition:\n background-color 150ms,\n color 150ms,\n border-color 150ms,\n box-shadow 150ms,\n translate 150ms;\n }\n :is([data-slot='button'], [data-button]) > .icon {\n width: calc(var(--spacing) * 4);\n height: calc(var(--spacing) * 4);\n pointer-events: none;\n }\n :is([data-slot='button'], [data-button]):where(:has(> .icon:last-child:not(:first-child))) {\n padding-right: calc(var(--spacing) * 2);\n }\n :is([data-slot='button'], [data-button]):where(:has(> .icon:first-child:not(:last-child))) {\n padding-left: calc(var(--spacing) * 2);\n }\n :is([data-slot='button'], [data-button]):hover {\n background-color: color-mix(in oklch, var(--primary) 80%, transparent);\n }\n :is([data-slot='button'], [data-button]):focus-visible {\n border-color: var(--ring);\n box-shadow: var(--focus-ring);\n }\n :is([data-slot='button'], [data-button])[aria-invalid='true'] {\n border-color: light-dark(var(--destructive), color-mix(in oklch, var(--destructive) 50%, transparent));\n box-shadow: 0 0 0 3px\n light-dark(\n color-mix(in oklch, var(--destructive) 20%, transparent),\n color-mix(in oklch, var(--destructive) 40%, transparent)\n );\n }\n :is([data-slot='button'], [data-button]):active:not([aria-haspopup]) {\n translate: 0 1px;\n }\n :is([data-slot='button'], [data-button]):disabled,\n :is([data-slot='button'], [data-button])[aria-disabled='true'] {\n opacity: 0.5;\n pointer-events: none;\n }\n :is([data-slot='button'], [data-button])[data-variant='outline'] {\n border-color: light-dark(var(--border), var(--input));\n background-color: light-dark(var(--background), color-mix(in oklch, var(--input) 30%, transparent));\n color: var(--foreground);\n box-shadow: var(--shadow-xs);\n }\n :is([data-slot='button'], [data-button])[data-variant='outline']:hover {\n background-color: light-dark(var(--muted), color-mix(in oklch, var(--input) 50%, transparent));\n color: var(--foreground);\n }\n :is([data-slot='button'], [data-button])[data-variant='outline'][aria-expanded='true'] {\n background-color: var(--muted);\n }\n :is([data-slot='button'], [data-button])[data-variant='outline']:focus-visible {\n border-color: var(--ring);\n box-shadow: var(--focus-ring);\n }\n :is([data-slot='button'], [data-button])[data-variant='secondary'] {\n background-color: var(--secondary);\n color: var(--secondary-foreground);\n }\n :is([data-slot='button'], [data-button])[data-variant='secondary']:hover {\n background-color: color-mix(in oklch, var(--secondary), var(--foreground) 5%);\n }\n :is([data-slot='button'], [data-button])[data-variant='ghost'] {\n background-color: transparent;\n color: inherit;\n }\n :is([data-slot='button'], [data-button])[data-variant='ghost']:hover {\n background-color: light-dark(var(--muted), color-mix(in oklch, var(--muted) 50%, transparent));\n color: var(--foreground);\n }\n :is([data-slot='button'], [data-button])[data-variant='ghost'][aria-expanded='true'] {\n background-color: var(--muted);\n color: var(--foreground);\n }\n :is([data-slot='button'], [data-button])[data-variant='destructive'] {\n background-color: light-dark(\n color-mix(in oklch, var(--destructive) 10%, transparent),\n color-mix(in oklch, var(--destructive) 20%, transparent)\n );\n /* Vega's destructive text on its own tint is about 4:1; mixing in the foreground keeps 4.5:1. */\n color: color-mix(in oklch, var(--destructive) 65%, var(--foreground));\n }\n :is([data-slot='button'], [data-button])[data-variant='destructive']:hover {\n background-color: light-dark(\n color-mix(in oklch, var(--destructive) 20%, transparent),\n color-mix(in oklch, var(--destructive) 30%, transparent)\n );\n }\n :is([data-slot='button'], [data-button])[data-variant='destructive']:focus-visible {\n border-color: color-mix(in oklch, var(--destructive) 40%, transparent);\n box-shadow: 0 0 0 3px\n light-dark(\n color-mix(in oklch, var(--destructive) 20%, transparent),\n color-mix(in oklch, var(--destructive) 40%, transparent)\n );\n }\n :is([data-slot='button'], [data-button])[data-variant='link'] {\n background: none;\n color: var(--primary);\n }\n :is([data-slot='button'], [data-button])[data-variant='link']:hover {\n text-decoration: underline;\n }\n /* A fixed white button on photos and video. */\n :is([data-slot='button'], [data-button])[data-variant='media'] {\n background-color: var(--media-button);\n color: var(--media-button-foreground);\n }\n :is([data-slot='button'], [data-button])[data-variant='media']:hover {\n background-color: var(--media-button-hover);\n }\n /* The secondary button on photos: a translucent white fill. */\n :is([data-slot='button'], [data-button])[data-variant='media-secondary'] {\n background-color: var(--media-secondary);\n color: var(--on-media);\n }\n :is([data-slot='button'], [data-button])[data-variant='media-secondary']:hover {\n background-color: var(--media-secondary-hover);\n }\n :is([data-slot='button'], [data-button])[data-size='xs'] {\n gap: var(--spacing);\n min-height: calc(var(--spacing) * 6);\n padding: calc(var(--spacing) * 0.75) calc(var(--spacing) * 2);\n border-radius: min(var(--radius-md), 8px);\n font-size: 0.75rem;\n }\n :is([data-slot='button'], [data-button])[data-size='xs'] > .icon {\n width: calc(var(--spacing) * 3);\n height: calc(var(--spacing) * 3);\n }\n :is([data-slot='button'], [data-button])[data-size='sm'] {\n gap: var(--spacing);\n min-height: calc(var(--spacing) * 8);\n padding-block: calc(var(--spacing) * 1.5);\n border-radius: min(var(--radius-md), 10px);\n }\n :is([data-slot='button'], [data-button])[data-size='lg'] {\n min-height: calc(var(--spacing) * 10);\n }\n :is([data-slot='button'], [data-button])[data-size^='icon'] {\n width: calc(var(--spacing) * 9);\n height: calc(var(--spacing) * 9);\n min-height: 0;\n padding: 0;\n }\n :is([data-slot='button'], [data-button])[data-size='icon-xs'] {\n width: calc(var(--spacing) * 6);\n height: calc(var(--spacing) * 6);\n border-radius: min(var(--radius-md), 8px);\n }\n :is([data-slot='button'], [data-button])[data-size='icon-xs'] > .icon {\n width: calc(var(--spacing) * 3);\n height: calc(var(--spacing) * 3);\n }\n :is([data-slot='button'], [data-button])[data-size='icon-sm'] {\n width: calc(var(--spacing) * 8);\n height: calc(var(--spacing) * 8);\n border-radius: min(var(--radius-md), 10px);\n }\n :is([data-slot='button'], [data-button])[data-size='icon-lg'] {\n width: calc(var(--spacing) * 10);\n height: calc(var(--spacing) * 10);\n }\n{% endstylesheet %}\n",
12
+ "content": "{% doc %}\n A button or link. Omitting label registers its styles for native data-slot markup.\n\n @param {string} [label] - Plain text label, escaped.\n @param {string} [href] - Link destination.\n @param {string} [variant] - Visual variant.\n @param {string} [size] - Button size.\n @param {string} [type] - Native button type, defaults to button.\n @param {boolean} [disabled] - Disable the button.\n{% enddoc %}\n\n{% if label != blank %}\n {% if href != blank %}\n <a\n href='{{ href | escape }}'\n data-slot='button'\n data-variant='{{ variant | default: 'default' | escape }}'\n data-size='{{ size | default: 'default' | escape }}'\n >\n {{- label | escape -}}\n </a>\n {% else %}\n <button\n type='{{ type | default: 'button' | escape }}'\n data-slot='button'\n data-variant='{{ variant | default: 'default' | escape }}'\n data-size='{{ size | default: 'default' | escape }}'\n {% if disabled %}\n disabled\n {% endif %}\n >\n {{ label | escape }}\n </button>\n {% endif %}\n{% endif %}\n\n{% stylesheet %}\n /* A part that keeps a behavioral data-slot of its own, such as dialog-close or carousel-next,\n takes the button look with data-button and the same data-variant and data-size values. */\n /* Merchant labels can be long: a label wider than its container wraps inside the button, which\n then grows from its fixed height. One line keeps the Vega height in every size. */\n :is([data-slot='button'], [data-button]) {\n display: inline-flex;\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n gap: calc(var(--spacing) * 1.5);\n max-width: 100%;\n min-height: calc(var(--spacing) * 9);\n padding: calc(var(--spacing) * 2) calc(var(--spacing) * 2.5);\n border: 1px solid transparent;\n border-radius: var(--radius-md);\n background: var(--primary);\n background-clip: padding-box;\n color: var(--primary-foreground);\n font-size: 0.875rem;\n font-weight: 500;\n line-height: 1.25;\n text-align: center;\n overflow-wrap: anywhere;\n text-decoration: none;\n text-underline-offset: 4px;\n cursor: pointer;\n user-select: none;\n outline: none;\n transition:\n background-color 150ms,\n color 150ms,\n border-color 150ms,\n box-shadow 150ms,\n translate 150ms;\n }\n :is([data-slot='button'], [data-button]) > .icon {\n width: calc(var(--spacing) * 4);\n height: calc(var(--spacing) * 4);\n pointer-events: none;\n }\n :is([data-slot='button'], [data-button]):where(:has(> .icon:last-child:not(:first-child))) {\n padding-right: calc(var(--spacing) * 2);\n }\n :is([data-slot='button'], [data-button]):where(:has(> .icon:first-child:not(:last-child))) {\n padding-left: calc(var(--spacing) * 2);\n }\n :is([data-slot='button'], [data-button]):hover {\n background-color: color-mix(in oklch, var(--primary) 80%, transparent);\n }\n :is([data-slot='button'], [data-button]):focus-visible {\n border-color: var(--ring);\n box-shadow: var(--focus-ring);\n }\n :is([data-slot='button'], [data-button])[aria-invalid='true'] {\n border-color: light-dark(var(--destructive), color-mix(in oklch, var(--destructive) 50%, transparent));\n box-shadow: 0 0 0 3px\n light-dark(\n color-mix(in oklch, var(--destructive) 20%, transparent),\n color-mix(in oklch, var(--destructive) 40%, transparent)\n );\n }\n :is([data-slot='button'], [data-button]):active:not([aria-haspopup]) {\n translate: 0 1px;\n }\n :is([data-slot='button'], [data-button]):disabled,\n :is([data-slot='button'], [data-button])[aria-disabled='true'] {\n opacity: 0.5;\n pointer-events: none;\n }\n :is([data-slot='button'], [data-button])[data-variant='outline'] {\n border-color: light-dark(var(--border), var(--input));\n background-color: light-dark(var(--background), color-mix(in oklch, var(--input) 30%, transparent));\n color: var(--foreground);\n box-shadow: var(--shadow-xs);\n }\n :is([data-slot='button'], [data-button])[data-variant='outline']:hover {\n background-color: light-dark(var(--muted), color-mix(in oklch, var(--input) 50%, transparent));\n color: var(--foreground);\n }\n :is([data-slot='button'], [data-button])[data-variant='outline'][aria-expanded='true'] {\n background-color: var(--muted);\n }\n :is([data-slot='button'], [data-button])[data-variant='outline']:focus-visible {\n border-color: var(--ring);\n box-shadow: var(--focus-ring);\n }\n :is([data-slot='button'], [data-button])[data-variant='secondary'] {\n background-color: var(--secondary);\n color: var(--secondary-foreground);\n }\n :is([data-slot='button'], [data-button])[data-variant='secondary']:hover {\n background-color: color-mix(in oklch, var(--secondary), var(--foreground) 5%);\n }\n :is([data-slot='button'], [data-button])[data-variant='ghost'] {\n background-color: transparent;\n color: inherit;\n }\n :is([data-slot='button'], [data-button])[data-variant='ghost']:hover {\n background-color: light-dark(var(--muted), color-mix(in oklch, var(--muted) 50%, transparent));\n color: var(--foreground);\n }\n :is([data-slot='button'], [data-button])[data-variant='ghost'][aria-expanded='true'] {\n background-color: var(--muted);\n color: var(--foreground);\n }\n :is([data-slot='button'], [data-button])[data-variant='destructive'] {\n background-color: light-dark(\n color-mix(in oklch, var(--destructive) 10%, transparent),\n color-mix(in oklch, var(--destructive) 20%, transparent)\n );\n /* Vega's destructive text on its own tint is about 4:1; a fifth of the foreground keeps 4.5:1, also on hover. In oklab it stays red. */\n color: color-mix(in oklab, var(--destructive) 80%, var(--foreground));\n }\n :is([data-slot='button'], [data-button])[data-variant='destructive']:hover {\n background-color: light-dark(\n color-mix(in oklch, var(--destructive) 20%, transparent),\n color-mix(in oklch, var(--destructive) 30%, transparent)\n );\n }\n :is([data-slot='button'], [data-button])[data-variant='destructive']:focus-visible {\n border-color: color-mix(in oklch, var(--destructive) 40%, transparent);\n box-shadow: 0 0 0 3px\n light-dark(\n color-mix(in oklch, var(--destructive) 20%, transparent),\n color-mix(in oklch, var(--destructive) 40%, transparent)\n );\n }\n :is([data-slot='button'], [data-button])[data-variant='link'] {\n background: none;\n color: var(--primary);\n }\n /* Vega's text-primary falls below 4.5:1 in dark mode with most theme colors; there a lighter step of the primary keeps 4.5:1. Browsers without relative colors keep the primary. */\n @supports (color: oklch(from red l c h)) {\n :where(.dark) :is([data-slot='button'], [data-button])[data-variant='link'] {\n color: oklch(from var(--primary) max(l, 0.7) calc(c * 1.2) h);\n }\n }\n :is([data-slot='button'], [data-button])[data-variant='link']:hover {\n text-decoration: underline;\n }\n /* A fixed white button on photos and video. */\n :is([data-slot='button'], [data-button])[data-variant='media'] {\n background-color: var(--media-button);\n color: var(--media-button-foreground);\n }\n :is([data-slot='button'], [data-button])[data-variant='media']:hover {\n background-color: var(--media-button-hover);\n }\n /* The secondary button on photos: a translucent white fill. */\n :is([data-slot='button'], [data-button])[data-variant='media-secondary'] {\n background-color: var(--media-secondary);\n color: var(--on-media);\n }\n :is([data-slot='button'], [data-button])[data-variant='media-secondary']:hover {\n background-color: var(--media-secondary-hover);\n }\n :is([data-slot='button'], [data-button])[data-size='xs'] {\n gap: var(--spacing);\n min-height: calc(var(--spacing) * 6);\n padding: calc(var(--spacing) * 0.75) calc(var(--spacing) * 2);\n border-radius: min(var(--radius-md), 8px);\n font-size: 0.75rem;\n }\n :is([data-slot='button'], [data-button])[data-size='xs'] > .icon {\n width: calc(var(--spacing) * 3);\n height: calc(var(--spacing) * 3);\n }\n :is([data-slot='button'], [data-button])[data-size='sm'] {\n gap: var(--spacing);\n min-height: calc(var(--spacing) * 8);\n padding-block: calc(var(--spacing) * 1.5);\n border-radius: min(var(--radius-md), 10px);\n }\n :is([data-slot='button'], [data-button])[data-size='lg'] {\n min-height: calc(var(--spacing) * 10);\n }\n :is([data-slot='button'], [data-button])[data-size^='icon'] {\n width: calc(var(--spacing) * 9);\n height: calc(var(--spacing) * 9);\n min-height: 0;\n padding: 0;\n }\n :is([data-slot='button'], [data-button])[data-size='icon-xs'] {\n width: calc(var(--spacing) * 6);\n height: calc(var(--spacing) * 6);\n border-radius: min(var(--radius-md), 8px);\n }\n :is([data-slot='button'], [data-button])[data-size='icon-xs'] > .icon {\n width: calc(var(--spacing) * 3);\n height: calc(var(--spacing) * 3);\n }\n :is([data-slot='button'], [data-button])[data-size='icon-sm'] {\n width: calc(var(--spacing) * 8);\n height: calc(var(--spacing) * 8);\n border-radius: min(var(--radius-md), 10px);\n }\n :is([data-slot='button'], [data-button])[data-size='icon-lg'] {\n width: calc(var(--spacing) * 10);\n height: calc(var(--spacing) * 10);\n }\n{% endstylesheet %}\n",
13
13
  "type": "registry:file",
14
14
  "target": "~/snippets/ui-button.liquid"
15
15
  }
@@ -74,7 +74,7 @@
74
74
  },
75
75
  {
76
76
  "path": "assets/ui-manifest.json",
77
- "content": "{\n \"registry\": \"https://ui.full.dev/r/liquid/\",\n \"files\": {\n \"assets/ui-tokens.css\": \"55a8f2810ab4a1498ca3dd2f6e7dc89009c60e2402ddfcb95783b6eba996c374\",\n \"snippets/ui-base.liquid\": \"bc55195b5b6c82e63deeeed1255fd19b434c47866815f82b95b9202421256d34\",\n \"snippets/ui-init.liquid\": \"98f56067cf51e4cb2cd3e10ede7c00304c73ce57fe5b5a0270c0d8a9e448f7af\",\n \"assets/ui-licenses.json\": \"a1fad640a342c9ccd79d233a3aed9631cbf5525ee81e67f49322d0a0f0c2effc\",\n \"assets/ui-carousel.js\": \"3337447a9e0051cebbc1726bca7c7966de1035819fb8e0b676383b85f1917632\",\n \"assets/ui-controls.js\": \"cf51f6d8b23c93e30d3355e993ff21a1aee79f38facfa413bed64e9815df255d\",\n \"assets/ui-lifecycle.js\": \"78c975473620171c01b1289bf5cdce56a5626c847437fa5168fb91a4300260d6\",\n \"assets/ui-start.js\": \"738d7e171b5d7993bfd0a169e4382b2db08340f52a87059b94d27e1fe3606500\",\n \"assets/data-slot-core.js\": \"d2879cc3a2f05a7867763b937bad3bd4a369f54670989ce535367cb690fb66e6\",\n \"assets/data-slot-dialog.js\": \"a5201f452700d04145b5156cc46880d2b5bdf7521b03ff9521c3f7693ee1b5d5\",\n \"assets/data-slot-command.js\": \"f7944120617676b14dfda2ea3f3e8a15767e0766d5312b4ed9519affe9b7444a\",\n \"assets/data-slot-navigation-menu.js\": \"f9b42a9bceca8e1103718d43aa5f0d141ab63d38278cb121e790a2c80e827b68\",\n \"assets/data-slot-accordion.js\": \"fe6b0ac2c87a2e31582e5e88c509e0b508f41d0065d0a420407999ad210e6a27\",\n \"assets/data-slot-tabs.js\": \"1f187134bba755cfda9d35cf9f16174c1a183862d32d100f270f4177033058c7\",\n \"assets/data-slot-combobox.js\": \"b5f2ed9d65a43d836c59c0d4dc33c16ab12ef9fa05d510078b5d62517d854db6\",\n \"assets/data-slot-carousel.js\": \"d83ef938d3b62dc3652b123428ca2261e03fb2ba1133992b0f5545a974238d03\",\n \"assets/data-slot-alert-dialog.js\": \"1caee9a86bb2a816ea32bc1a48b82f3cc588ec3c563ebc443f836ab1dae2f618\",\n \"assets/data-slot-collapsible.js\": \"c42f76e3dfeff4570eb2f5104434fbffd3ef55710833e888965c590ce59f4f9f\",\n \"assets/data-slot-drawer.js\": \"c9343b26ea27193cc1d2da3e41bf452005bc2e534151fa1a762b2b6535de28d0\",\n \"assets/data-slot-dropdown-menu.js\": \"543c5717c9ba8363bbab4c0a11005980d75d4baaed79cf7123c7bcfe3ec8720b\",\n \"assets/data-slot-hover-card.js\": \"86e1bfa5d4822f180f3501ca7cc51bf044d4e917a7ebdb7a10b70006dba6467f\",\n \"assets/data-slot-popover.js\": \"526e30d663381329a7a6394eae886224024034d0abf96f888c932bb4b8c1b1cb\",\n \"assets/data-slot-radio-group.js\": \"7a9b90166de80d79ee42aa2df73e4d8179e9d291cb30b3095c7d8332375b0499\",\n \"assets/data-slot-select.js\": \"13d1a3fbe90f4b3b830d987b6a28267897faa3589bf00e64edca4938acbf406b\",\n \"assets/data-slot-slider.js\": \"0d10131aa95450aa1269234103ead8d805d6abdf9e0683510f4fcf58ab0f1efa\",\n \"assets/data-slot-switch.js\": \"0d5b09a89429880f61aeb540be5f87383ba5c6beb261ad468e9a6cf18e45b6a0\",\n \"assets/data-slot-toast.js\": \"acfd86824d0ff37fbd62d0c48672e527d7391412780730e9a3a8d61268b3aaf2\",\n \"assets/data-slot-toggle.js\": \"7a651d578cb83be842c8e59fe1a2cd124594b1fd6c942faf0a33cf9e57326947\",\n \"assets/data-slot-toggle-group.js\": \"c1f2fc9712974e63e4e44c97ab2a1ec8bc3c3cb73c1afb4578b085fed11977f1\",\n \"assets/data-slot-tooltip.js\": \"5a9e51a54669153620eb3512e74487eac12ababe3331aff7dfed6c717b8b93c0\",\n \"snippets/ui-runtime.liquid\": \"62ae98f4ad16dc0ca406d96bbabb373cd30a63dd385e3614da0dcd2e63d0f17c\",\n \"assets/ui-motion.js\": \"2252a6794ddb162b73ee1640af212292b8c520e98ae09ea862b479078f81d3d1\",\n \"snippets/ui-banner.liquid\": \"9965b12e9a2036aca6e35f1327da8a240c894a6fd91d99f37e77107818d271a3\",\n \"snippets/ui-tabs.liquid\": \"5b57bb3d6400e44ef9343f7b45d9baf2d8581d678ccc64764be60164160687eb\",\n \"snippets/ui-form.liquid\": \"1c002d21c441e217a8f3d64268d429c97e4785af118eb7f7abb5ff1c3d10a3b6\",\n \"assets/ui-form.css\": \"ab0dd70553818fe0799e393f6811e949884eca9f44d9ceff4c2b333c0bf724b4\",\n \"snippets/ui-select.liquid\": \"2d8c99759161a024285d1b54c0ca166dc7b13c97596497351253e945b5e52ee2\",\n \"snippets/ui-field.liquid\": \"cf73aaaf3e27bc9d121dd089317610fbd08b9550a1d5fb0738337c6817879309\",\n \"assets/ui-field.css\": \"96f846a52ab0b832a9eca70ef430e5fd14664a3367d04842de320a82e622722b\",\n \"snippets/ui-item.liquid\": \"fe03c1a3e6df09192c3ac7a08520b0fc1c629a597a029d193ff91655cb7ceac0\",\n \"snippets/ui-spinner.liquid\": \"84d48693f10cb8af4549cc0d71cd847a85da0e111f2ad64dae309c128c2a8c4a\",\n \"snippets/ui-video.liquid\": \"14acea7c523198269a9165270decac21a43a5d69bf12bd248a76aceb2e9b26ed\",\n \"assets/ui-video.css\": \"c1572853f48474f6291a70ccdb1085512700fc3dcbbdaebd71374b838ec67fee\",\n \"snippets/ui-button.liquid\": \"5dd981b8e5de94d5dac3fd367a3d31c0553a2ea2f72aefda6ee2e07fde876af8\",\n \"snippets/ui-toggle.liquid\": \"c86100cf7c163c0d5bc81976fd794788f68fab2ebc5c0887d8042958ce020912\",\n \"snippets/ui-logo.liquid\": \"5d6de7be3f7aab9e05c9533afef39ea0e9dce1b4ee12a13bf7b82780c973b126\",\n \"snippets/ui-kbd.liquid\": \"024f34ed2932d183671f7fa44ff724a70ec17b766cf7e0d3f565f46f33ab2cf2\",\n \"snippets/ui-rating.liquid\": \"aa57adc5a5508b368da78023b242694e6ce924b6e9e5407c141a5030a414bf1d\",\n \"assets/ui-rating.css\": \"e5efea2a9edaea78522f20ebd9e9d01abe8a2fcd310c193239adf80ec33b4975\",\n \"snippets/ui-tooltip.liquid\": \"d2863a0da3090c73dda10d8615b84fc50fab64373a466fbf4e4e743cfb083c96\",\n \"snippets/ui-avatar.liquid\": \"9bfb5d5f535857cc45f31afbc91c855e94972bab07ad3b4fe2dc0d241106385d\",\n \"snippets/ui-empty.liquid\": \"0e7fb5b68d50abcf7213304034762b4dd535c791dd6f4dc517100145e04b0cde\",\n \"snippets/ui-alert-dialog.liquid\": \"f739374035ffa0f3bca2c4b6d946710751c8268c8f1dde535251be9c2c7b0cd0\",\n \"snippets/ui-navigation-menu.liquid\": \"52aecbb36b0031810a85a99f5d4439e852dc1ba3a872b9525dd75c8df8b5a84e\",\n \"assets/ui-navigation-menu.css\": \"29a47ce0eb549e58cc8195dcb656bd2cef56360178c76acfc2d481a110463ca6\",\n \"snippets/ui-typography.liquid\": \"b03dc93c4de6636164a206c95979caa6fe9ab7cf8d1c24d75611416259da7979\",\n \"assets/ui-typography.css\": \"4363ea0774e3c76a0154b1c586a6270a4fbd31b7794fe9549977f41563f54d78\",\n \"snippets/ui-toc.liquid\": \"04038e0870112b2335b80b4092814915105b31d08cdd36ecf1f4de1761f66acf\",\n \"snippets/ui-icon.liquid\": \"ca75a9485eb33cdb31a3a4e2e5ca03ce74d4995dbd1696d964832a87602bf3ca\",\n \"assets/ui-icon.css\": \"cfb1a47905cbd9c25b635c96926a77f8eed983a4aca62fdce758345dcc792add\",\n \"snippets/ui-combobox.liquid\": \"bacd605b44237512a74d34119d01432440b76ae60218dae6a6f37f98b32e3e00\",\n \"snippets/ui-toast.liquid\": \"bb032d90d6084fb15e12da22777635b80d09a06402513c46c89e853e3ede0405\",\n \"assets/ui-toast.css\": \"c322fab210a202fa434695025550495dbdc93e688ed7ae39303fea9830864d0b\",\n \"snippets/ui-header.liquid\": \"cc14effb4e3b6c4ac397e306e4ebd270a31b3415cc12ffbeb6cd38f411eaba80\",\n \"snippets/ui-command.liquid\": \"4a37f59dc0039fa1505de764472212d6cd7c4e5c52b737a1700e928db286f233\",\n \"snippets/ui-accordion.liquid\": \"4b58c83ae13e14e03a3129a2dccbd02eeafa90c1e48edbbf9af2dc412bf3aabf\",\n \"assets/ui-accordion.css\": \"430924440bd0f1d49ceb72baffc77404c9411c31c24b940d75861daba2649e83\",\n \"snippets/ui-slider.liquid\": \"f2de1fb9099de77bf291455447bc86b2578781e7cf0efdf12117fb4575e0b0e6\",\n \"snippets/ui-input.liquid\": \"d29e280ce1d08c7450902e69a73a0b7aa125f1cb662c50dbfc80a4a4fef0a85e\",\n \"snippets/ui-input-group.liquid\": \"b862a0c63e23dc7ae4ffe3a8e057a87f38fa8e6c8842ddf3c86b826de0283d70\",\n \"snippets/ui-triggers.liquid\": \"ba9c7b802fb0a2aba0e9cc145a9dd44134964afb53e5363cf9e0ae138b906cc9\",\n \"snippets/ui-toggle-group.liquid\": \"2d61e0b9bc746e05834157f5a75d23123f02bc2df737412e4f6099844afc4f49\",\n \"snippets/ui-dialog.liquid\": \"779bbcd609a69ed29a984df1f26f9ed80fd24d71c4ee3ead5f4daa055b28e9fb\",\n \"snippets/ui-drawer.liquid\": \"16120fdd70fac393470c3936223e78ad5f81164e2b7616fd075e8e82098a17d5\",\n \"snippets/ui-badge.liquid\": \"13d8b46cd5432783a9b986de76365c9fcc0e7fb30ad4f956ec386c1ae549ce99\",\n \"snippets/ui-alert.liquid\": \"7530d324ac1fb4645bba0a23780fbeacc67544f8bad3ed9e367debd88c0365b5\",\n \"snippets/ui-table.liquid\": \"6599d8b3bd193761571c2b71e499f78546ba5c2768d4e0a0a60cd0e348632e5b\",\n \"snippets/ui-breadcrumb.liquid\": \"dafdeaf03286b386c90f8e72777de1946fba4718ee568bd85ca7bc768483a3ca\",\n \"snippets/ui-aspect-ratio.liquid\": \"c8aae05fcd76af7ae768aedafd7e758533e2b52135b00ff72940896ad793f177\",\n \"snippets/ui-price.liquid\": \"96156754aee3a04aa3ae7084a14470000213e8be14468c4937e9f3a87e348234\",\n \"assets/ui-price.css\": \"95c947e219621102b704164e48a83e381e6e2b27b99311a294e076745b39a36f\",\n \"snippets/ui-radio-group.liquid\": \"af9978e18716cc86d03ed21dece8304992e74a4fab88e12069b0648cfd944492\",\n \"snippets/ui-checkbox.liquid\": \"0e4dd1738b355c5a93533e0b813e2e6c72f7491c289d65aa7b6435be1c599006\",\n \"snippets/ui-switch.liquid\": \"84ed60c777e77daec8b5fe6f2ee434877d51224235dc1bc2e17927cd182fe646\",\n \"snippets/ui-skeleton.liquid\": \"1e30245f6577f73d28f4badbc293934656882a29d5dec1d2f74ef95f3bcede2c\",\n \"snippets/ui-separator.liquid\": \"90b1d2795666b6c51f35645ca8d07659f2c4868fe9553e233cddb4e962095f6e\",\n \"snippets/ui-card.liquid\": \"581a46843f1280ebace0423ee84289b40fbd46142e6a9ab3940f63eca0e4c5f2\",\n \"assets/ui-card.css\": \"ee7e4192ec814066d0c9838f810ae4ca267b9f071b7fa945c43226d46b0f8dc9\",\n \"snippets/ui-pagination.liquid\": \"30943c00686e1a23d92865465b38c964e059b14ae3a20fb7fe151824a73773eb\",\n \"snippets/ui-popup.liquid\": \"840f938aa2a331e4e7d55c659f25e841dcfb1bf5c5cadace6263243352ff8359\",\n \"snippets/ui-sheet.liquid\": \"0de705bed685bf78fa3af4517c947b38d62a1aa56bf29356c0a201b64db17614\",\n \"snippets/ui-carousel.liquid\": \"59dc0c06b2a9f2f779ca22b3ff4b005071d4909aba052d6f8f0a1aa19e84c2ce\",\n \"assets/ui-carousel.css\": \"5317c251b3d3599ba330947fc9709ea50acfb858a5d7e08573b5d34ada2f3bf4\",\n \"snippets/ui-attachment.liquid\": \"6881df7cdb1b27462d8cce7c17c0b4ed4dd860d62535e1daa81378a57bb69ddf\",\n \"snippets/ui-marquee.liquid\": \"47d5df8f1ff46a2cd48a132986c2ba199c9e19b485e62fc3e0d19091d4baaab1\",\n \"assets/ui-marquee.css\": \"ef13b83f3dbcd6685fcee3dba14238386d0f34bc2266a5326c0b6f2d40a23fce\",\n \"snippets/ui-invalid-controls.liquid\": \"a169e8244cc86f5431f902f7a73b37188051ba8f2ef3e323830462dae5aed066\",\n \"snippets/ui-section.liquid\": \"da358cd87447457f3675b035b48556103d86cd11e0b2240ae2800e4c9ea54bdc\",\n \"assets/ui-section.css\": \"f4936a02aaf1927ccced898886857855e4b5e95fafe5c2a52748ecbbe87b6621\",\n \"snippets/ui-button-group.liquid\": \"a2790f8da0f8b37acc1ed558ba1548ea250a5b93e1b2dfbd11eb150f3f02783a\",\n \"snippets/ui-collapsible.liquid\": \"e6107a03d00b8cc75bb03206e64b9aa7f2989d982c0408b398b62067c6df450a\",\n \"snippets/ui-dropdown-menu.liquid\": \"25b31e09e3e7bfee9a397ca4de6e310754844c55e71639eadba917b0f4e6d2e5\",\n \"snippets/ui-popover.liquid\": \"44ff93d72eaad409f56f8a84ce25715e2c3633f2ac49ba7a414767c6dbe2ee47\",\n \"snippets/ui-hover-card.liquid\": \"ba4133d352fa14296743138c99f3694015bafe953751b8e42155f047c4beb9f0\",\n \"snippets/ui.liquid\": \"30679056b2eafefbaeef5ecd271604951676893a65a8eccb0f970c787a67b900\"\n }\n}\n",
77
+ "content": "{\n \"registry\": \"https://ui.full.dev/r/liquid/\",\n \"files\": {\n \"assets/ui-tokens.css\": \"55a8f2810ab4a1498ca3dd2f6e7dc89009c60e2402ddfcb95783b6eba996c374\",\n \"snippets/ui-base.liquid\": \"bc55195b5b6c82e63deeeed1255fd19b434c47866815f82b95b9202421256d34\",\n \"snippets/ui-init.liquid\": \"98f56067cf51e4cb2cd3e10ede7c00304c73ce57fe5b5a0270c0d8a9e448f7af\",\n \"assets/ui-licenses.json\": \"a1fad640a342c9ccd79d233a3aed9631cbf5525ee81e67f49322d0a0f0c2effc\",\n \"assets/ui-carousel.js\": \"3337447a9e0051cebbc1726bca7c7966de1035819fb8e0b676383b85f1917632\",\n \"assets/ui-controls.js\": \"cf51f6d8b23c93e30d3355e993ff21a1aee79f38facfa413bed64e9815df255d\",\n \"assets/ui-lifecycle.js\": \"78c975473620171c01b1289bf5cdce56a5626c847437fa5168fb91a4300260d6\",\n \"assets/ui-start.js\": \"738d7e171b5d7993bfd0a169e4382b2db08340f52a87059b94d27e1fe3606500\",\n \"assets/data-slot-core.js\": \"d2879cc3a2f05a7867763b937bad3bd4a369f54670989ce535367cb690fb66e6\",\n \"assets/data-slot-dialog.js\": \"a5201f452700d04145b5156cc46880d2b5bdf7521b03ff9521c3f7693ee1b5d5\",\n \"assets/data-slot-command.js\": \"f7944120617676b14dfda2ea3f3e8a15767e0766d5312b4ed9519affe9b7444a\",\n \"assets/data-slot-navigation-menu.js\": \"f9b42a9bceca8e1103718d43aa5f0d141ab63d38278cb121e790a2c80e827b68\",\n \"assets/data-slot-accordion.js\": \"fe6b0ac2c87a2e31582e5e88c509e0b508f41d0065d0a420407999ad210e6a27\",\n \"assets/data-slot-tabs.js\": \"1f187134bba755cfda9d35cf9f16174c1a183862d32d100f270f4177033058c7\",\n \"assets/data-slot-combobox.js\": \"b5f2ed9d65a43d836c59c0d4dc33c16ab12ef9fa05d510078b5d62517d854db6\",\n \"assets/data-slot-carousel.js\": \"d83ef938d3b62dc3652b123428ca2261e03fb2ba1133992b0f5545a974238d03\",\n \"assets/data-slot-alert-dialog.js\": \"1caee9a86bb2a816ea32bc1a48b82f3cc588ec3c563ebc443f836ab1dae2f618\",\n \"assets/data-slot-collapsible.js\": \"c42f76e3dfeff4570eb2f5104434fbffd3ef55710833e888965c590ce59f4f9f\",\n \"assets/data-slot-drawer.js\": \"c9343b26ea27193cc1d2da3e41bf452005bc2e534151fa1a762b2b6535de28d0\",\n \"assets/data-slot-dropdown-menu.js\": \"543c5717c9ba8363bbab4c0a11005980d75d4baaed79cf7123c7bcfe3ec8720b\",\n \"assets/data-slot-hover-card.js\": \"86e1bfa5d4822f180f3501ca7cc51bf044d4e917a7ebdb7a10b70006dba6467f\",\n \"assets/data-slot-popover.js\": \"526e30d663381329a7a6394eae886224024034d0abf96f888c932bb4b8c1b1cb\",\n \"assets/data-slot-radio-group.js\": \"7a9b90166de80d79ee42aa2df73e4d8179e9d291cb30b3095c7d8332375b0499\",\n \"assets/data-slot-select.js\": \"13d1a3fbe90f4b3b830d987b6a28267897faa3589bf00e64edca4938acbf406b\",\n \"assets/data-slot-slider.js\": \"0d10131aa95450aa1269234103ead8d805d6abdf9e0683510f4fcf58ab0f1efa\",\n \"assets/data-slot-switch.js\": \"0d5b09a89429880f61aeb540be5f87383ba5c6beb261ad468e9a6cf18e45b6a0\",\n \"assets/data-slot-toast.js\": \"acfd86824d0ff37fbd62d0c48672e527d7391412780730e9a3a8d61268b3aaf2\",\n \"assets/data-slot-toggle.js\": \"7a651d578cb83be842c8e59fe1a2cd124594b1fd6c942faf0a33cf9e57326947\",\n \"assets/data-slot-toggle-group.js\": \"c1f2fc9712974e63e4e44c97ab2a1ec8bc3c3cb73c1afb4578b085fed11977f1\",\n \"assets/data-slot-tooltip.js\": \"5a9e51a54669153620eb3512e74487eac12ababe3331aff7dfed6c717b8b93c0\",\n \"snippets/ui-runtime.liquid\": \"62ae98f4ad16dc0ca406d96bbabb373cd30a63dd385e3614da0dcd2e63d0f17c\",\n \"assets/ui-motion.js\": \"2252a6794ddb162b73ee1640af212292b8c520e98ae09ea862b479078f81d3d1\",\n \"snippets/ui-banner.liquid\": \"9965b12e9a2036aca6e35f1327da8a240c894a6fd91d99f37e77107818d271a3\",\n \"snippets/ui-tabs.liquid\": \"5b57bb3d6400e44ef9343f7b45d9baf2d8581d678ccc64764be60164160687eb\",\n \"snippets/ui-form.liquid\": \"1c002d21c441e217a8f3d64268d429c97e4785af118eb7f7abb5ff1c3d10a3b6\",\n \"assets/ui-form.css\": \"ab0dd70553818fe0799e393f6811e949884eca9f44d9ceff4c2b333c0bf724b4\",\n \"snippets/ui-select.liquid\": \"2d8c99759161a024285d1b54c0ca166dc7b13c97596497351253e945b5e52ee2\",\n \"snippets/ui-field.liquid\": \"cf73aaaf3e27bc9d121dd089317610fbd08b9550a1d5fb0738337c6817879309\",\n \"assets/ui-field.css\": \"96f846a52ab0b832a9eca70ef430e5fd14664a3367d04842de320a82e622722b\",\n \"snippets/ui-item.liquid\": \"fe03c1a3e6df09192c3ac7a08520b0fc1c629a597a029d193ff91655cb7ceac0\",\n \"snippets/ui-spinner.liquid\": \"84d48693f10cb8af4549cc0d71cd847a85da0e111f2ad64dae309c128c2a8c4a\",\n \"snippets/ui-video.liquid\": \"14acea7c523198269a9165270decac21a43a5d69bf12bd248a76aceb2e9b26ed\",\n \"assets/ui-video.css\": \"c1572853f48474f6291a70ccdb1085512700fc3dcbbdaebd71374b838ec67fee\",\n \"snippets/ui-button.liquid\": \"d0b4ad1b574f10f986a7d5b2719a16c4ba29b80887962b9a8b6464afef6fe54c\",\n \"snippets/ui-toggle.liquid\": \"c86100cf7c163c0d5bc81976fd794788f68fab2ebc5c0887d8042958ce020912\",\n \"snippets/ui-logo.liquid\": \"5d6de7be3f7aab9e05c9533afef39ea0e9dce1b4ee12a13bf7b82780c973b126\",\n \"snippets/ui-kbd.liquid\": \"024f34ed2932d183671f7fa44ff724a70ec17b766cf7e0d3f565f46f33ab2cf2\",\n \"snippets/ui-rating.liquid\": \"aa57adc5a5508b368da78023b242694e6ce924b6e9e5407c141a5030a414bf1d\",\n \"assets/ui-rating.css\": \"e5efea2a9edaea78522f20ebd9e9d01abe8a2fcd310c193239adf80ec33b4975\",\n \"snippets/ui-tooltip.liquid\": \"d2863a0da3090c73dda10d8615b84fc50fab64373a466fbf4e4e743cfb083c96\",\n \"snippets/ui-avatar.liquid\": \"9bfb5d5f535857cc45f31afbc91c855e94972bab07ad3b4fe2dc0d241106385d\",\n \"snippets/ui-empty.liquid\": \"0e7fb5b68d50abcf7213304034762b4dd535c791dd6f4dc517100145e04b0cde\",\n \"snippets/ui-alert-dialog.liquid\": \"f739374035ffa0f3bca2c4b6d946710751c8268c8f1dde535251be9c2c7b0cd0\",\n \"snippets/ui-navigation-menu.liquid\": \"52aecbb36b0031810a85a99f5d4439e852dc1ba3a872b9525dd75c8df8b5a84e\",\n \"assets/ui-navigation-menu.css\": \"29a47ce0eb549e58cc8195dcb656bd2cef56360178c76acfc2d481a110463ca6\",\n \"snippets/ui-typography.liquid\": \"b03dc93c4de6636164a206c95979caa6fe9ab7cf8d1c24d75611416259da7979\",\n \"assets/ui-typography.css\": \"0daa86d256566ab8065411682cb8c90aa3b3eab6e62fbd8165dac1147e4edde9\",\n \"snippets/ui-toc.liquid\": \"04038e0870112b2335b80b4092814915105b31d08cdd36ecf1f4de1761f66acf\",\n \"snippets/ui-icon.liquid\": \"ca75a9485eb33cdb31a3a4e2e5ca03ce74d4995dbd1696d964832a87602bf3ca\",\n \"assets/ui-icon.css\": \"cfb1a47905cbd9c25b635c96926a77f8eed983a4aca62fdce758345dcc792add\",\n \"snippets/ui-combobox.liquid\": \"bacd605b44237512a74d34119d01432440b76ae60218dae6a6f37f98b32e3e00\",\n \"snippets/ui-toast.liquid\": \"bb032d90d6084fb15e12da22777635b80d09a06402513c46c89e853e3ede0405\",\n \"assets/ui-toast.css\": \"c322fab210a202fa434695025550495dbdc93e688ed7ae39303fea9830864d0b\",\n \"snippets/ui-header.liquid\": \"cc14effb4e3b6c4ac397e306e4ebd270a31b3415cc12ffbeb6cd38f411eaba80\",\n \"snippets/ui-command.liquid\": \"4a37f59dc0039fa1505de764472212d6cd7c4e5c52b737a1700e928db286f233\",\n \"snippets/ui-accordion.liquid\": \"4b58c83ae13e14e03a3129a2dccbd02eeafa90c1e48edbbf9af2dc412bf3aabf\",\n \"assets/ui-accordion.css\": \"430924440bd0f1d49ceb72baffc77404c9411c31c24b940d75861daba2649e83\",\n \"snippets/ui-slider.liquid\": \"f2de1fb9099de77bf291455447bc86b2578781e7cf0efdf12117fb4575e0b0e6\",\n \"snippets/ui-input.liquid\": \"d29e280ce1d08c7450902e69a73a0b7aa125f1cb662c50dbfc80a4a4fef0a85e\",\n \"snippets/ui-input-group.liquid\": \"b862a0c63e23dc7ae4ffe3a8e057a87f38fa8e6c8842ddf3c86b826de0283d70\",\n \"snippets/ui-triggers.liquid\": \"ba9c7b802fb0a2aba0e9cc145a9dd44134964afb53e5363cf9e0ae138b906cc9\",\n \"snippets/ui-toggle-group.liquid\": \"2d61e0b9bc746e05834157f5a75d23123f02bc2df737412e4f6099844afc4f49\",\n \"snippets/ui-dialog.liquid\": \"779bbcd609a69ed29a984df1f26f9ed80fd24d71c4ee3ead5f4daa055b28e9fb\",\n \"snippets/ui-drawer.liquid\": \"16120fdd70fac393470c3936223e78ad5f81164e2b7616fd075e8e82098a17d5\",\n \"snippets/ui-badge.liquid\": \"14b826127eaedd2f5acac0ca74fbe403ef18b08ca6651995c0bf0501210d55f6\",\n \"snippets/ui-alert.liquid\": \"392bf006b427178d4699272115317e0db934d881be9534b4638c492fa1825a83\",\n \"snippets/ui-table.liquid\": \"6599d8b3bd193761571c2b71e499f78546ba5c2768d4e0a0a60cd0e348632e5b\",\n \"snippets/ui-breadcrumb.liquid\": \"dafdeaf03286b386c90f8e72777de1946fba4718ee568bd85ca7bc768483a3ca\",\n \"snippets/ui-aspect-ratio.liquid\": \"c8aae05fcd76af7ae768aedafd7e758533e2b52135b00ff72940896ad793f177\",\n \"snippets/ui-price.liquid\": \"96156754aee3a04aa3ae7084a14470000213e8be14468c4937e9f3a87e348234\",\n \"assets/ui-price.css\": \"95c947e219621102b704164e48a83e381e6e2b27b99311a294e076745b39a36f\",\n \"snippets/ui-radio-group.liquid\": \"af9978e18716cc86d03ed21dece8304992e74a4fab88e12069b0648cfd944492\",\n \"snippets/ui-checkbox.liquid\": \"0e4dd1738b355c5a93533e0b813e2e6c72f7491c289d65aa7b6435be1c599006\",\n \"snippets/ui-switch.liquid\": \"84ed60c777e77daec8b5fe6f2ee434877d51224235dc1bc2e17927cd182fe646\",\n \"snippets/ui-skeleton.liquid\": \"1e30245f6577f73d28f4badbc293934656882a29d5dec1d2f74ef95f3bcede2c\",\n \"snippets/ui-separator.liquid\": \"90b1d2795666b6c51f35645ca8d07659f2c4868fe9553e233cddb4e962095f6e\",\n \"snippets/ui-card.liquid\": \"581a46843f1280ebace0423ee84289b40fbd46142e6a9ab3940f63eca0e4c5f2\",\n \"assets/ui-card.css\": \"ee7e4192ec814066d0c9838f810ae4ca267b9f071b7fa945c43226d46b0f8dc9\",\n \"snippets/ui-pagination.liquid\": \"30943c00686e1a23d92865465b38c964e059b14ae3a20fb7fe151824a73773eb\",\n \"snippets/ui-popup.liquid\": \"840f938aa2a331e4e7d55c659f25e841dcfb1bf5c5cadace6263243352ff8359\",\n \"snippets/ui-sheet.liquid\": \"0de705bed685bf78fa3af4517c947b38d62a1aa56bf29356c0a201b64db17614\",\n \"snippets/ui-carousel.liquid\": \"59dc0c06b2a9f2f779ca22b3ff4b005071d4909aba052d6f8f0a1aa19e84c2ce\",\n \"assets/ui-carousel.css\": \"5317c251b3d3599ba330947fc9709ea50acfb858a5d7e08573b5d34ada2f3bf4\",\n \"snippets/ui-attachment.liquid\": \"6881df7cdb1b27462d8cce7c17c0b4ed4dd860d62535e1daa81378a57bb69ddf\",\n \"snippets/ui-marquee.liquid\": \"47d5df8f1ff46a2cd48a132986c2ba199c9e19b485e62fc3e0d19091d4baaab1\",\n \"assets/ui-marquee.css\": \"ef13b83f3dbcd6685fcee3dba14238386d0f34bc2266a5326c0b6f2d40a23fce\",\n \"snippets/ui-invalid-controls.liquid\": \"a169e8244cc86f5431f902f7a73b37188051ba8f2ef3e323830462dae5aed066\",\n \"snippets/ui-section.liquid\": \"da358cd87447457f3675b035b48556103d86cd11e0b2240ae2800e4c9ea54bdc\",\n \"assets/ui-section.css\": \"f4936a02aaf1927ccced898886857855e4b5e95fafe5c2a52748ecbbe87b6621\",\n \"snippets/ui-button-group.liquid\": \"a2790f8da0f8b37acc1ed558ba1548ea250a5b93e1b2dfbd11eb150f3f02783a\",\n \"snippets/ui-collapsible.liquid\": \"e6107a03d00b8cc75bb03206e64b9aa7f2989d982c0408b398b62067c6df450a\",\n \"snippets/ui-dropdown-menu.liquid\": \"25b31e09e3e7bfee9a397ca4de6e310754844c55e71639eadba917b0f4e6d2e5\",\n \"snippets/ui-popover.liquid\": \"44ff93d72eaad409f56f8a84ce25715e2c3633f2ac49ba7a414767c6dbe2ee47\",\n \"snippets/ui-hover-card.liquid\": \"ba4133d352fa14296743138c99f3694015bafe953751b8e42155f047c4beb9f0\",\n \"snippets/ui.liquid\": \"30679056b2eafefbaeef5ecd271604951676893a65a8eccb0f970c787a67b900\"\n }\n}\n",
78
78
  "type": "registry:file",
79
79
  "target": "~/assets/ui-manifest.json"
80
80
  }
@@ -15,7 +15,7 @@
15
15
  },
16
16
  {
17
17
  "path": "assets/ui-typography.css",
18
- "content": "h1,\nh2,\nh3,\nh4 {\n font-family: var(--font-heading);\n font-weight: var(--heading-weight);\n letter-spacing: var(--tracking-tight);\n scroll-margin-top: 80px;\n}\nh1 {\n font-size: 2.25rem;\n line-height: 2.5rem;\n text-wrap: balance;\n}\nh2 {\n font-size: 1.875rem;\n line-height: 2.25rem;\n}\nh3 {\n font-size: 1.5rem;\n line-height: 2rem;\n}\nh4 {\n font-size: 1.25rem;\n line-height: 1.75rem;\n}\n[data-size='sm']:is(h1) {\n font-size: 1.875rem;\n line-height: 2.25rem;\n}\n[data-size='sm']:is(h2) {\n font-size: 1.5rem;\n line-height: 2rem;\n}\n[data-size='sm']:is(h3) {\n font-size: 1.25rem;\n line-height: 1.75rem;\n}\n[data-size='sm']:is(h4) {\n font-size: 1.125rem;\n line-height: 1.75rem;\n}\n[data-size='lg']:is(h1) {\n font-size: 3rem;\n line-height: 1;\n}\n.muted {\n color: var(--muted-foreground);\n}\n.link {\n font-weight: 500;\n text-decoration: underline;\n}\n.link:hover {\n text-decoration-thickness: 2px;\n}\n\n/* Rich text from the editor or Shopify content: Fulldev UI's typography, shadcn/ui's typeset.\n Text is 18px below 768px and 16px from there (sm 14px, lg 18px), headings scale in em, and the\n flow sets the space between blocks. Theme tokens set the colors and fonts, images and videos\n keep square corners, and a wide table scrolls. [data-not-typeset] keeps a part out.\n The typeset class gives merchant rich text inside another part, such as a section or card\n description, the same flow, headings, lists and links at that part's size, leading and color. */\n:is([data-slot='typography'], .typeset) {\n --typeset-font-heading: var(--font-heading);\n --typeset-font-mono: var(--font-mono);\n --typeset-flow: 1.25em;\n --typeset-heading: currentcolor;\n --typeset-muted: currentcolor;\n --typeset-rule: var(--border);\n\n overflow-wrap: break-word;\n}\n[data-slot='typography'] {\n --typeset-font-body: inherit;\n --typeset-size: 1rem;\n --typeset-leading: 1.75;\n --typeset-heading: var(--foreground);\n --typeset-muted: var(--muted-foreground);\n\n font-family: var(--typeset-font-body);\n font-size: calc(var(--typeset-size) * 1.125);\n line-height: var(--typeset-leading);\n color: var(--foreground);\n}\n@media (min-width: 768px), print {\n [data-slot='typography'] {\n font-size: var(--typeset-size);\n }\n}\n[data-slot='typography'][data-size='sm'] {\n --typeset-size: 0.875rem;\n --typeset-leading: 1.7;\n --typeset-flow: 1.125em;\n}\n[data-slot='typography'][data-size='lg'] {\n --typeset-size: 1.125rem;\n --typeset-leading: 1.8;\n --typeset-flow: 1.5em;\n}\n[data-slot='typography'][data-variant='muted'] {\n color: var(--muted-foreground);\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(p) {\n margin-block: var(--typeset-flow) 0;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(h1),\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(h2),\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(h3),\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(h4),\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(h5),\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(h6) {\n color: var(--typeset-heading);\n font-family: var(--typeset-font-heading);\n font-weight: var(--heading-weight);\n letter-spacing: var(--tracking-normal);\n margin-block-end: 0;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(h1) {\n font-size: 1.75em;\n line-height: 1.3;\n margin-block-start: var(--typeset-flow);\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(h2) {\n font-size: 1.25em;\n line-height: 1.4;\n margin-block-start: calc(var(--typeset-flow) * 1.4);\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(h3) {\n font-size: 1.125em;\n line-height: 1.45;\n margin-block-start: var(--typeset-flow);\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(h4) {\n font-size: 1em;\n line-height: 1.5;\n margin-block-start: var(--typeset-flow);\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(h5) {\n font-size: 0.875em;\n line-height: 1.5;\n font-weight: 500;\n color: var(--typeset-muted);\n margin-block-start: calc(var(--typeset-flow) / 0.875);\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(h6) {\n font-size: 0.8125em;\n line-height: 1.5;\n font-weight: 500;\n letter-spacing: 0.08em;\n text-transform: uppercase;\n color: var(--typeset-muted);\n margin-block-start: calc(var(--typeset-flow) / 0.8125);\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where([id]) {\n scroll-margin-block-start: var(--typeset-flow);\n}\n:is([data-slot='typography'], .typeset)\n :not(:where([data-not-typeset], [data-not-typeset] *)):where(h1 + *, h2 + *, h3 + *, h4 + *, h5 + *, h6 + *) {\n margin-block-start: 1em;\n}\n:is([data-slot='typography'], .typeset)\n :not(:where([data-not-typeset], [data-not-typeset] *)):where(:is(h1, h2, h3, h4) :is(code)) {\n font-size: 0.9em;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(a) {\n color: inherit;\n font-weight: 500;\n text-decoration-line: underline;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(a:hover) {\n text-decoration-thickness: 2px;\n}\n:is([data-slot='typography'], .typeset)\n :not(:where([data-not-typeset], [data-not-typeset] *)):where(:is(h1, h2, h3, h4, h5, h6) :is(a)) {\n font-weight: inherit;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(strong, b) {\n font-weight: 600;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(mark) {\n padding: 0.05em 0.15em;\n border-radius: 0.2em;\n background-color: color-mix(in oklab, var(--primary) 15%, transparent);\n color: inherit;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(abbr[title]) {\n text-decoration-line: underline;\n text-decoration-style: dotted;\n text-underline-offset: 0.2em;\n cursor: help;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(del, s) {\n color: var(--typeset-muted);\n text-decoration-line: line-through;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(sup, sub) {\n position: relative;\n font-size: 0.75em;\n line-height: 0;\n vertical-align: baseline;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(sup) {\n top: -0.5em;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(sub) {\n bottom: -0.25em;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(sup a) {\n text-decoration-line: none;\n font-weight: 500;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(ul) {\n list-style-type: disc;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(ol) {\n list-style-type: decimal;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(ul ul) {\n list-style-type: circle;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(ul ul ul) {\n list-style-type: square;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(ol[type='a' i]) {\n list-style-type: lower-alpha;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(ol[type='i' i]) {\n list-style-type: lower-roman;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(ol[type='A' s]) {\n list-style-type: upper-alpha;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(ol[type='I' s]) {\n list-style-type: upper-roman;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(ul, ol) {\n margin-block: var(--typeset-flow) 0;\n padding-inline-start: 1.5em;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(li) {\n margin-block-start: 0.5em;\n padding-inline-start: 0.4em;\n}\n:is([data-slot='typography'], .typeset)\n :not(:where([data-not-typeset], [data-not-typeset] *)):where(li > p, li > ul, li > ol) {\n margin-block-start: 0.5em;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(ul > li)::marker,\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(ol > li)::marker {\n color: var(--typeset-muted);\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(details) {\n margin-block: var(--typeset-flow) 0;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(summary) {\n cursor: pointer;\n font-weight: 500;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(summary)::marker {\n color: var(--typeset-muted);\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(kbd) {\n padding: 0.0625em 0.35em;\n border: 1px solid var(--typeset-rule);\n border-block-end-width: 2px;\n border-radius: min(calc(var(--radius) * 0.6), 0.35em);\n font-family: inherit;\n font-size: 0.85em;\n font-weight: 500;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(dl) {\n margin-block: var(--typeset-flow) 0;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(dt) {\n margin-block-start: 1em;\n font-weight: 500;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(dt + dt) {\n margin-block-start: 0.25em;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(dd) {\n margin-block-start: 0.25em;\n margin-inline-start: 0;\n padding-inline-start: 1em;\n color: var(--typeset-muted);\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(:not(pre) > code) {\n padding: 0.125em 0.3em;\n border-radius: min(calc(var(--radius) * 0.6), 0.35em);\n background-color: var(--muted);\n font-family: var(--typeset-font-mono);\n font-size: 0.85em;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(pre) {\n margin-block: calc(var(--typeset-flow) / 0.875) 0;\n overflow-x: auto;\n padding: 0.75em 1em;\n border-radius: var(--radius);\n background-color: var(--muted);\n font-family: var(--typeset-font-mono);\n font-size: 0.875em;\n line-height: 1.5;\n tab-size: 2;\n direction: ltr;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(pre code) {\n padding: 0;\n border-radius: 0;\n background-color: transparent;\n font-family: inherit;\n font-size: inherit;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(blockquote) {\n margin-block: var(--typeset-flow) 0;\n margin-inline: 0;\n padding-inline-start: 1em;\n border-inline-start: 2px solid var(--typeset-rule);\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(hr) {\n margin-block: calc(var(--typeset-flow) * 2.4) 0;\n border: 0;\n border-block-start: 1px solid var(--typeset-rule);\n}\n:is([data-slot='typography'], .typeset)\n :not(:where([data-not-typeset], [data-not-typeset] *)):where(hr + h1, hr + h2, hr + h3, hr + h4) {\n margin-block-start: var(--typeset-flow);\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(img, video) {\n max-width: 100%;\n height: auto;\n margin-block: var(--typeset-flow) 0;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(iframe) {\n max-width: 100%;\n margin-block: var(--typeset-flow) 0;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(p img) {\n margin-block-start: 0;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(figure) {\n margin-block: var(--typeset-flow) 0;\n margin-inline: 0;\n}\n:is([data-slot='typography'], .typeset)\n :not(:where([data-not-typeset], [data-not-typeset] *)):where(figcaption, caption) {\n margin-block-start: calc(0.75em / 0.875);\n color: var(--typeset-muted);\n font-size: 0.875em;\n text-align: center;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(caption) {\n caption-side: bottom;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(table) {\n display: block;\n width: max-content;\n max-width: 100%;\n margin-block: var(--typeset-flow) 0;\n overflow-x: auto;\n border-block-end: 1px solid var(--typeset-rule);\n border-collapse: separate;\n border-spacing: 0;\n font-size: 1em;\n line-height: 1.5;\n font-variant-numeric: tabular-nums;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(thead th) {\n padding: 0.65em 1em;\n font-weight: 500;\n text-align: start;\n white-space: nowrap;\n}\n:is([data-slot='typography'], .typeset)\n :not(:where([data-not-typeset], [data-not-typeset] *)):where(:is(tbody, tfoot) :is(td, th)) {\n padding: 0.75em 1em;\n border-block-start: 1px solid var(--typeset-rule);\n text-align: start;\n vertical-align: top;\n}\n:is([data-slot='typography'], .typeset)\n :not(:where([data-not-typeset], [data-not-typeset] *)):where(tbody th, tfoot th) {\n font-weight: 500;\n}\n:is([data-slot='typography'], .typeset)\n :not(:where([data-not-typeset], [data-not-typeset] *)):where(th:first-child, td:first-child) {\n padding-inline-start: 0;\n}\n:is([data-slot='typography'], .typeset)\n :not(:where([data-not-typeset], [data-not-typeset] *)):where(th[align='center'], td[align='center']) {\n text-align: center;\n}\n:is([data-slot='typography'], .typeset)\n :not(:where([data-not-typeset], [data-not-typeset] *)):where(th[align='right'], td[align='right']) {\n text-align: end;\n}\n:is([data-slot='typography'], .typeset)\n :not(:where([data-not-typeset], [data-not-typeset] *)):where(li > blockquote, li > table, li > figure) {\n margin-block-start: 0.5em;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(li > pre) {\n margin-block-start: calc(0.5em / 0.875);\n}\n@media print {\n :is([data-slot='typography'], .typeset)\n :not(:where([data-not-typeset], [data-not-typeset] *)):where(pre, table, blockquote, figure) {\n break-inside: avoid;\n }\n :is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(h1, h2, h3, h4) {\n break-after: avoid;\n }\n}\n@media (forced-colors: active) {\n :is([data-slot='typography'], .typeset)\n :not(:where([data-not-typeset], [data-not-typeset] *)):where(:not(pre) > code) {\n border: 1px solid;\n }\n}\n:is([data-slot='typography'], .typeset) > :where(:first-child):not(:where([data-not-typeset], [data-not-typeset] *)),\n:is([data-slot='typography'], .typeset)\n > :where(:first-child)\n > :where(:first-child):not(:where([data-not-typeset], [data-not-typeset] *)),\n:is([data-slot='typography'], .typeset)\n :where(\n li > :first-child,\n blockquote > :first-child,\n td > :first-child,\n th > :first-child,\n dd > :first-child,\n figure > :first-child,\n figure > picture > img\n ):not(:where([data-not-typeset], [data-not-typeset] *)) {\n margin-block-start: 0;\n}\n\n/* Typography parts, as Fulldev UI's typography components: the same roles outside rich text,\n each with the sm and lg sizes. Large, small and muted are shadcn/ui's typography roles. */\n[data-slot='typography-h1'],\n[data-slot='typography-h2'],\n[data-slot='typography-h3'],\n[data-slot='typography-h4'] {\n font-family: var(--font-heading);\n font-weight: var(--heading-weight);\n letter-spacing: var(--tracking-tight);\n scroll-margin-top: 80px;\n}\n[data-slot='typography-h1'] {\n text-wrap: balance;\n font-size: 2.25rem;\n line-height: 2.5rem;\n}\n[data-slot='typography-h1'][data-size='sm'] {\n font-size: 1.875rem;\n line-height: 2.25rem;\n}\n[data-slot='typography-h1'][data-size='lg'] {\n font-size: 3rem;\n line-height: 1;\n}\n[data-slot='typography-h2'] {\n font-size: 1.875rem;\n line-height: 2.25rem;\n}\n[data-slot='typography-h2'][data-size='sm'] {\n font-size: 1.5rem;\n line-height: 2rem;\n}\n[data-slot='typography-h2'][data-size='lg'] {\n font-size: 2.25rem;\n line-height: 2.5rem;\n}\n[data-slot='typography-h3'] {\n font-size: 1.5rem;\n line-height: 2rem;\n}\n[data-slot='typography-h3'][data-size='sm'] {\n font-size: 1.25rem;\n line-height: 1.75rem;\n}\n[data-slot='typography-h3'][data-size='lg'] {\n font-size: 1.875rem;\n line-height: 2.25rem;\n}\n[data-slot='typography-h4'] {\n font-size: 1.25rem;\n line-height: 1.75rem;\n}\n[data-slot='typography-h4'][data-size='sm'] {\n font-size: 1.125rem;\n line-height: 1.75rem;\n}\n[data-slot='typography-h4'][data-size='lg'] {\n font-size: 1.5rem;\n line-height: 2rem;\n}\n[data-slot='typography-p'],\n[data-slot='typography-blockquote'],\n[data-slot='typography-list'] {\n font-size: 1rem;\n line-height: 1.75rem;\n}\n[data-slot='typography-p']:not(:first-child) {\n margin-top: 1.5rem;\n}\n[data-slot='typography-lead'] {\n font-size: 1.125rem;\n line-height: 1.75rem;\n color: var(--muted-foreground);\n}\n[data-slot='typography-lead'][data-size='sm'] {\n font-size: 1rem;\n line-height: 1.5rem;\n}\n[data-slot='typography-lead'][data-size='lg'] {\n font-size: 1.25rem;\n line-height: 1.75rem;\n}\n[data-slot='typography-large'] {\n font-size: 1.125rem;\n font-weight: 600;\n line-height: 1.75rem;\n}\n[data-slot='typography-small'] {\n font-size: 0.875rem;\n font-weight: 500;\n line-height: 1;\n}\n[data-slot='typography-muted'] {\n font-size: 0.875rem;\n line-height: 1.25rem;\n color: var(--muted-foreground);\n}\n[data-slot='typography-blockquote'] {\n margin-top: 1.5rem;\n padding-inline-start: 1.5rem;\n border-inline-start: 2px solid var(--border);\n font-style: italic;\n}\n[data-slot='typography-list'] {\n margin-block: 1.5rem;\n padding-inline-start: 1.5rem;\n}\n[data-slot='typography-list'] > li + li {\n margin-top: 0.5rem;\n}\n[data-slot='typography-p'][data-size='sm'] {\n font-size: 0.875rem;\n line-height: 1.5rem;\n}\n[data-slot='typography-p'][data-size='lg'] {\n font-size: 1.125rem;\n line-height: 1.875rem;\n}\n[data-slot='typography-blockquote'][data-size='sm'] {\n font-size: 0.875rem;\n line-height: 1.5rem;\n}\n[data-slot='typography-blockquote'][data-size='lg'] {\n font-size: 1.125rem;\n line-height: 1.875rem;\n}\n[data-slot='typography-list'][data-size='sm'] {\n font-size: 0.875rem;\n line-height: 1.5rem;\n}\n[data-slot='typography-list'][data-size='lg'] {\n font-size: 1.125rem;\n line-height: 1.875rem;\n}\n[data-slot='typography-inline-code'] {\n padding: 0.2rem 0.3rem;\n border-radius: var(--radius-sm);\n background: var(--muted);\n font-family: var(--font-mono);\n font-size: 0.875rem;\n font-weight: 600;\n}\n[data-slot='typography-inline-code'][data-size='sm'] {\n font-size: 0.75rem;\n}\n[data-slot='typography-inline-code'][data-size='lg'] {\n font-size: 1rem;\n}\n[data-slot='typography-a'] {\n color: var(--primary);\n font-size: 1rem;\n font-weight: 500;\n line-height: 1.5rem;\n text-decoration: underline;\n text-underline-offset: 4px;\n}\n[data-slot='typography-a'][data-size='sm'] {\n font-size: 0.875rem;\n line-height: 1.25rem;\n}\n[data-slot='typography-a'][data-size='lg'] {\n font-size: 1.125rem;\n line-height: 1.75rem;\n}\n[data-slot='typography-a']:hover {\n text-decoration-thickness: 2px;\n}\n\n/* A table in running text, as Fulldev UI's typography table: framed, with striped rows. */\n[data-slot='typography-table-container'] {\n width: 100%;\n margin-block: 1.5rem;\n overflow-x: auto;\n border: 1px solid var(--border);\n border-radius: var(--radius-xl);\n}\n[data-slot='typography-table'] {\n width: 100%;\n border-collapse: collapse;\n font-size: 1rem;\n line-height: 1.5rem;\n}\n[data-slot='typography-table'][data-size='sm'] {\n font-size: 0.875rem;\n line-height: 1.25rem;\n}\n[data-slot='typography-table'][data-size='lg'] {\n font-size: 1.125rem;\n line-height: 1.75rem;\n}\n[data-slot='typography-table-row']:nth-child(even) {\n background: var(--muted);\n}\n[data-slot='typography-table-head'],\n[data-slot='typography-table-cell'] {\n padding: 0.75rem 1rem;\n text-align: start;\n}\n[data-slot='typography-table-head'] {\n border-bottom: 1px solid var(--border);\n font-weight: 600;\n}\n[data-slot='typography-table-cell'] {\n border-top: 1px solid var(--border);\n}\n:is([data-slot='typography-table-head'], [data-slot='typography-table-cell'])[align='left'] {\n text-align: left;\n}\n:is([data-slot='typography-table-head'], [data-slot='typography-table-cell'])[align='center'] {\n text-align: center;\n}\n:is([data-slot='typography-table-head'], [data-slot='typography-table-cell'])[align='right'] {\n text-align: right;\n}\n\n.check-list {\n display: flex;\n flex-direction: column;\n gap: 12px;\n margin: 0;\n padding: 0;\n list-style: none;\n font-size: 0.875rem;\n}\n.check-list > li {\n display: flex;\n align-items: flex-start;\n gap: 12px;\n}\n.check-list .icon {\n width: 16px;\n height: 16px;\n margin-top: 2px;\n color: var(--primary);\n}\n",
18
+ "content": "h1,\nh2,\nh3,\nh4 {\n font-family: var(--font-heading);\n font-weight: var(--heading-weight);\n letter-spacing: var(--tracking-tight);\n scroll-margin-top: 80px;\n}\nh1 {\n font-size: 2.25rem;\n line-height: 2.5rem;\n text-wrap: balance;\n}\nh2 {\n font-size: 1.875rem;\n line-height: 2.25rem;\n}\nh3 {\n font-size: 1.5rem;\n line-height: 2rem;\n}\nh4 {\n font-size: 1.25rem;\n line-height: 1.75rem;\n}\n[data-size='sm']:is(h1) {\n font-size: 1.875rem;\n line-height: 2.25rem;\n}\n[data-size='sm']:is(h2) {\n font-size: 1.5rem;\n line-height: 2rem;\n}\n[data-size='sm']:is(h3) {\n font-size: 1.25rem;\n line-height: 1.75rem;\n}\n[data-size='sm']:is(h4) {\n font-size: 1.125rem;\n line-height: 1.75rem;\n}\n[data-size='lg']:is(h1) {\n font-size: 3rem;\n line-height: 1;\n}\n.muted {\n color: var(--muted-foreground);\n}\n.link {\n font-weight: 500;\n text-decoration: underline;\n}\n.link:hover {\n text-decoration-thickness: 2px;\n}\n\n/* Rich text from the editor or Shopify content: Fulldev UI's typography, shadcn/ui's typeset.\n Text is 18px below 768px and 16px from there (sm 14px, lg 18px), headings scale in em, and the\n flow sets the space between blocks. Theme tokens set the colors and fonts, images and videos\n keep square corners, and a wide table scrolls. [data-not-typeset] keeps a part out.\n The typeset class gives merchant rich text inside another part, such as a section or card\n description, the same flow, headings, lists and links at that part's size, leading and color. */\n:is([data-slot='typography'], .typeset) {\n --typeset-font-heading: var(--font-heading);\n --typeset-font-mono: var(--font-mono);\n --typeset-flow: 1.25em;\n --typeset-heading: currentcolor;\n --typeset-muted: currentcolor;\n --typeset-rule: var(--border);\n\n overflow-wrap: break-word;\n}\n[data-slot='typography'] {\n --typeset-font-body: inherit;\n --typeset-size: 1rem;\n --typeset-leading: 1.75;\n --typeset-heading: var(--foreground);\n --typeset-muted: var(--muted-foreground);\n\n font-family: var(--typeset-font-body);\n font-size: calc(var(--typeset-size) * 1.125);\n line-height: var(--typeset-leading);\n color: var(--foreground);\n}\n@media (min-width: 768px), print {\n [data-slot='typography'] {\n font-size: var(--typeset-size);\n }\n}\n[data-slot='typography'][data-size='sm'] {\n --typeset-size: 0.875rem;\n --typeset-leading: 1.7;\n --typeset-flow: 1.125em;\n}\n[data-slot='typography'][data-size='lg'] {\n --typeset-size: 1.125rem;\n --typeset-leading: 1.8;\n --typeset-flow: 1.5em;\n}\n[data-slot='typography'][data-variant='muted'] {\n color: var(--muted-foreground);\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(p) {\n margin-block: var(--typeset-flow) 0;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(h1),\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(h2),\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(h3),\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(h4),\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(h5),\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(h6) {\n color: var(--typeset-heading);\n font-family: var(--typeset-font-heading);\n font-weight: var(--heading-weight);\n letter-spacing: var(--tracking-normal);\n margin-block-end: 0;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(h1) {\n font-size: 1.75em;\n line-height: 1.3;\n margin-block-start: var(--typeset-flow);\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(h2) {\n font-size: 1.25em;\n line-height: 1.4;\n margin-block-start: calc(var(--typeset-flow) * 1.4);\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(h3) {\n font-size: 1.125em;\n line-height: 1.45;\n margin-block-start: var(--typeset-flow);\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(h4) {\n font-size: 1em;\n line-height: 1.5;\n margin-block-start: var(--typeset-flow);\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(h5) {\n font-size: 0.875em;\n line-height: 1.5;\n font-weight: 500;\n color: var(--typeset-muted);\n margin-block-start: calc(var(--typeset-flow) / 0.875);\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(h6) {\n font-size: 0.8125em;\n line-height: 1.5;\n font-weight: 500;\n letter-spacing: 0.08em;\n text-transform: uppercase;\n color: var(--typeset-muted);\n margin-block-start: calc(var(--typeset-flow) / 0.8125);\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where([id]) {\n scroll-margin-block-start: var(--typeset-flow);\n}\n:is([data-slot='typography'], .typeset)\n :not(:where([data-not-typeset], [data-not-typeset] *)):where(h1 + *, h2 + *, h3 + *, h4 + *, h5 + *, h6 + *) {\n margin-block-start: 1em;\n}\n:is([data-slot='typography'], .typeset)\n :not(:where([data-not-typeset], [data-not-typeset] *)):where(:is(h1, h2, h3, h4) :is(code)) {\n font-size: 0.9em;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(a) {\n color: inherit;\n font-weight: 500;\n text-decoration-line: underline;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(a:hover) {\n text-decoration-thickness: 2px;\n}\n:is([data-slot='typography'], .typeset)\n :not(:where([data-not-typeset], [data-not-typeset] *)):where(:is(h1, h2, h3, h4, h5, h6) :is(a)) {\n font-weight: inherit;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(strong, b) {\n font-weight: 600;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(mark) {\n padding: 0.05em 0.15em;\n border-radius: 0.2em;\n background-color: color-mix(in oklab, var(--primary) 15%, transparent);\n color: inherit;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(abbr[title]) {\n text-decoration-line: underline;\n text-decoration-style: dotted;\n text-underline-offset: 0.2em;\n cursor: help;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(del, s) {\n color: var(--typeset-muted);\n text-decoration-line: line-through;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(sup, sub) {\n position: relative;\n font-size: 0.75em;\n line-height: 0;\n vertical-align: baseline;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(sup) {\n top: -0.5em;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(sub) {\n bottom: -0.25em;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(sup a) {\n text-decoration-line: none;\n font-weight: 500;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(ul) {\n list-style-type: disc;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(ol) {\n list-style-type: decimal;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(ul ul) {\n list-style-type: circle;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(ul ul ul) {\n list-style-type: square;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(ol[type='a' i]) {\n list-style-type: lower-alpha;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(ol[type='i' i]) {\n list-style-type: lower-roman;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(ol[type='A' s]) {\n list-style-type: upper-alpha;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(ol[type='I' s]) {\n list-style-type: upper-roman;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(ul, ol) {\n margin-block: var(--typeset-flow) 0;\n padding-inline-start: 1.5em;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(li) {\n margin-block-start: 0.5em;\n padding-inline-start: 0.4em;\n}\n:is([data-slot='typography'], .typeset)\n :not(:where([data-not-typeset], [data-not-typeset] *)):where(li > p, li > ul, li > ol) {\n margin-block-start: 0.5em;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(ul > li)::marker,\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(ol > li)::marker {\n color: var(--typeset-muted);\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(details) {\n margin-block: var(--typeset-flow) 0;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(summary) {\n cursor: pointer;\n font-weight: 500;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(summary)::marker {\n color: var(--typeset-muted);\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(kbd) {\n padding: 0.0625em 0.35em;\n border: 1px solid var(--typeset-rule);\n border-block-end-width: 2px;\n border-radius: min(calc(var(--radius) * 0.6), 0.35em);\n font-family: inherit;\n font-size: 0.85em;\n font-weight: 500;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(dl) {\n margin-block: var(--typeset-flow) 0;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(dt) {\n margin-block-start: 1em;\n font-weight: 500;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(dt + dt) {\n margin-block-start: 0.25em;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(dd) {\n margin-block-start: 0.25em;\n margin-inline-start: 0;\n padding-inline-start: 1em;\n color: var(--typeset-muted);\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(:not(pre) > code) {\n padding: 0.125em 0.3em;\n border-radius: min(calc(var(--radius) * 0.6), 0.35em);\n background-color: var(--muted);\n font-family: var(--typeset-font-mono);\n font-size: 0.85em;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(pre) {\n margin-block: calc(var(--typeset-flow) / 0.875) 0;\n overflow-x: auto;\n padding: 0.75em 1em;\n border-radius: var(--radius);\n background-color: var(--muted);\n font-family: var(--typeset-font-mono);\n font-size: 0.875em;\n line-height: 1.5;\n tab-size: 2;\n direction: ltr;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(pre code) {\n padding: 0;\n border-radius: 0;\n background-color: transparent;\n font-family: inherit;\n font-size: inherit;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(blockquote) {\n margin-block: var(--typeset-flow) 0;\n margin-inline: 0;\n padding-inline-start: 1em;\n border-inline-start: 2px solid var(--typeset-rule);\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(hr) {\n margin-block: calc(var(--typeset-flow) * 2.4) 0;\n border: 0;\n border-block-start: 1px solid var(--typeset-rule);\n}\n:is([data-slot='typography'], .typeset)\n :not(:where([data-not-typeset], [data-not-typeset] *)):where(hr + h1, hr + h2, hr + h3, hr + h4) {\n margin-block-start: var(--typeset-flow);\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(img, video) {\n max-width: 100%;\n height: auto;\n margin-block: var(--typeset-flow) 0;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(iframe) {\n max-width: 100%;\n margin-block: var(--typeset-flow) 0;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(p img) {\n margin-block-start: 0;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(figure) {\n margin-block: var(--typeset-flow) 0;\n margin-inline: 0;\n}\n:is([data-slot='typography'], .typeset)\n :not(:where([data-not-typeset], [data-not-typeset] *)):where(figcaption, caption) {\n margin-block-start: calc(0.75em / 0.875);\n color: var(--typeset-muted);\n font-size: 0.875em;\n text-align: center;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(caption) {\n caption-side: bottom;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(table) {\n display: block;\n width: max-content;\n max-width: 100%;\n margin-block: var(--typeset-flow) 0;\n overflow-x: auto;\n border-block-end: 1px solid var(--typeset-rule);\n border-collapse: separate;\n border-spacing: 0;\n font-size: 1em;\n line-height: 1.5;\n font-variant-numeric: tabular-nums;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(thead th) {\n padding: 0.65em 1em;\n font-weight: 500;\n text-align: start;\n white-space: nowrap;\n}\n:is([data-slot='typography'], .typeset)\n :not(:where([data-not-typeset], [data-not-typeset] *)):where(:is(tbody, tfoot) :is(td, th)) {\n padding: 0.75em 1em;\n border-block-start: 1px solid var(--typeset-rule);\n text-align: start;\n vertical-align: top;\n}\n:is([data-slot='typography'], .typeset)\n :not(:where([data-not-typeset], [data-not-typeset] *)):where(tbody th, tfoot th) {\n font-weight: 500;\n}\n:is([data-slot='typography'], .typeset)\n :not(:where([data-not-typeset], [data-not-typeset] *)):where(th:first-child, td:first-child) {\n padding-inline-start: 0;\n}\n:is([data-slot='typography'], .typeset)\n :not(:where([data-not-typeset], [data-not-typeset] *)):where(th[align='center'], td[align='center']) {\n text-align: center;\n}\n:is([data-slot='typography'], .typeset)\n :not(:where([data-not-typeset], [data-not-typeset] *)):where(th[align='right'], td[align='right']) {\n text-align: end;\n}\n:is([data-slot='typography'], .typeset)\n :not(:where([data-not-typeset], [data-not-typeset] *)):where(li > blockquote, li > table, li > figure) {\n margin-block-start: 0.5em;\n}\n:is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(li > pre) {\n margin-block-start: calc(0.5em / 0.875);\n}\n@media print {\n :is([data-slot='typography'], .typeset)\n :not(:where([data-not-typeset], [data-not-typeset] *)):where(pre, table, blockquote, figure) {\n break-inside: avoid;\n }\n :is([data-slot='typography'], .typeset) :not(:where([data-not-typeset], [data-not-typeset] *)):where(h1, h2, h3, h4) {\n break-after: avoid;\n }\n}\n@media (forced-colors: active) {\n :is([data-slot='typography'], .typeset)\n :not(:where([data-not-typeset], [data-not-typeset] *)):where(:not(pre) > code) {\n border: 1px solid;\n }\n}\n:is([data-slot='typography'], .typeset) > :where(:first-child):not(:where([data-not-typeset], [data-not-typeset] *)),\n:is([data-slot='typography'], .typeset)\n > :where(:first-child)\n > :where(:first-child):not(:where([data-not-typeset], [data-not-typeset] *)),\n:is([data-slot='typography'], .typeset)\n :where(\n li > :first-child,\n blockquote > :first-child,\n td > :first-child,\n th > :first-child,\n dd > :first-child,\n figure > :first-child,\n figure > picture > img\n ):not(:where([data-not-typeset], [data-not-typeset] *)) {\n margin-block-start: 0;\n}\n\n/* Typography parts, as Fulldev UI's typography components: the same roles outside rich text,\n each with the sm and lg sizes. Large, small and muted are shadcn/ui's typography roles. */\n[data-slot='typography-h1'],\n[data-slot='typography-h2'],\n[data-slot='typography-h3'],\n[data-slot='typography-h4'] {\n font-family: var(--font-heading);\n font-weight: var(--heading-weight);\n letter-spacing: var(--tracking-tight);\n scroll-margin-top: 80px;\n}\n[data-slot='typography-h1'] {\n text-wrap: balance;\n font-size: 2.25rem;\n line-height: 2.5rem;\n}\n[data-slot='typography-h1'][data-size='sm'] {\n font-size: 1.875rem;\n line-height: 2.25rem;\n}\n[data-slot='typography-h1'][data-size='lg'] {\n font-size: 3rem;\n line-height: 1;\n}\n[data-slot='typography-h2'] {\n font-size: 1.875rem;\n line-height: 2.25rem;\n}\n[data-slot='typography-h2'][data-size='sm'] {\n font-size: 1.5rem;\n line-height: 2rem;\n}\n[data-slot='typography-h2'][data-size='lg'] {\n font-size: 2.25rem;\n line-height: 2.5rem;\n}\n[data-slot='typography-h3'] {\n font-size: 1.5rem;\n line-height: 2rem;\n}\n[data-slot='typography-h3'][data-size='sm'] {\n font-size: 1.25rem;\n line-height: 1.75rem;\n}\n[data-slot='typography-h3'][data-size='lg'] {\n font-size: 1.875rem;\n line-height: 2.25rem;\n}\n[data-slot='typography-h4'] {\n font-size: 1.25rem;\n line-height: 1.75rem;\n}\n[data-slot='typography-h4'][data-size='sm'] {\n font-size: 1.125rem;\n line-height: 1.75rem;\n}\n[data-slot='typography-h4'][data-size='lg'] {\n font-size: 1.5rem;\n line-height: 2rem;\n}\n[data-slot='typography-p'],\n[data-slot='typography-blockquote'],\n[data-slot='typography-list'] {\n font-size: 1rem;\n line-height: 1.75rem;\n}\n[data-slot='typography-p']:not(:first-child) {\n margin-top: 1.5rem;\n}\n[data-slot='typography-lead'] {\n font-size: 1.125rem;\n line-height: 1.75rem;\n color: var(--muted-foreground);\n}\n[data-slot='typography-lead'][data-size='sm'] {\n font-size: 1rem;\n line-height: 1.5rem;\n}\n[data-slot='typography-lead'][data-size='lg'] {\n font-size: 1.25rem;\n line-height: 1.75rem;\n}\n[data-slot='typography-large'] {\n font-size: 1.125rem;\n font-weight: 600;\n line-height: 1.75rem;\n}\n[data-slot='typography-small'] {\n font-size: 0.875rem;\n font-weight: 500;\n line-height: 1;\n}\n[data-slot='typography-muted'] {\n font-size: 0.875rem;\n line-height: 1.25rem;\n color: var(--muted-foreground);\n}\n[data-slot='typography-blockquote'] {\n margin-top: 1.5rem;\n padding-inline-start: 1.5rem;\n border-inline-start: 2px solid var(--border);\n font-style: italic;\n}\n[data-slot='typography-list'] {\n margin-block: 1.5rem;\n padding-inline-start: 1.5rem;\n}\n[data-slot='typography-list'] > li + li {\n margin-top: 0.5rem;\n}\n[data-slot='typography-p'][data-size='sm'] {\n font-size: 0.875rem;\n line-height: 1.5rem;\n}\n[data-slot='typography-p'][data-size='lg'] {\n font-size: 1.125rem;\n line-height: 1.875rem;\n}\n[data-slot='typography-blockquote'][data-size='sm'] {\n font-size: 0.875rem;\n line-height: 1.5rem;\n}\n[data-slot='typography-blockquote'][data-size='lg'] {\n font-size: 1.125rem;\n line-height: 1.875rem;\n}\n[data-slot='typography-list'][data-size='sm'] {\n font-size: 0.875rem;\n line-height: 1.5rem;\n}\n[data-slot='typography-list'][data-size='lg'] {\n font-size: 1.125rem;\n line-height: 1.875rem;\n}\n[data-slot='typography-inline-code'] {\n padding: 0.2rem 0.3rem;\n border-radius: var(--radius-sm);\n background: var(--muted);\n font-family: var(--font-mono);\n font-size: 0.875rem;\n font-weight: 600;\n}\n[data-slot='typography-inline-code'][data-size='sm'] {\n font-size: 0.75rem;\n}\n[data-slot='typography-inline-code'][data-size='lg'] {\n font-size: 1rem;\n}\n[data-slot='typography-a'] {\n color: var(--primary);\n font-size: 1rem;\n font-weight: 500;\n line-height: 1.5rem;\n text-decoration: underline;\n text-underline-offset: 4px;\n}\n/* Vega's text-primary falls below 4.5:1 in dark mode with most theme colors; there a lighter step of the primary keeps 4.5:1. Browsers without relative colors keep the primary. */\n@supports (color: oklch(from red l c h)) {\n :where(.dark) [data-slot='typography-a'] {\n color: oklch(from var(--primary) max(l, 0.7) calc(c * 1.2) h);\n }\n}\n[data-slot='typography-a'][data-size='sm'] {\n font-size: 0.875rem;\n line-height: 1.25rem;\n}\n[data-slot='typography-a'][data-size='lg'] {\n font-size: 1.125rem;\n line-height: 1.75rem;\n}\n[data-slot='typography-a']:hover {\n text-decoration-thickness: 2px;\n}\n\n/* A table in running text, as Fulldev UI's typography table: framed, with striped rows. */\n[data-slot='typography-table-container'] {\n width: 100%;\n margin-block: 1.5rem;\n overflow-x: auto;\n border: 1px solid var(--border);\n border-radius: var(--radius-xl);\n}\n[data-slot='typography-table'] {\n width: 100%;\n border-collapse: collapse;\n font-size: 1rem;\n line-height: 1.5rem;\n}\n[data-slot='typography-table'][data-size='sm'] {\n font-size: 0.875rem;\n line-height: 1.25rem;\n}\n[data-slot='typography-table'][data-size='lg'] {\n font-size: 1.125rem;\n line-height: 1.75rem;\n}\n[data-slot='typography-table-row']:nth-child(even) {\n background: var(--muted);\n}\n[data-slot='typography-table-head'],\n[data-slot='typography-table-cell'] {\n padding: 0.75rem 1rem;\n text-align: start;\n}\n[data-slot='typography-table-head'] {\n border-bottom: 1px solid var(--border);\n font-weight: 600;\n}\n[data-slot='typography-table-cell'] {\n border-top: 1px solid var(--border);\n}\n:is([data-slot='typography-table-head'], [data-slot='typography-table-cell'])[align='left'] {\n text-align: left;\n}\n:is([data-slot='typography-table-head'], [data-slot='typography-table-cell'])[align='center'] {\n text-align: center;\n}\n:is([data-slot='typography-table-head'], [data-slot='typography-table-cell'])[align='right'] {\n text-align: right;\n}\n\n.check-list {\n display: flex;\n flex-direction: column;\n gap: 12px;\n margin: 0;\n padding: 0;\n list-style: none;\n font-size: 0.875rem;\n}\n.check-list > li {\n display: flex;\n align-items: flex-start;\n gap: 12px;\n}\n.check-list .icon {\n width: 16px;\n height: 16px;\n margin-top: 2px;\n color: var(--primary);\n}\n",
19
19
  "type": "registry:file",
20
20
  "target": "~/assets/ui-typography.css"
21
21
  }
@@ -10,7 +10,7 @@
10
10
  "files": [
11
11
  {
12
12
  "path": "src/components/ui/typography.tsx",
13
- "content": "import * as React from \"react\"\nimport { mergeProps } from \"@base-ui/react/merge-props\"\nimport { useRender } from \"@base-ui/react/use-render\"\nimport { cn } from \"cn\"\n\nimport \"./typeset.css\"\n\ntype TypographySize = \"sm\" | \"default\" | \"lg\"\n\nconst sizes = (sm: string, md: string, lg: string) => ({\n sm,\n default: md,\n lg,\n})\n\nfunction Typography({\n className,\n size = \"default\",\n render,\n ...props\n}: useRender.ComponentProps<\"div\"> & { size?: TypographySize }) {\n return useRender({\n defaultTagName: \"div\",\n props: mergeProps<\"div\">(\n {\n className: cn(\n \"typeset\",\n sizes(\n \"[--typeset-flow:1.125em] [--typeset-leading:1.7] [--typeset-size:0.875rem]\",\n \"[--typeset-flow:1.25em] [--typeset-leading:1.75] [--typeset-size:1rem]\",\n \"[--typeset-flow:1.5em] [--typeset-leading:1.8] [--typeset-size:1.125rem]\"\n )[size],\n className\n ),\n },\n props\n ),\n render,\n state: {\n slot: \"typography\",\n size,\n },\n })\n}\n\nconst typographyH1Sizes = sizes(\"text-3xl\", \"text-4xl\", \"text-5xl\")\n\nfunction TypographyH1({\n className,\n size = \"default\",\n ...props\n}: React.ComponentProps<\"h1\"> & { size?: TypographySize }) {\n return (\n <h1\n data-slot=\"typography-h1\"\n data-size={size}\n className={cn(\n \"font-medium tracking-tight scroll-m-20 font-heading text-balance\",\n typographyH1Sizes[size],\n className\n )}\n {...props}\n />\n )\n}\n\nconst typographyH2Sizes = sizes(\"text-2xl\", \"text-3xl\", \"text-4xl\")\n\nfunction TypographyH2({\n className,\n size = \"default\",\n ...props\n}: React.ComponentProps<\"h2\"> & { size?: TypographySize }) {\n return (\n <h2\n data-slot=\"typography-h2\"\n data-size={size}\n className={cn(\n \"font-medium tracking-tight scroll-m-20 font-heading first:mt-0\",\n typographyH2Sizes[size],\n className\n )}\n {...props}\n />\n )\n}\n\nconst typographyH3Sizes = sizes(\"text-xl\", \"text-2xl\", \"text-3xl\")\n\nfunction TypographyH3({\n className,\n size = \"default\",\n ...props\n}: React.ComponentProps<\"h3\"> & { size?: TypographySize }) {\n return (\n <h3\n data-slot=\"typography-h3\"\n data-size={size}\n className={cn(\n \"font-medium tracking-tight scroll-m-20 font-heading\",\n typographyH3Sizes[size],\n className\n )}\n {...props}\n />\n )\n}\n\nconst typographyH4Sizes = sizes(\"text-lg\", \"text-xl\", \"text-2xl\")\n\nfunction TypographyH4({\n className,\n size = \"default\",\n ...props\n}: React.ComponentProps<\"h4\"> & { size?: TypographySize }) {\n return (\n <h4\n data-slot=\"typography-h4\"\n data-size={size}\n className={cn(\n \"font-medium tracking-tight scroll-m-20 font-heading\",\n typographyH4Sizes[size],\n className\n )}\n {...props}\n />\n )\n}\n\nconst typographyPSizes = sizes(\"text-sm\", \"text-base\", \"text-lg\")\n\nfunction TypographyP({\n className,\n size = \"default\",\n ...props\n}: React.ComponentProps<\"p\"> & { size?: TypographySize }) {\n return (\n <p\n data-slot=\"typography-p\"\n data-size={size}\n className={cn(\n \"leading-7 [&:not(:first-child)]:mt-6\",\n typographyPSizes[size],\n className\n )}\n {...props}\n />\n )\n}\n\nconst typographyLeadSizes = sizes(\"text-base\", \"text-lg\", \"text-xl\")\n\nfunction TypographyLead({\n className,\n size = \"default\",\n ...props\n}: React.ComponentProps<\"p\"> & { size?: TypographySize }) {\n return (\n <p\n data-slot=\"typography-lead\"\n data-size={size}\n className={cn(\n \"text-muted-foreground\",\n typographyLeadSizes[size],\n className\n )}\n {...props}\n />\n )\n}\n\nconst typographyASizes = sizes(\"text-sm\", \"text-base\", \"text-lg\")\n\nfunction TypographyA({\n className,\n size = \"default\",\n ...props\n}: React.ComponentProps<\"a\"> & { size?: TypographySize }) {\n return (\n <a\n data-slot=\"typography-a\"\n data-size={size}\n className={cn(\n \"font-medium text-primary underline underline-offset-4\",\n typographyASizes[size],\n className\n )}\n {...props}\n />\n )\n}\n\nconst typographyBlockquoteSizes = sizes(\"text-sm\", \"text-base\", \"text-lg\")\n\nfunction TypographyBlockquote({\n className,\n size = \"default\",\n ...props\n}: React.ComponentProps<\"blockquote\"> & { size?: TypographySize }) {\n return (\n <blockquote\n data-slot=\"typography-blockquote\"\n data-size={size}\n className={cn(\n \"mt-6 border-s-2 ps-6 italic\",\n typographyBlockquoteSizes[size],\n className\n )}\n {...props}\n />\n )\n}\n\nconst typographyInlineCodeSizes = sizes(\"text-xs\", \"text-sm\", \"text-base\")\n\nfunction TypographyInlineCode({\n className,\n size = \"default\",\n ...props\n}: React.ComponentProps<\"code\"> & { size?: TypographySize }) {\n return (\n <code\n data-slot=\"typography-inline-code\"\n data-size={size}\n className={cn(\n \"rounded-md bg-muted font-mono font-semibold relative px-[0.3rem] py-[0.2rem]\",\n typographyInlineCodeSizes[size],\n className\n )}\n {...props}\n />\n )\n}\n\nconst typographyListItemSizes = sizes(\"text-sm\", \"text-base\", \"text-lg\")\n\nfunction TypographyListItem({\n className,\n size = \"default\",\n ...props\n}: React.ComponentProps<\"li\"> & { size?: TypographySize }) {\n return (\n <li\n data-slot=\"typography-list-item\"\n data-size={size}\n className={cn(\"mt-2\", typographyListItemSizes[size], className)}\n {...props}\n />\n )\n}\n\nconst typographyTableRowSizes = sizes(\"text-sm\", \"text-base\", \"text-lg\")\n\nfunction TypographyTableRow({\n className,\n size = \"default\",\n ...props\n}: React.ComponentProps<\"tr\"> & { size?: TypographySize }) {\n return (\n <tr\n data-slot=\"typography-table-row\"\n data-size={size}\n className={cn(\n \"m-0 border-t p-0 even:bg-muted\",\n typographyTableRowSizes[size],\n className\n )}\n {...props}\n />\n )\n}\n\nconst typographyTableHeadSizes = sizes(\"text-sm\", \"text-base\", \"text-lg\")\n\nfunction TypographyTableHead({\n className,\n size = \"default\",\n ...props\n}: React.ComponentProps<\"th\"> & { size?: TypographySize }) {\n return (\n <th\n data-slot=\"typography-table-head\"\n data-size={size}\n className={cn(\n \"border-b border-border px-4 py-3 text-start font-semibold [&[align=center]]:text-center [&[align=left]]:text-left [&[align=right]]:text-right\",\n typographyTableHeadSizes[size],\n className\n )}\n {...props}\n />\n )\n}\n\nconst typographyTableCellSizes = sizes(\"text-sm\", \"text-base\", \"text-lg\")\n\nfunction TypographyTableCell({\n className,\n size = \"default\",\n ...props\n}: React.ComponentProps<\"td\"> & { size?: TypographySize }) {\n return (\n <td\n data-slot=\"typography-table-cell\"\n data-size={size}\n className={cn(\n \"border-t border-border px-4 py-3 text-start align-middle [&[align=center]]:text-center [&[align=left]]:text-left [&[align=right]]:text-right\",\n typographyTableCellSizes[size],\n className\n )}\n {...props}\n />\n )\n}\n\nconst typographyListSizes = sizes(\"text-sm\", \"text-base\", \"text-lg\")\n\n// The list type changes its markers, so it is a prop instead of a render.\nfunction TypographyList({\n className,\n as = \"ul\",\n size = \"default\",\n ...props\n}: React.ComponentProps<\"ol\"> & {\n as?: \"ul\" | \"ol\"\n size?: TypographySize\n}) {\n // A <ul> takes the attributes of an <ol> except start and reversed.\n const Tag = as as \"ol\"\n return (\n <Tag\n data-slot=\"typography-list\"\n data-size={size}\n data-ordered={as === \"ol\" ? \"\" : undefined}\n className={cn(\n \"my-6 ms-6\",\n as === \"ol\" ? \"list-decimal\" : \"list-disc\",\n typographyListSizes[size],\n className\n )}\n {...props}\n />\n )\n}\n\nconst typographyTableSizes = sizes(\"text-sm\", \"text-base\", \"text-lg\")\n\nfunction TypographyTable({\n className,\n containerClassName,\n size = \"default\",\n ...props\n}: React.ComponentProps<\"table\"> & {\n containerClassName?: string\n size?: TypographySize\n}) {\n return (\n <div\n data-slot=\"typography-table-container\"\n data-size={size}\n className={cn(\n \"rounded-2xl border border-border my-6 w-full overflow-x-auto\",\n containerClassName\n )}\n >\n <table\n data-slot=\"typography-table\"\n data-size={size}\n className={cn(\n \"w-full border-collapse\",\n typographyTableSizes[size],\n className\n )}\n {...props}\n />\n </div>\n )\n}\n\nexport {\n Typography,\n TypographyA,\n TypographyBlockquote,\n TypographyH1,\n TypographyH2,\n TypographyH3,\n TypographyH4,\n TypographyInlineCode,\n TypographyLead,\n TypographyList,\n TypographyListItem,\n TypographyP,\n TypographyTable,\n TypographyTableCell,\n TypographyTableHead,\n TypographyTableRow,\n}\n",
13
+ "content": "import * as React from \"react\"\nimport { mergeProps } from \"@base-ui/react/merge-props\"\nimport { useRender } from \"@base-ui/react/use-render\"\nimport { cn } from \"cn\"\n\nimport \"./typeset.css\"\n\ntype TypographySize = \"sm\" | \"default\" | \"lg\"\n\nconst sizes = (sm: string, md: string, lg: string) => ({\n sm,\n default: md,\n lg,\n})\n\nfunction Typography({\n className,\n size = \"default\",\n render,\n ...props\n}: useRender.ComponentProps<\"div\"> & { size?: TypographySize }) {\n return useRender({\n defaultTagName: \"div\",\n props: mergeProps<\"div\">(\n {\n className: cn(\n \"typeset\",\n sizes(\n \"[--typeset-flow:1.125em] [--typeset-leading:1.7] [--typeset-size:0.875rem]\",\n \"[--typeset-flow:1.25em] [--typeset-leading:1.75] [--typeset-size:1rem]\",\n \"[--typeset-flow:1.5em] [--typeset-leading:1.8] [--typeset-size:1.125rem]\"\n )[size],\n className\n ),\n },\n props\n ),\n render,\n state: {\n slot: \"typography\",\n size,\n },\n })\n}\n\nconst typographyH1Sizes = sizes(\"text-3xl\", \"text-4xl\", \"text-5xl\")\n\nfunction TypographyH1({\n className,\n size = \"default\",\n ...props\n}: React.ComponentProps<\"h1\"> & { size?: TypographySize }) {\n return (\n <h1\n data-slot=\"typography-h1\"\n data-size={size}\n className={cn(\n \"font-medium tracking-tight scroll-m-20 font-heading text-balance\",\n typographyH1Sizes[size],\n className\n )}\n {...props}\n />\n )\n}\n\nconst typographyH2Sizes = sizes(\"text-2xl\", \"text-3xl\", \"text-4xl\")\n\nfunction TypographyH2({\n className,\n size = \"default\",\n ...props\n}: React.ComponentProps<\"h2\"> & { size?: TypographySize }) {\n return (\n <h2\n data-slot=\"typography-h2\"\n data-size={size}\n className={cn(\n \"font-medium tracking-tight scroll-m-20 font-heading first:mt-0\",\n typographyH2Sizes[size],\n className\n )}\n {...props}\n />\n )\n}\n\nconst typographyH3Sizes = sizes(\"text-xl\", \"text-2xl\", \"text-3xl\")\n\nfunction TypographyH3({\n className,\n size = \"default\",\n ...props\n}: React.ComponentProps<\"h3\"> & { size?: TypographySize }) {\n return (\n <h3\n data-slot=\"typography-h3\"\n data-size={size}\n className={cn(\n \"font-medium tracking-tight scroll-m-20 font-heading\",\n typographyH3Sizes[size],\n className\n )}\n {...props}\n />\n )\n}\n\nconst typographyH4Sizes = sizes(\"text-lg\", \"text-xl\", \"text-2xl\")\n\nfunction TypographyH4({\n className,\n size = \"default\",\n ...props\n}: React.ComponentProps<\"h4\"> & { size?: TypographySize }) {\n return (\n <h4\n data-slot=\"typography-h4\"\n data-size={size}\n className={cn(\n \"font-medium tracking-tight scroll-m-20 font-heading\",\n typographyH4Sizes[size],\n className\n )}\n {...props}\n />\n )\n}\n\nconst typographyPSizes = sizes(\"text-sm\", \"text-base\", \"text-lg\")\n\nfunction TypographyP({\n className,\n size = \"default\",\n ...props\n}: React.ComponentProps<\"p\"> & { size?: TypographySize }) {\n return (\n <p\n data-slot=\"typography-p\"\n data-size={size}\n className={cn(\n \"leading-7 [&:not(:first-child)]:mt-6\",\n typographyPSizes[size],\n className\n )}\n {...props}\n />\n )\n}\n\nconst typographyLeadSizes = sizes(\"text-base\", \"text-lg\", \"text-xl\")\n\nfunction TypographyLead({\n className,\n size = \"default\",\n ...props\n}: React.ComponentProps<\"p\"> & { size?: TypographySize }) {\n return (\n <p\n data-slot=\"typography-lead\"\n data-size={size}\n className={cn(\n \"text-muted-foreground\",\n typographyLeadSizes[size],\n className\n )}\n {...props}\n />\n )\n}\n\nconst typographyASizes = sizes(\"text-sm\", \"text-base\", \"text-lg\")\n\nfunction TypographyA({\n className,\n size = \"default\",\n ...props\n}: React.ComponentProps<\"a\"> & { size?: TypographySize }) {\n return (\n <a\n data-slot=\"typography-a\"\n data-size={size}\n className={cn(\n // shadcn/ui's typography link uses text-primary, below 4.5:1 in dark\n // mode with most theme colors. There a lighter step of the primary\n // keeps 4.5:1, as in the Astro Button's link variant.\n \"font-medium text-(--fd-link,var(--primary)) underline underline-offset-4 dark:supports-[color:oklch(from_red_l_c_h)]:[--fd-link:oklch(from_var(--primary)_max(l,0.7)_calc(c*1.2)_h)]\",\n typographyASizes[size],\n className\n )}\n {...props}\n />\n )\n}\n\nconst typographyBlockquoteSizes = sizes(\"text-sm\", \"text-base\", \"text-lg\")\n\nfunction TypographyBlockquote({\n className,\n size = \"default\",\n ...props\n}: React.ComponentProps<\"blockquote\"> & { size?: TypographySize }) {\n return (\n <blockquote\n data-slot=\"typography-blockquote\"\n data-size={size}\n className={cn(\n \"mt-6 border-s-2 ps-6 italic\",\n typographyBlockquoteSizes[size],\n className\n )}\n {...props}\n />\n )\n}\n\nconst typographyInlineCodeSizes = sizes(\"text-xs\", \"text-sm\", \"text-base\")\n\nfunction TypographyInlineCode({\n className,\n size = \"default\",\n ...props\n}: React.ComponentProps<\"code\"> & { size?: TypographySize }) {\n return (\n <code\n data-slot=\"typography-inline-code\"\n data-size={size}\n className={cn(\n \"rounded-md bg-muted font-mono font-semibold relative px-[0.3rem] py-[0.2rem]\",\n typographyInlineCodeSizes[size],\n className\n )}\n {...props}\n />\n )\n}\n\nconst typographyListItemSizes = sizes(\"text-sm\", \"text-base\", \"text-lg\")\n\nfunction TypographyListItem({\n className,\n size = \"default\",\n ...props\n}: React.ComponentProps<\"li\"> & { size?: TypographySize }) {\n return (\n <li\n data-slot=\"typography-list-item\"\n data-size={size}\n className={cn(\"mt-2\", typographyListItemSizes[size], className)}\n {...props}\n />\n )\n}\n\nconst typographyTableRowSizes = sizes(\"text-sm\", \"text-base\", \"text-lg\")\n\nfunction TypographyTableRow({\n className,\n size = \"default\",\n ...props\n}: React.ComponentProps<\"tr\"> & { size?: TypographySize }) {\n return (\n <tr\n data-slot=\"typography-table-row\"\n data-size={size}\n className={cn(\n \"m-0 border-t p-0 even:bg-muted\",\n typographyTableRowSizes[size],\n className\n )}\n {...props}\n />\n )\n}\n\nconst typographyTableHeadSizes = sizes(\"text-sm\", \"text-base\", \"text-lg\")\n\nfunction TypographyTableHead({\n className,\n size = \"default\",\n ...props\n}: React.ComponentProps<\"th\"> & { size?: TypographySize }) {\n return (\n <th\n data-slot=\"typography-table-head\"\n data-size={size}\n className={cn(\n \"border-b border-border px-4 py-3 text-start font-semibold [&[align=center]]:text-center [&[align=left]]:text-left [&[align=right]]:text-right\",\n typographyTableHeadSizes[size],\n className\n )}\n {...props}\n />\n )\n}\n\nconst typographyTableCellSizes = sizes(\"text-sm\", \"text-base\", \"text-lg\")\n\nfunction TypographyTableCell({\n className,\n size = \"default\",\n ...props\n}: React.ComponentProps<\"td\"> & { size?: TypographySize }) {\n return (\n <td\n data-slot=\"typography-table-cell\"\n data-size={size}\n className={cn(\n \"border-t border-border px-4 py-3 text-start align-middle [&[align=center]]:text-center [&[align=left]]:text-left [&[align=right]]:text-right\",\n typographyTableCellSizes[size],\n className\n )}\n {...props}\n />\n )\n}\n\nconst typographyListSizes = sizes(\"text-sm\", \"text-base\", \"text-lg\")\n\n// The list type changes its markers, so it is a prop instead of a render.\nfunction TypographyList({\n className,\n as = \"ul\",\n size = \"default\",\n ...props\n}: React.ComponentProps<\"ol\"> & {\n as?: \"ul\" | \"ol\"\n size?: TypographySize\n}) {\n // A <ul> takes the attributes of an <ol> except start and reversed.\n const Tag = as as \"ol\"\n return (\n <Tag\n data-slot=\"typography-list\"\n data-size={size}\n data-ordered={as === \"ol\" ? \"\" : undefined}\n className={cn(\n \"my-6 ms-6\",\n as === \"ol\" ? \"list-decimal\" : \"list-disc\",\n typographyListSizes[size],\n className\n )}\n {...props}\n />\n )\n}\n\nconst typographyTableSizes = sizes(\"text-sm\", \"text-base\", \"text-lg\")\n\nfunction TypographyTable({\n className,\n containerClassName,\n size = \"default\",\n ...props\n}: React.ComponentProps<\"table\"> & {\n containerClassName?: string\n size?: TypographySize\n}) {\n return (\n <div\n data-slot=\"typography-table-container\"\n data-size={size}\n className={cn(\n \"rounded-2xl border border-border my-6 w-full overflow-x-auto\",\n containerClassName\n )}\n >\n <table\n data-slot=\"typography-table\"\n data-size={size}\n className={cn(\n \"w-full border-collapse\",\n typographyTableSizes[size],\n className\n )}\n {...props}\n />\n </div>\n )\n}\n\nexport {\n Typography,\n TypographyA,\n TypographyBlockquote,\n TypographyH1,\n TypographyH2,\n TypographyH3,\n TypographyH4,\n TypographyInlineCode,\n TypographyLead,\n TypographyList,\n TypographyListItem,\n TypographyP,\n TypographyTable,\n TypographyTableCell,\n TypographyTableHead,\n TypographyTableRow,\n}\n",
14
14
  "type": "registry:ui"
15
15
  },
16
16
  {