@nanisoft/prism-llms 0.3.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +88 -0
- package/THIRD-PARTY-NOTICES.md +48 -0
- package/dist/data.json +3998 -375
- package/dist/demo-graph.d.ts +21 -12
- package/dist/demo-graph.js +37 -21
- package/dist/extractor.d.ts +24 -17
- package/dist/extractor.js +269 -153
- package/dist/index.d.ts +12 -7
- package/dist/index.js +9 -7
- package/dist/llms-full.txt +7988 -1989
- package/dist/llms.txt +97 -91
- package/dist/markdown.d.ts +69 -23
- package/dist/markdown.js +131 -72
- package/dist/md/blocks/app-shell-01.md +135 -0
- package/dist/md/blocks/auth-form-01.md +135 -0
- package/dist/md/blocks/cta-01.md +88 -0
- package/dist/md/blocks/data-table-01.md +196 -0
- package/dist/md/blocks/feature-grid-01.md +92 -0
- package/dist/md/blocks/hero-01.md +90 -0
- package/dist/md/blocks/instrument-panel-01.md +109 -0
- package/dist/md/blocks/logo-strip-01.md +97 -0
- package/dist/md/blocks/note-grid-01.md +102 -0
- package/dist/md/blocks/page-header-01.md +97 -0
- package/dist/md/blocks/pricing-01.md +91 -0
- package/dist/md/blocks/process-rail-01.md +106 -0
- package/dist/md/blocks/product-grid-01.md +113 -0
- package/dist/md/blocks/settings-panel-01.md +148 -0
- package/dist/md/blocks/site-footer.md +111 -0
- package/dist/md/blocks/site-header.md +119 -0
- package/dist/md/blocks/stack-grid-01.md +108 -0
- package/dist/md/blocks/stats-01.md +89 -0
- package/dist/md/blocks/status-ledger-01.md +121 -0
- package/dist/md/changelogs/prism-llms.md +206 -0
- package/dist/md/changelogs/prism-mcp-server.md +88 -0
- package/dist/md/changelogs/prism-tokens.md +126 -0
- package/dist/md/changelogs/prism-ui.md +429 -0
- package/dist/md/components/accordion.md +108 -0
- package/dist/md/components/alert.md +90 -7
- package/dist/md/components/avatar.md +89 -7
- package/dist/md/components/badge.md +74 -7
- package/dist/md/components/breadcrumb.md +84 -7
- package/dist/md/components/button.md +90 -7
- package/dist/md/components/card.md +90 -7
- package/dist/md/components/checkbox.md +101 -7
- package/dist/md/components/cta-link.md +98 -0
- package/dist/md/components/diagram.md +124 -0
- package/dist/md/components/dialog.md +128 -0
- package/dist/md/components/dropdown-menu.md +125 -0
- package/dist/md/components/fact-list.md +85 -0
- package/dist/md/components/field.md +116 -0
- package/dist/md/components/input.md +86 -7
- package/dist/md/components/kbd.md +77 -0
- package/dist/md/components/pagination.md +95 -7
- package/dist/md/components/popover.md +95 -7
- package/dist/md/components/product-mark.md +123 -0
- package/dist/md/components/product-switcher.md +88 -0
- package/dist/md/components/progress.md +88 -7
- package/dist/md/components/prose.md +91 -0
- package/dist/md/components/radio-group.md +111 -0
- package/dist/md/components/section.md +91 -0
- package/dist/md/components/select.md +143 -7
- package/dist/md/components/separator.md +77 -0
- package/dist/md/components/skeleton.md +71 -7
- package/dist/md/components/slider.md +90 -7
- package/dist/md/components/switch.md +104 -7
- package/dist/md/components/table.md +104 -7
- package/dist/md/components/tabs.md +105 -7
- package/dist/md/components/textarea.md +101 -0
- package/dist/md/components/tooltip.md +95 -7
- package/dist/md/components/typography.md +82 -7
- package/dist/md/content/about-content.md +36 -0
- package/dist/md/content/audience.md +43 -0
- package/dist/md/content/glossary.md +69 -0
- package/dist/md/content/product-vocabulary.md +53 -0
- package/dist/md/content/voice.md +52 -0
- package/dist/md/content/writing-mechanics.md +58 -0
- package/dist/md/foundation/colors.md +10 -0
- package/dist/md/foundation/iconography.md +14 -0
- package/dist/md/foundation/motion.md +10 -0
- package/dist/md/foundation/radii.md +9 -0
- package/dist/md/foundation/shadows.md +9 -0
- package/dist/md/foundation/spacings.md +8 -0
- package/dist/md/foundation/typography.md +9 -0
- package/dist/md/foundation/variables.md +9 -0
- package/dist/md/overview/architecture.md +76 -0
- package/dist/md/overview/brand.md +41 -0
- package/dist/md/overview/composition.md +77 -0
- package/dist/md/overview/quickstart.md +97 -0
- package/dist/md/overview/theming.md +89 -0
- package/dist/md/overview/using-llms.md +83 -0
- package/dist/md/pages/auth-page.md +149 -0
- package/dist/md/pages/blog-post-page.md +136 -0
- package/dist/md/pages/dashboard-page.md +241 -0
- package/dist/md/pages/marketing-page.md +199 -0
- package/dist/md/pages/not-found-page.md +105 -0
- package/dist/md/pages/settings-page.md +206 -0
- package/dist/prism-skill.md +50 -0
- package/dist/store.d.ts +203 -0
- package/dist/store.js +317 -0
- package/package.json +29 -26
- package/dist/demo-graph.d.ts.map +0 -1
- package/dist/demo-graph.js.map +0 -1
- package/dist/extractor.d.ts.map +0 -1
- package/dist/extractor.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/markdown.d.ts.map +0 -1
- package/dist/markdown.js.map +0 -1
- package/dist/md/blocks/component-demo.md +0 -19
- package/dist/md/blocks/page-header.md +0 -19
- package/dist/md/components/affix.md +0 -14
- package/dist/md/components/anchor.md +0 -14
- package/dist/md/components/auto-complete.md +0 -14
- package/dist/md/components/back-top.md +0 -14
- package/dist/md/components/border-beam.md +0 -14
- package/dist/md/components/calendar.md +0 -14
- package/dist/md/components/carousel.md +0 -14
- package/dist/md/components/cascader.md +0 -14
- package/dist/md/components/col.md +0 -14
- package/dist/md/components/collapse.md +0 -14
- package/dist/md/components/color-picker.md +0 -14
- package/dist/md/components/date-picker.md +0 -14
- package/dist/md/components/descriptions.md +0 -14
- package/dist/md/components/display-title.md +0 -20
- package/dist/md/components/divider.md +0 -14
- package/dist/md/components/drawer.md +0 -14
- package/dist/md/components/dropdown.md +0 -14
- package/dist/md/components/empty.md +0 -14
- package/dist/md/components/flex.md +0 -14
- package/dist/md/components/float-button.md +0 -14
- package/dist/md/components/form.md +0 -14
- package/dist/md/components/grid.md +0 -14
- package/dist/md/components/image.md +0 -14
- package/dist/md/components/input-number.md +0 -14
- package/dist/md/components/layout.md +0 -14
- package/dist/md/components/list.md +0 -14
- package/dist/md/components/listy.md +0 -14
- package/dist/md/components/masonry.md +0 -14
- package/dist/md/components/mentions.md +0 -14
- package/dist/md/components/menu.md +0 -14
- package/dist/md/components/modal.md +0 -14
- package/dist/md/components/popconfirm.md +0 -14
- package/dist/md/components/qrcode.md +0 -14
- package/dist/md/components/radio.md +0 -14
- package/dist/md/components/rate.md +0 -14
- package/dist/md/components/result.md +0 -14
- package/dist/md/components/row.md +0 -14
- package/dist/md/components/segmented.md +0 -14
- package/dist/md/components/space.md +0 -14
- package/dist/md/components/spin.md +0 -14
- package/dist/md/components/splitter.md +0 -14
- package/dist/md/components/statistic.md +0 -14
- package/dist/md/components/steps.md +0 -14
- package/dist/md/components/tag.md +0 -14
- package/dist/md/components/time-picker.md +0 -14
- package/dist/md/components/timeline.md +0 -14
- package/dist/md/components/tour.md +0 -14
- package/dist/md/components/transfer.md +0 -14
- package/dist/md/components/tree-select.md +0 -14
- package/dist/md/components/tree.md +0 -14
- package/dist/md/components/upload.md +0 -14
- package/dist/md/components/watermark.md +0 -14
- package/dist/md/docs/brand.md +0 -41
- package/dist/md/pages/blog-layout.md +0 -19
- package/dist/md/pages/docs-shell.md +0 -23
- package/dist/md/theme/blue-dark.md +0 -127
- package/dist/md/theme/blue-light.md +0 -129
- package/dist/md/theme/green-dark.md +0 -127
- package/dist/md/theme/green-light.md +0 -129
- package/dist/md/theme/lavender-dark.md +0 -127
- package/dist/md/theme/lavender-light.md +0 -129
- package/dist/md/theme/peach-dark.md +0 -127
- package/dist/md/theme/peach-light.md +0 -129
- package/dist/md/theme/rose-dark.md +0 -127
- package/dist/md/theme/rose-light.md +0 -129
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
# Watermark
|
|
2
|
-
|
|
3
|
-
antd Watermark, unchanged — a pass-through re-export. Import from '@nanisoft/prism-ui'.
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
import { Watermark } from '@nanisoft/prism-ui/components';
|
|
7
|
-
```
|
|
8
|
-
|
|
9
|
-
`Watermark` is antd's [Watermark](https://ant.design/components/watermark), re-exported unchanged.
|
|
10
|
-
|
|
11
|
-
- Extends: antd **Watermark** — for inherited props and demos, use the antd MCP (`antd_info Watermark`).
|
|
12
|
-
- Always import from '@nanisoft/prism-ui', never from `antd` directly.
|
|
13
|
-
|
|
14
|
-
_No additional props beyond the antd base component._
|
package/dist/md/docs/brand.md
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
# Brand policy
|
|
2
|
-
|
|
3
|
-
What the MIT license covers, what it doesn't, and how the Prism and NaniSoft names may be used.
|
|
4
|
-
|
|
5
|
-
The Prism packages are [MIT-licensed](https://github.com/NaniSoft/prism) — the
|
|
6
|
-
code is yours to use, study, modify, and redistribute, including
|
|
7
|
-
commercially. Attribution and third-party notices live in the repository's
|
|
8
|
-
`THIRD-PARTY-NOTICES.md`.
|
|
9
|
-
|
|
10
|
-
A code license grants rights in the code. It does not grant rights in the
|
|
11
|
-
brand, and this page — not the license — is where the brand rules live.
|
|
12
|
-
|
|
13
|
-
## What is ours
|
|
14
|
-
|
|
15
|
-
The names **Prism** and **NaniSoft**, the Prism wordmark, the Spectral
|
|
16
|
-
Refraction visual language, and the brand packs (including their names —
|
|
17
|
-
blue, green, lavender, rose, and peach) identify Prism as built by NaniSoft.
|
|
18
|
-
|
|
19
|
-
## What you may do
|
|
20
|
-
|
|
21
|
-
- Say, accurately, that your product is *built with* Prism, and link here.
|
|
22
|
-
- Fork, modify, and redistribute the code under MIT — including shipping your
|
|
23
|
-
own theme packs — as long as you don't present the result as Prism, or as
|
|
24
|
-
originating from or endorsed by NaniSoft.
|
|
25
|
-
- Reference "Prism" in prose, talks, and comparisons to identify the project,
|
|
26
|
-
the way any trademark is used to name the thing it names.
|
|
27
|
-
|
|
28
|
-
## What you may not do
|
|
29
|
-
|
|
30
|
-
- Distribute a modified or repackaged version under the Prism or NaniSoft
|
|
31
|
-
names, or with the Prism wordmark.
|
|
32
|
-
- Use the names or wordmark as your product, domain, or package name, or in
|
|
33
|
-
a way that implies NaniSoft endorsement or certification.
|
|
34
|
-
|
|
35
|
-
## Status
|
|
36
|
-
|
|
37
|
-
We haven't registered these marks; they're protected by the license's
|
|
38
|
-
honesty and by common-law rights. If you're unsure whether a use is fine,
|
|
39
|
-
ask before you ship — and if you spot a use of the brand that looks off,
|
|
40
|
-
tell us. Third-party theme packs demonstrating `createPrismTheme()` are
|
|
41
|
-
welcome and encouraged; they just need their own names.
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
# BlogLayout
|
|
2
|
-
|
|
3
|
-
Prism page — full documentation pending.
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
import { BlogLayout } from '@nanisoft/prism-ui/pages';
|
|
7
|
-
```
|
|
8
|
-
|
|
9
|
-
`BlogLayout` is a Prism page. Full documentation is pending — the prism MCP answers API questions in the meantime (`get_item_props`, `get_item_source`).
|
|
10
|
-
|
|
11
|
-
## Props
|
|
12
|
-
|
|
13
|
-
| Prop | Type | Default | Description |
|
|
14
|
-
| --- | --- | --- | --- |
|
|
15
|
-
| `children` | ReactNode | — | The post body, or the post list on index pages — the app decides. |
|
|
16
|
-
| `frontmatter` (optional) | BlogFrontmatter | — | — |
|
|
17
|
-
| `header` (optional) | ReactNode | — | Slot overrides for chrome. |
|
|
18
|
-
| `footer` (optional) | ReactNode | — | — |
|
|
19
|
-
| `className` (optional) | string | — | — |
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# DocsShell
|
|
2
|
-
|
|
3
|
-
Prism page — full documentation pending.
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
import { DocsShell } from '@nanisoft/prism-ui/pages';
|
|
7
|
-
```
|
|
8
|
-
|
|
9
|
-
`DocsShell` is a Prism page. Full documentation is pending — the prism MCP answers API questions in the meantime (`get_item_props`, `get_item_source`).
|
|
10
|
-
|
|
11
|
-
## Props
|
|
12
|
-
|
|
13
|
-
| Prop | Type | Default | Description |
|
|
14
|
-
| --- | --- | --- | --- |
|
|
15
|
-
| `children` | ReactNode | — | The article body (the app renders fumadocs MDX content into it). |
|
|
16
|
-
| `title` (optional) | string | — | Page title; omitted for index-style pages that own their heading. |
|
|
17
|
-
| `description` (optional) | string | — | — |
|
|
18
|
-
| `nav` (optional) | DocsNavEntry[] | — | Sidebar navigation tree. |
|
|
19
|
-
| `toc` (optional) | DocsNavEntry[] | — | Table-of-contents entries for the current page. |
|
|
20
|
-
| `neighbours` (optional) | { previous?: { title: string; url: string; }; next?: { title: string; url: string; }; } | — | Prev/next neighbours at the boundary. |
|
|
21
|
-
| `header` (optional) | ReactNode | — | Slot overrides for chrome — the app's header/footer. |
|
|
22
|
-
| `footer` (optional) | ReactNode | — | — |
|
|
23
|
-
| `className` (optional) | string | — | — |
|
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
# Theming — Blue pack · beam-dark mode
|
|
2
|
-
|
|
3
|
-
> `createPrismTheme({ pack: 'blue', mode: 'dark' })` returns one frozen `PrismTheme`; cssVar key `prism-blue-dark`. antd derives everything not listed through its dark algorithm.
|
|
4
|
-
|
|
5
|
-
## Usage
|
|
6
|
-
|
|
7
|
-
```ts
|
|
8
|
-
import { createPrismTheme } from '@nanisoft/prism-tokens';
|
|
9
|
-
import { PrismProvider } from '@nanisoft/prism-ui';
|
|
10
|
-
|
|
11
|
-
const theme = createPrismTheme({ pack: 'blue', mode: 'dark' });
|
|
12
|
-
|
|
13
|
-
// <PrismProvider prismTheme={theme}>…</PrismProvider>
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Tier 0 — primitives
|
|
17
|
-
|
|
18
|
-
| Token | Value |
|
|
19
|
-
| --- | --- |
|
|
20
|
-
| `colorError` | #DC2626 |
|
|
21
|
-
| `colorGround` | #0D1730 |
|
|
22
|
-
| `colorHairline` | rgba(158, 191, 255, 0.18) |
|
|
23
|
-
| `colorInfo` | #2563EB |
|
|
24
|
-
| `colorInk` | #4C8DF6 |
|
|
25
|
-
| `colorSuccess` | #16A34A |
|
|
26
|
-
| `colorText` | #E8EEF9 |
|
|
27
|
-
| `colorWarning` | #D97706 |
|
|
28
|
-
| `elevationFloating` | 0 4px 16px 0 rgba(11, 18, 32, 0.24) |
|
|
29
|
-
| `motionCurveOpacity` | linear |
|
|
30
|
-
| `motionCurveStandard` | cubic-bezier(0.25, 1, 0.5, 1) |
|
|
31
|
-
| `motionDurationFast` | 80ms |
|
|
32
|
-
| `motionDurationMid` | 160ms |
|
|
33
|
-
| `motionDurationSlow` | 280ms |
|
|
34
|
-
| `shapeRadiusBase` | 4 |
|
|
35
|
-
| `shapeRadiusLg` | 6 |
|
|
36
|
-
| `shapeRadiusOuter` | 4 |
|
|
37
|
-
| `shapeRadiusSm` | 2 |
|
|
38
|
-
| `spaceStep` | 4 |
|
|
39
|
-
| `spaceUnit` | 4 |
|
|
40
|
-
| `typeFamilyMono` | "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace |
|
|
41
|
-
| `typeFamilyUi` | "Archivo Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif |
|
|
42
|
-
| `typeSizeUi` | 14 |
|
|
43
|
-
| `typeWeightStrong` | 600 |
|
|
44
|
-
|
|
45
|
-
## Tier 1 — semantics
|
|
46
|
-
|
|
47
|
-
| Token | Value |
|
|
48
|
-
| --- | --- |
|
|
49
|
-
| `accentLive` | rgba(76, 141, 246, 0.2) |
|
|
50
|
-
| `elevationFloating` | 0 4px 16px 0 rgba(11, 18, 32, 0.24) |
|
|
51
|
-
| `elevationNone` | none |
|
|
52
|
-
| `focusRing` | rgba(76, 141, 246, 0.55) |
|
|
53
|
-
| `hairlineFaint` | rgba(76, 141, 246, 0.1) |
|
|
54
|
-
| `hairlineStrong` | rgba(158, 191, 255, 0.18) |
|
|
55
|
-
| `inkPrimary` | #4C8DF6 |
|
|
56
|
-
| `motionCurveOpacity` | linear |
|
|
57
|
-
| `motionCurveStandard` | cubic-bezier(0.25, 1, 0.5, 1) |
|
|
58
|
-
| `motionDurationFast` | 80ms |
|
|
59
|
-
| `motionDurationMid` | 160ms |
|
|
60
|
-
| `motionDurationSlow` | 280ms |
|
|
61
|
-
| `shapeRadiusBase` | 4 |
|
|
62
|
-
| `shapeRadiusLg` | 6 |
|
|
63
|
-
| `shapeRadiusOuter` | 4 |
|
|
64
|
-
| `shapeRadiusSm` | 2 |
|
|
65
|
-
| `spaceStep` | 4 |
|
|
66
|
-
| `spaceUnit` | 4 |
|
|
67
|
-
| `stateError` | #DC2626 |
|
|
68
|
-
| `stateInfo` | #2563EB |
|
|
69
|
-
| `stateSuccess` | #16A34A |
|
|
70
|
-
| `stateWarning` | #D97706 |
|
|
71
|
-
| `surfaceContainer` | #0D1730 |
|
|
72
|
-
| `surfaceGround` | #0D1730 |
|
|
73
|
-
| `surfaceScrim` | rgba(4, 10, 20, 0.72) |
|
|
74
|
-
| `textFaint` | rgba(232, 238, 249, 0.3) |
|
|
75
|
-
| `textOnInk` | #0B1220 |
|
|
76
|
-
| `textPrimary` | #E8EEF9 |
|
|
77
|
-
| `textSecondary` | rgba(232, 238, 249, 0.68) |
|
|
78
|
-
| `textTertiary` | rgba(232, 238, 249, 0.45) |
|
|
79
|
-
| `typeFamily` | "Archivo Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif |
|
|
80
|
-
| `typeFamilyCode` | "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace |
|
|
81
|
-
| `typeSize` | 14 |
|
|
82
|
-
| `typeWeight` | 600 |
|
|
83
|
-
|
|
84
|
-
## antd token lane (seeds + the closed map-token allowlist)
|
|
85
|
-
|
|
86
|
-
| Token | Value |
|
|
87
|
-
| --- | --- |
|
|
88
|
-
| `borderRadius` | 4 |
|
|
89
|
-
| `borderRadiusLG` | 6 |
|
|
90
|
-
| `borderRadiusSM` | 2 |
|
|
91
|
-
| `boxShadow` | 0 4px 16px 0 rgba(11, 18, 32, 0.24) |
|
|
92
|
-
| `boxShadowSecondary` | none |
|
|
93
|
-
| `boxShadowTertiary` | none |
|
|
94
|
-
| `colorBgBase` | #0D1730 |
|
|
95
|
-
| `colorBgMask` | rgba(4, 10, 20, 0.72) |
|
|
96
|
-
| `colorBgTextActive` | rgba(76, 141, 246, 0.2) |
|
|
97
|
-
| `colorBorder` | rgba(158, 191, 255, 0.18) |
|
|
98
|
-
| `colorBorderSecondary` | rgba(76, 141, 246, 0.1) |
|
|
99
|
-
| `colorError` | #DC2626 |
|
|
100
|
-
| `colorInfo` | #2563EB |
|
|
101
|
-
| `colorLink` | #4C8DF6 |
|
|
102
|
-
| `colorPrimary` | #4C8DF6 |
|
|
103
|
-
| `colorPrimaryTextActive` | #4C8DF6 |
|
|
104
|
-
| `colorSplit` | rgba(76, 141, 246, 0.1) |
|
|
105
|
-
| `colorSuccess` | #16A34A |
|
|
106
|
-
| `colorTextBase` | #E8EEF9 |
|
|
107
|
-
| `colorTextPlaceholder` | rgba(232, 238, 249, 0.45) |
|
|
108
|
-
| `colorWarning` | #D97706 |
|
|
109
|
-
| `controlItemBgActive` | rgba(76, 141, 246, 0.2) |
|
|
110
|
-
| `controlItemBgActiveHover` | rgba(76, 141, 246, 0.2) |
|
|
111
|
-
| `controlOutline` | rgba(76, 141, 246, 0.55) |
|
|
112
|
-
| `fontFamily` | "Archivo Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif |
|
|
113
|
-
| `fontFamilyCode` | "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace |
|
|
114
|
-
| `fontSize` | 14 |
|
|
115
|
-
| `fontWeightStrong` | 600 |
|
|
116
|
-
| `lineWidth` | 1 |
|
|
117
|
-
| `motionBase` | 0 |
|
|
118
|
-
| `motionDurationSlow` | 280ms |
|
|
119
|
-
| `motionEaseInOut` | cubic-bezier(0.25, 1, 0.5, 1) |
|
|
120
|
-
| `motionEaseOut` | cubic-bezier(0.25, 1, 0.5, 1) |
|
|
121
|
-
| `motionEaseOutCirc` | cubic-bezier(0.25, 1, 0.5, 1) |
|
|
122
|
-
| `motionEaseOutQuint` | cubic-bezier(0.25, 1, 0.5, 1) |
|
|
123
|
-
| `motionUnit` | 0.08 |
|
|
124
|
-
| `sizeStep` | 4 |
|
|
125
|
-
| `sizeUnit` | 4 |
|
|
126
|
-
|
|
127
|
-
Component overrides are shadow-zeroing only (Button/Input shadows → `none`, always with `algorithm: true`).
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
# Theming — Blue pack · light mode
|
|
2
|
-
|
|
3
|
-
> `createPrismTheme({ pack: 'blue', mode: 'light' })` returns one frozen `PrismTheme`; cssVar key `prism-blue-light`. antd derives everything not listed through its default algorithm.
|
|
4
|
-
|
|
5
|
-
## Usage
|
|
6
|
-
|
|
7
|
-
```ts
|
|
8
|
-
import { createPrismTheme } from '@nanisoft/prism-tokens';
|
|
9
|
-
import { PrismProvider } from '@nanisoft/prism-ui';
|
|
10
|
-
|
|
11
|
-
const theme = createPrismTheme({ pack: 'blue', mode: 'light' });
|
|
12
|
-
|
|
13
|
-
// <PrismProvider prismTheme={theme}>…</PrismProvider>
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Tier 0 — primitives
|
|
17
|
-
|
|
18
|
-
| Token | Value |
|
|
19
|
-
| --- | --- |
|
|
20
|
-
| `colorError` | #DC2626 |
|
|
21
|
-
| `colorGround` | #EEF3FC |
|
|
22
|
-
| `colorHairline` | rgba(30, 64, 158, 0.10) |
|
|
23
|
-
| `colorInfo` | #2563EB |
|
|
24
|
-
| `colorInk` | #2563EB |
|
|
25
|
-
| `colorSuccess` | #16A34A |
|
|
26
|
-
| `colorSurface` | #FFFFFF |
|
|
27
|
-
| `colorText` | #1A2A4A |
|
|
28
|
-
| `colorWarning` | #D97706 |
|
|
29
|
-
| `elevationFloating` | 0 4px 16px 0 rgba(11, 18, 32, 0.16) |
|
|
30
|
-
| `motionCurveOpacity` | linear |
|
|
31
|
-
| `motionCurveStandard` | cubic-bezier(0.25, 1, 0.5, 1) |
|
|
32
|
-
| `motionDurationFast` | 80ms |
|
|
33
|
-
| `motionDurationMid` | 160ms |
|
|
34
|
-
| `motionDurationSlow` | 280ms |
|
|
35
|
-
| `shapeRadiusBase` | 4 |
|
|
36
|
-
| `shapeRadiusLg` | 6 |
|
|
37
|
-
| `shapeRadiusOuter` | 4 |
|
|
38
|
-
| `shapeRadiusSm` | 2 |
|
|
39
|
-
| `spaceStep` | 4 |
|
|
40
|
-
| `spaceUnit` | 4 |
|
|
41
|
-
| `typeFamilyMono` | "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace |
|
|
42
|
-
| `typeFamilyUi` | "Archivo Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif |
|
|
43
|
-
| `typeSizeUi` | 14 |
|
|
44
|
-
| `typeWeightStrong` | 600 |
|
|
45
|
-
|
|
46
|
-
## Tier 1 — semantics
|
|
47
|
-
|
|
48
|
-
| Token | Value |
|
|
49
|
-
| --- | --- |
|
|
50
|
-
| `accentLive` | rgba(37, 99, 235, 0.1) |
|
|
51
|
-
| `elevationFloating` | 0 4px 16px 0 rgba(11, 18, 32, 0.16) |
|
|
52
|
-
| `elevationNone` | none |
|
|
53
|
-
| `focusRing` | rgba(37, 99, 235, 0.35) |
|
|
54
|
-
| `hairlineFaint` | rgba(37, 99, 235, 0.06) |
|
|
55
|
-
| `hairlineStrong` | rgba(30, 64, 158, 0.10) |
|
|
56
|
-
| `inkPrimary` | #2563EB |
|
|
57
|
-
| `motionCurveOpacity` | linear |
|
|
58
|
-
| `motionCurveStandard` | cubic-bezier(0.25, 1, 0.5, 1) |
|
|
59
|
-
| `motionDurationFast` | 80ms |
|
|
60
|
-
| `motionDurationMid` | 160ms |
|
|
61
|
-
| `motionDurationSlow` | 280ms |
|
|
62
|
-
| `shapeRadiusBase` | 4 |
|
|
63
|
-
| `shapeRadiusLg` | 6 |
|
|
64
|
-
| `shapeRadiusOuter` | 4 |
|
|
65
|
-
| `shapeRadiusSm` | 2 |
|
|
66
|
-
| `spaceStep` | 4 |
|
|
67
|
-
| `spaceUnit` | 4 |
|
|
68
|
-
| `stateError` | #DC2626 |
|
|
69
|
-
| `stateInfo` | #2563EB |
|
|
70
|
-
| `stateSuccess` | #16A34A |
|
|
71
|
-
| `stateWarning` | #D97706 |
|
|
72
|
-
| `surfaceContainer` | #FFFFFF |
|
|
73
|
-
| `surfaceGround` | #EEF3FC |
|
|
74
|
-
| `surfaceScrim` | rgba(15, 23, 42, 0.32) |
|
|
75
|
-
| `textFaint` | rgba(26, 42, 74, 0.3) |
|
|
76
|
-
| `textOnInk` | #FFFFFF |
|
|
77
|
-
| `textPrimary` | #1A2A4A |
|
|
78
|
-
| `textSecondary` | rgba(26, 42, 74, 0.68) |
|
|
79
|
-
| `textTertiary` | rgba(26, 42, 74, 0.45) |
|
|
80
|
-
| `typeFamily` | "Archivo Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif |
|
|
81
|
-
| `typeFamilyCode` | "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace |
|
|
82
|
-
| `typeSize` | 14 |
|
|
83
|
-
| `typeWeight` | 600 |
|
|
84
|
-
|
|
85
|
-
## antd token lane (seeds + the closed map-token allowlist)
|
|
86
|
-
|
|
87
|
-
| Token | Value |
|
|
88
|
-
| --- | --- |
|
|
89
|
-
| `borderRadius` | 4 |
|
|
90
|
-
| `borderRadiusLG` | 6 |
|
|
91
|
-
| `borderRadiusSM` | 2 |
|
|
92
|
-
| `boxShadow` | 0 4px 16px 0 rgba(11, 18, 32, 0.16) |
|
|
93
|
-
| `boxShadowSecondary` | none |
|
|
94
|
-
| `boxShadowTertiary` | none |
|
|
95
|
-
| `colorBgBase` | #FFFFFF |
|
|
96
|
-
| `colorBgLayout` | #EEF3FC |
|
|
97
|
-
| `colorBgMask` | rgba(15, 23, 42, 0.32) |
|
|
98
|
-
| `colorBgTextActive` | rgba(37, 99, 235, 0.1) |
|
|
99
|
-
| `colorBorder` | rgba(30, 64, 158, 0.10) |
|
|
100
|
-
| `colorBorderSecondary` | rgba(37, 99, 235, 0.06) |
|
|
101
|
-
| `colorError` | #DC2626 |
|
|
102
|
-
| `colorInfo` | #2563EB |
|
|
103
|
-
| `colorLink` | #2563EB |
|
|
104
|
-
| `colorPrimary` | #2563EB |
|
|
105
|
-
| `colorPrimaryTextActive` | #2563EB |
|
|
106
|
-
| `colorSplit` | rgba(37, 99, 235, 0.06) |
|
|
107
|
-
| `colorSuccess` | #16A34A |
|
|
108
|
-
| `colorTextBase` | #1A2A4A |
|
|
109
|
-
| `colorTextPlaceholder` | rgba(26, 42, 74, 0.45) |
|
|
110
|
-
| `colorWarning` | #D97706 |
|
|
111
|
-
| `controlItemBgActive` | rgba(37, 99, 235, 0.1) |
|
|
112
|
-
| `controlItemBgActiveHover` | rgba(37, 99, 235, 0.1) |
|
|
113
|
-
| `controlOutline` | rgba(37, 99, 235, 0.35) |
|
|
114
|
-
| `fontFamily` | "Archivo Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif |
|
|
115
|
-
| `fontFamilyCode` | "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace |
|
|
116
|
-
| `fontSize` | 14 |
|
|
117
|
-
| `fontWeightStrong` | 600 |
|
|
118
|
-
| `lineWidth` | 1 |
|
|
119
|
-
| `motionBase` | 0 |
|
|
120
|
-
| `motionDurationSlow` | 280ms |
|
|
121
|
-
| `motionEaseInOut` | cubic-bezier(0.25, 1, 0.5, 1) |
|
|
122
|
-
| `motionEaseOut` | cubic-bezier(0.25, 1, 0.5, 1) |
|
|
123
|
-
| `motionEaseOutCirc` | cubic-bezier(0.25, 1, 0.5, 1) |
|
|
124
|
-
| `motionEaseOutQuint` | cubic-bezier(0.25, 1, 0.5, 1) |
|
|
125
|
-
| `motionUnit` | 0.08 |
|
|
126
|
-
| `sizeStep` | 4 |
|
|
127
|
-
| `sizeUnit` | 4 |
|
|
128
|
-
|
|
129
|
-
Component overrides are shadow-zeroing only (Button/Input shadows → `none`, always with `algorithm: true`).
|
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
# Theming — Green pack · beam-dark mode
|
|
2
|
-
|
|
3
|
-
> `createPrismTheme({ pack: 'green', mode: 'dark' })` returns one frozen `PrismTheme`; cssVar key `prism-green-dark`. antd derives everything not listed through its dark algorithm.
|
|
4
|
-
|
|
5
|
-
## Usage
|
|
6
|
-
|
|
7
|
-
```ts
|
|
8
|
-
import { createPrismTheme } from '@nanisoft/prism-tokens';
|
|
9
|
-
import { PrismProvider } from '@nanisoft/prism-ui';
|
|
10
|
-
|
|
11
|
-
const theme = createPrismTheme({ pack: 'green', mode: 'dark' });
|
|
12
|
-
|
|
13
|
-
// <PrismProvider prismTheme={theme}>…</PrismProvider>
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Tier 0 — primitives
|
|
17
|
-
|
|
18
|
-
| Token | Value |
|
|
19
|
-
| --- | --- |
|
|
20
|
-
| `colorError` | #DC2626 |
|
|
21
|
-
| `colorGround` | #0C1812 |
|
|
22
|
-
| `colorHairline` | rgba(134, 239, 172, 0.16) |
|
|
23
|
-
| `colorInfo` | #2563EB |
|
|
24
|
-
| `colorInk` | #22C55E |
|
|
25
|
-
| `colorSuccess` | #16A34A |
|
|
26
|
-
| `colorText` | #E8EEF9 |
|
|
27
|
-
| `colorWarning` | #D97706 |
|
|
28
|
-
| `elevationFloating` | 0 4px 16px 0 rgba(11, 18, 32, 0.24) |
|
|
29
|
-
| `motionCurveOpacity` | linear |
|
|
30
|
-
| `motionCurveStandard` | cubic-bezier(0.25, 1, 0.5, 1) |
|
|
31
|
-
| `motionDurationFast` | 80ms |
|
|
32
|
-
| `motionDurationMid` | 160ms |
|
|
33
|
-
| `motionDurationSlow` | 280ms |
|
|
34
|
-
| `shapeRadiusBase` | 4 |
|
|
35
|
-
| `shapeRadiusLg` | 6 |
|
|
36
|
-
| `shapeRadiusOuter` | 4 |
|
|
37
|
-
| `shapeRadiusSm` | 2 |
|
|
38
|
-
| `spaceStep` | 4 |
|
|
39
|
-
| `spaceUnit` | 4 |
|
|
40
|
-
| `typeFamilyMono` | "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace |
|
|
41
|
-
| `typeFamilyUi` | "Archivo Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif |
|
|
42
|
-
| `typeSizeUi` | 14 |
|
|
43
|
-
| `typeWeightStrong` | 600 |
|
|
44
|
-
|
|
45
|
-
## Tier 1 — semantics
|
|
46
|
-
|
|
47
|
-
| Token | Value |
|
|
48
|
-
| --- | --- |
|
|
49
|
-
| `accentLive` | rgba(34, 197, 94, 0.2) |
|
|
50
|
-
| `elevationFloating` | 0 4px 16px 0 rgba(11, 18, 32, 0.24) |
|
|
51
|
-
| `elevationNone` | none |
|
|
52
|
-
| `focusRing` | rgba(34, 197, 94, 0.55) |
|
|
53
|
-
| `hairlineFaint` | rgba(34, 197, 94, 0.1) |
|
|
54
|
-
| `hairlineStrong` | rgba(134, 239, 172, 0.16) |
|
|
55
|
-
| `inkPrimary` | #22C55E |
|
|
56
|
-
| `motionCurveOpacity` | linear |
|
|
57
|
-
| `motionCurveStandard` | cubic-bezier(0.25, 1, 0.5, 1) |
|
|
58
|
-
| `motionDurationFast` | 80ms |
|
|
59
|
-
| `motionDurationMid` | 160ms |
|
|
60
|
-
| `motionDurationSlow` | 280ms |
|
|
61
|
-
| `shapeRadiusBase` | 4 |
|
|
62
|
-
| `shapeRadiusLg` | 6 |
|
|
63
|
-
| `shapeRadiusOuter` | 4 |
|
|
64
|
-
| `shapeRadiusSm` | 2 |
|
|
65
|
-
| `spaceStep` | 4 |
|
|
66
|
-
| `spaceUnit` | 4 |
|
|
67
|
-
| `stateError` | #DC2626 |
|
|
68
|
-
| `stateInfo` | #2563EB |
|
|
69
|
-
| `stateSuccess` | #16A34A |
|
|
70
|
-
| `stateWarning` | #D97706 |
|
|
71
|
-
| `surfaceContainer` | #0C1812 |
|
|
72
|
-
| `surfaceGround` | #0C1812 |
|
|
73
|
-
| `surfaceScrim` | rgba(4, 10, 20, 0.72) |
|
|
74
|
-
| `textFaint` | rgba(232, 238, 249, 0.3) |
|
|
75
|
-
| `textOnInk` | #0B1220 |
|
|
76
|
-
| `textPrimary` | #E8EEF9 |
|
|
77
|
-
| `textSecondary` | rgba(232, 238, 249, 0.68) |
|
|
78
|
-
| `textTertiary` | rgba(232, 238, 249, 0.45) |
|
|
79
|
-
| `typeFamily` | "Archivo Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif |
|
|
80
|
-
| `typeFamilyCode` | "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace |
|
|
81
|
-
| `typeSize` | 14 |
|
|
82
|
-
| `typeWeight` | 600 |
|
|
83
|
-
|
|
84
|
-
## antd token lane (seeds + the closed map-token allowlist)
|
|
85
|
-
|
|
86
|
-
| Token | Value |
|
|
87
|
-
| --- | --- |
|
|
88
|
-
| `borderRadius` | 4 |
|
|
89
|
-
| `borderRadiusLG` | 6 |
|
|
90
|
-
| `borderRadiusSM` | 2 |
|
|
91
|
-
| `boxShadow` | 0 4px 16px 0 rgba(11, 18, 32, 0.24) |
|
|
92
|
-
| `boxShadowSecondary` | none |
|
|
93
|
-
| `boxShadowTertiary` | none |
|
|
94
|
-
| `colorBgBase` | #0C1812 |
|
|
95
|
-
| `colorBgMask` | rgba(4, 10, 20, 0.72) |
|
|
96
|
-
| `colorBgTextActive` | rgba(34, 197, 94, 0.2) |
|
|
97
|
-
| `colorBorder` | rgba(134, 239, 172, 0.16) |
|
|
98
|
-
| `colorBorderSecondary` | rgba(34, 197, 94, 0.1) |
|
|
99
|
-
| `colorError` | #DC2626 |
|
|
100
|
-
| `colorInfo` | #2563EB |
|
|
101
|
-
| `colorLink` | #22C55E |
|
|
102
|
-
| `colorPrimary` | #22C55E |
|
|
103
|
-
| `colorPrimaryTextActive` | #22C55E |
|
|
104
|
-
| `colorSplit` | rgba(34, 197, 94, 0.1) |
|
|
105
|
-
| `colorSuccess` | #16A34A |
|
|
106
|
-
| `colorTextBase` | #E8EEF9 |
|
|
107
|
-
| `colorTextPlaceholder` | rgba(232, 238, 249, 0.45) |
|
|
108
|
-
| `colorWarning` | #D97706 |
|
|
109
|
-
| `controlItemBgActive` | rgba(34, 197, 94, 0.2) |
|
|
110
|
-
| `controlItemBgActiveHover` | rgba(34, 197, 94, 0.2) |
|
|
111
|
-
| `controlOutline` | rgba(34, 197, 94, 0.55) |
|
|
112
|
-
| `fontFamily` | "Archivo Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif |
|
|
113
|
-
| `fontFamilyCode` | "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace |
|
|
114
|
-
| `fontSize` | 14 |
|
|
115
|
-
| `fontWeightStrong` | 600 |
|
|
116
|
-
| `lineWidth` | 1 |
|
|
117
|
-
| `motionBase` | 0 |
|
|
118
|
-
| `motionDurationSlow` | 280ms |
|
|
119
|
-
| `motionEaseInOut` | cubic-bezier(0.25, 1, 0.5, 1) |
|
|
120
|
-
| `motionEaseOut` | cubic-bezier(0.25, 1, 0.5, 1) |
|
|
121
|
-
| `motionEaseOutCirc` | cubic-bezier(0.25, 1, 0.5, 1) |
|
|
122
|
-
| `motionEaseOutQuint` | cubic-bezier(0.25, 1, 0.5, 1) |
|
|
123
|
-
| `motionUnit` | 0.08 |
|
|
124
|
-
| `sizeStep` | 4 |
|
|
125
|
-
| `sizeUnit` | 4 |
|
|
126
|
-
|
|
127
|
-
Component overrides are shadow-zeroing only (Button/Input shadows → `none`, always with `algorithm: true`).
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
# Theming — Green pack · light mode
|
|
2
|
-
|
|
3
|
-
> `createPrismTheme({ pack: 'green', mode: 'light' })` returns one frozen `PrismTheme`; cssVar key `prism-green-light`. antd derives everything not listed through its default algorithm.
|
|
4
|
-
|
|
5
|
-
## Usage
|
|
6
|
-
|
|
7
|
-
```ts
|
|
8
|
-
import { createPrismTheme } from '@nanisoft/prism-tokens';
|
|
9
|
-
import { PrismProvider } from '@nanisoft/prism-ui';
|
|
10
|
-
|
|
11
|
-
const theme = createPrismTheme({ pack: 'green', mode: 'light' });
|
|
12
|
-
|
|
13
|
-
// <PrismProvider prismTheme={theme}>…</PrismProvider>
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Tier 0 — primitives
|
|
17
|
-
|
|
18
|
-
| Token | Value |
|
|
19
|
-
| --- | --- |
|
|
20
|
-
| `colorError` | #DC2626 |
|
|
21
|
-
| `colorGround` | #E9F6EF |
|
|
22
|
-
| `colorHairline` | rgba(17, 90, 47, 0.10) |
|
|
23
|
-
| `colorInfo` | #2563EB |
|
|
24
|
-
| `colorInk` | #117A3B |
|
|
25
|
-
| `colorSuccess` | #16A34A |
|
|
26
|
-
| `colorSurface` | #FFFFFF |
|
|
27
|
-
| `colorText` | #162A1A |
|
|
28
|
-
| `colorWarning` | #D97706 |
|
|
29
|
-
| `elevationFloating` | 0 4px 16px 0 rgba(11, 18, 32, 0.16) |
|
|
30
|
-
| `motionCurveOpacity` | linear |
|
|
31
|
-
| `motionCurveStandard` | cubic-bezier(0.25, 1, 0.5, 1) |
|
|
32
|
-
| `motionDurationFast` | 80ms |
|
|
33
|
-
| `motionDurationMid` | 160ms |
|
|
34
|
-
| `motionDurationSlow` | 280ms |
|
|
35
|
-
| `shapeRadiusBase` | 4 |
|
|
36
|
-
| `shapeRadiusLg` | 6 |
|
|
37
|
-
| `shapeRadiusOuter` | 4 |
|
|
38
|
-
| `shapeRadiusSm` | 2 |
|
|
39
|
-
| `spaceStep` | 4 |
|
|
40
|
-
| `spaceUnit` | 4 |
|
|
41
|
-
| `typeFamilyMono` | "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace |
|
|
42
|
-
| `typeFamilyUi` | "Archivo Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif |
|
|
43
|
-
| `typeSizeUi` | 14 |
|
|
44
|
-
| `typeWeightStrong` | 600 |
|
|
45
|
-
|
|
46
|
-
## Tier 1 — semantics
|
|
47
|
-
|
|
48
|
-
| Token | Value |
|
|
49
|
-
| --- | --- |
|
|
50
|
-
| `accentLive` | rgba(17, 122, 59, 0.1) |
|
|
51
|
-
| `elevationFloating` | 0 4px 16px 0 rgba(11, 18, 32, 0.16) |
|
|
52
|
-
| `elevationNone` | none |
|
|
53
|
-
| `focusRing` | rgba(17, 122, 59, 0.35) |
|
|
54
|
-
| `hairlineFaint` | rgba(17, 122, 59, 0.06) |
|
|
55
|
-
| `hairlineStrong` | rgba(17, 90, 47, 0.10) |
|
|
56
|
-
| `inkPrimary` | #117A3B |
|
|
57
|
-
| `motionCurveOpacity` | linear |
|
|
58
|
-
| `motionCurveStandard` | cubic-bezier(0.25, 1, 0.5, 1) |
|
|
59
|
-
| `motionDurationFast` | 80ms |
|
|
60
|
-
| `motionDurationMid` | 160ms |
|
|
61
|
-
| `motionDurationSlow` | 280ms |
|
|
62
|
-
| `shapeRadiusBase` | 4 |
|
|
63
|
-
| `shapeRadiusLg` | 6 |
|
|
64
|
-
| `shapeRadiusOuter` | 4 |
|
|
65
|
-
| `shapeRadiusSm` | 2 |
|
|
66
|
-
| `spaceStep` | 4 |
|
|
67
|
-
| `spaceUnit` | 4 |
|
|
68
|
-
| `stateError` | #DC2626 |
|
|
69
|
-
| `stateInfo` | #2563EB |
|
|
70
|
-
| `stateSuccess` | #16A34A |
|
|
71
|
-
| `stateWarning` | #D97706 |
|
|
72
|
-
| `surfaceContainer` | #FFFFFF |
|
|
73
|
-
| `surfaceGround` | #E9F6EF |
|
|
74
|
-
| `surfaceScrim` | rgba(15, 23, 42, 0.32) |
|
|
75
|
-
| `textFaint` | rgba(22, 42, 26, 0.3) |
|
|
76
|
-
| `textOnInk` | #FFFFFF |
|
|
77
|
-
| `textPrimary` | #162A1A |
|
|
78
|
-
| `textSecondary` | rgba(22, 42, 26, 0.68) |
|
|
79
|
-
| `textTertiary` | rgba(22, 42, 26, 0.45) |
|
|
80
|
-
| `typeFamily` | "Archivo Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif |
|
|
81
|
-
| `typeFamilyCode` | "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace |
|
|
82
|
-
| `typeSize` | 14 |
|
|
83
|
-
| `typeWeight` | 600 |
|
|
84
|
-
|
|
85
|
-
## antd token lane (seeds + the closed map-token allowlist)
|
|
86
|
-
|
|
87
|
-
| Token | Value |
|
|
88
|
-
| --- | --- |
|
|
89
|
-
| `borderRadius` | 4 |
|
|
90
|
-
| `borderRadiusLG` | 6 |
|
|
91
|
-
| `borderRadiusSM` | 2 |
|
|
92
|
-
| `boxShadow` | 0 4px 16px 0 rgba(11, 18, 32, 0.16) |
|
|
93
|
-
| `boxShadowSecondary` | none |
|
|
94
|
-
| `boxShadowTertiary` | none |
|
|
95
|
-
| `colorBgBase` | #FFFFFF |
|
|
96
|
-
| `colorBgLayout` | #E9F6EF |
|
|
97
|
-
| `colorBgMask` | rgba(15, 23, 42, 0.32) |
|
|
98
|
-
| `colorBgTextActive` | rgba(17, 122, 59, 0.1) |
|
|
99
|
-
| `colorBorder` | rgba(17, 90, 47, 0.10) |
|
|
100
|
-
| `colorBorderSecondary` | rgba(17, 122, 59, 0.06) |
|
|
101
|
-
| `colorError` | #DC2626 |
|
|
102
|
-
| `colorInfo` | #2563EB |
|
|
103
|
-
| `colorLink` | #117A3B |
|
|
104
|
-
| `colorPrimary` | #117A3B |
|
|
105
|
-
| `colorPrimaryTextActive` | #117A3B |
|
|
106
|
-
| `colorSplit` | rgba(17, 122, 59, 0.06) |
|
|
107
|
-
| `colorSuccess` | #16A34A |
|
|
108
|
-
| `colorTextBase` | #162A1A |
|
|
109
|
-
| `colorTextPlaceholder` | rgba(22, 42, 26, 0.45) |
|
|
110
|
-
| `colorWarning` | #D97706 |
|
|
111
|
-
| `controlItemBgActive` | rgba(17, 122, 59, 0.1) |
|
|
112
|
-
| `controlItemBgActiveHover` | rgba(17, 122, 59, 0.1) |
|
|
113
|
-
| `controlOutline` | rgba(17, 122, 59, 0.35) |
|
|
114
|
-
| `fontFamily` | "Archivo Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif |
|
|
115
|
-
| `fontFamilyCode` | "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace |
|
|
116
|
-
| `fontSize` | 14 |
|
|
117
|
-
| `fontWeightStrong` | 600 |
|
|
118
|
-
| `lineWidth` | 1 |
|
|
119
|
-
| `motionBase` | 0 |
|
|
120
|
-
| `motionDurationSlow` | 280ms |
|
|
121
|
-
| `motionEaseInOut` | cubic-bezier(0.25, 1, 0.5, 1) |
|
|
122
|
-
| `motionEaseOut` | cubic-bezier(0.25, 1, 0.5, 1) |
|
|
123
|
-
| `motionEaseOutCirc` | cubic-bezier(0.25, 1, 0.5, 1) |
|
|
124
|
-
| `motionEaseOutQuint` | cubic-bezier(0.25, 1, 0.5, 1) |
|
|
125
|
-
| `motionUnit` | 0.08 |
|
|
126
|
-
| `sizeStep` | 4 |
|
|
127
|
-
| `sizeUnit` | 4 |
|
|
128
|
-
|
|
129
|
-
Component overrides are shadow-zeroing only (Button/Input shadows → `none`, always with `algorithm: true`).
|