@adres/thinkprop-ui 0.0.0-stage → 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/brand-knowledge.json +455 -0
- package/knowledge/accordion.md +135 -0
- package/knowledge/activity-rings.md +123 -0
- package/knowledge/alert.md +184 -0
- package/knowledge/answer-actions.md +217 -0
- package/knowledge/aspect-ratio.md +82 -0
- package/knowledge/avatar.md +158 -0
- package/knowledge/badge.md +172 -0
- package/knowledge/bar-graph.md +167 -0
- package/knowledge/bento-grid.md +115 -0
- package/knowledge/blockquote.md +153 -0
- package/knowledge/box-list.md +177 -0
- package/knowledge/bullet-list.md +128 -0
- package/knowledge/button-group.md +179 -0
- package/knowledge/button.md +231 -0
- package/knowledge/calendar.md +168 -0
- package/knowledge/card.md +321 -0
- package/knowledge/cards-nav.md +170 -0
- package/knowledge/chain-of-thought.md +164 -0
- package/knowledge/chat-container.md +135 -0
- package/knowledge/chat-message.md +224 -0
- package/knowledge/checkbox-card.md +172 -0
- package/knowledge/checkbox.md +111 -0
- package/knowledge/citations.md +241 -0
- package/knowledge/combobox.md +265 -0
- package/knowledge/countdown-pill.md +153 -0
- package/knowledge/cta.md +118 -0
- package/knowledge/data-list.md +173 -0
- package/knowledge/data-table.md +220 -0
- package/knowledge/dialog.md +249 -0
- package/knowledge/drawer.md +236 -0
- package/knowledge/dropdown-menu.md +238 -0
- package/knowledge/dropzone.md +153 -0
- package/knowledge/email-chips-input.md +161 -0
- package/knowledge/empty-state.md +106 -0
- package/knowledge/entity-header.md +166 -0
- package/knowledge/feature-grid.md +120 -0
- package/knowledge/feedback-bar.md +127 -0
- package/knowledge/footer.md +116 -0
- package/knowledge/heading.md +189 -0
- package/knowledge/hero.md +361 -0
- package/knowledge/input-button.md +187 -0
- package/knowledge/input-group.md +185 -0
- package/knowledge/input.md +256 -0
- package/knowledge/inset.md +177 -0
- package/knowledge/kpi-card.md +206 -0
- package/knowledge/list-nav.md +181 -0
- package/knowledge/logo-cloud.md +102 -0
- package/knowledge/media-gallery.md +158 -0
- package/knowledge/message-actions.md +175 -0
- package/knowledge/nav-sidebar.md +225 -0
- package/knowledge/number-stepper.md +159 -0
- package/knowledge/page-header.md +109 -0
- package/knowledge/pagination.md +225 -0
- package/knowledge/popover.md +159 -0
- package/knowledge/pricing.md +132 -0
- package/knowledge/progress.md +156 -0
- package/knowledge/prompt-input.md +337 -0
- package/knowledge/prompt-suggestions.md +168 -0
- package/knowledge/quota-bar.md +160 -0
- package/knowledge/quote.md +116 -0
- package/knowledge/radio-card.md +172 -0
- package/knowledge/radio-group.md +135 -0
- package/knowledge/reasoning.md +142 -0
- package/knowledge/search.md +131 -0
- package/knowledge/section-nav.md +162 -0
- package/knowledge/segmented-control.md +181 -0
- package/knowledge/select-button.md +205 -0
- package/knowledge/select.md +210 -0
- package/knowledge/separator.md +75 -0
- package/knowledge/shimmer-text.md +140 -0
- package/knowledge/sidebar.md +227 -0
- package/knowledge/skeleton.md +142 -0
- package/knowledge/slider.md +133 -0
- package/knowledge/slideshow.md +159 -0
- package/knowledge/source.md +156 -0
- package/knowledge/spinner.md +120 -0
- package/knowledge/stat-strip.md +128 -0
- package/knowledge/stats.md +117 -0
- package/knowledge/step-indicator.md +157 -0
- package/knowledge/switch.md +88 -0
- package/knowledge/table.md +190 -0
- package/knowledge/tabs.md +169 -0
- package/knowledge/testimonials.md +115 -0
- package/knowledge/text-link.md +192 -0
- package/knowledge/text.md +194 -0
- package/knowledge/thinking-bar.md +115 -0
- package/knowledge/thinking-steps.md +140 -0
- package/knowledge/toaster.md +127 -0
- package/knowledge/toggle.md +113 -0
- package/knowledge/tool-call-card.md +241 -0
- package/knowledge/tooltip.md +120 -0
- package/knowledge/top-nav.md +138 -0
- package/knowledge.json +19854 -0
- package/package.json +94 -4
- package/src/components/accordion.stories.tsx +46 -0
- package/src/components/accordion.tsx +74 -0
- package/src/components/activity-rings.stories.tsx +73 -0
- package/src/components/activity-rings.tsx +121 -0
- package/src/components/alert.stories.tsx +43 -0
- package/src/components/alert.tsx +132 -0
- package/src/components/answer-actions.stories.tsx +54 -0
- package/src/components/answer-actions.test.tsx +37 -0
- package/src/components/answer-actions.tsx +313 -0
- package/src/components/aspect-ratio.stories.tsx +32 -0
- package/src/components/aspect-ratio.tsx +5 -0
- package/src/components/avatar.stories.tsx +40 -0
- package/src/components/avatar.tsx +154 -0
- package/src/components/badge.stories.tsx +27 -0
- package/src/components/badge.tsx +63 -0
- package/src/components/bar-graph.stories.tsx +28 -0
- package/src/components/bar-graph.tsx +204 -0
- package/src/components/bento-grid.stories.tsx +23 -0
- package/src/components/bento-grid.tsx +67 -0
- package/src/components/blockquote.stories.tsx +28 -0
- package/src/components/blockquote.tsx +88 -0
- package/src/components/box-list.stories.tsx +25 -0
- package/src/components/box-list.tsx +108 -0
- package/src/components/bullet-list.stories.tsx +22 -0
- package/src/components/bullet-list.tsx +101 -0
- package/src/components/button-group.stories.tsx +31 -0
- package/src/components/button-group.tsx +156 -0
- package/src/components/button.stories.tsx +66 -0
- package/src/components/button.test.ts +17 -0
- package/src/components/button.tsx +139 -0
- package/src/components/calendar.stories.tsx +25 -0
- package/src/components/calendar.tsx +367 -0
- package/src/components/card.stories.tsx +44 -0
- package/src/components/card.tsx +392 -0
- package/src/components/cards-nav.stories.tsx +35 -0
- package/src/components/cards-nav.tsx +115 -0
- package/src/components/chain-of-thought.stories.tsx +67 -0
- package/src/components/chain-of-thought.test.tsx +50 -0
- package/src/components/chain-of-thought.tsx +170 -0
- package/src/components/chat-container.stories.tsx +47 -0
- package/src/components/chat-container.test.tsx +49 -0
- package/src/components/chat-container.tsx +222 -0
- package/src/components/chat-message.stories.tsx +52 -0
- package/src/components/chat-message.test.tsx +36 -0
- package/src/components/chat-message.tsx +163 -0
- package/src/components/checkbox-card.stories.tsx +27 -0
- package/src/components/checkbox-card.tsx +200 -0
- package/src/components/checkbox.stories.tsx +26 -0
- package/src/components/checkbox.tsx +61 -0
- package/src/components/citations.stories.tsx +64 -0
- package/src/components/citations.test.tsx +61 -0
- package/src/components/citations.tsx +220 -0
- package/src/components/combobox.stories.tsx +184 -0
- package/src/components/combobox.test.tsx +82 -0
- package/src/components/combobox.tsx +407 -0
- package/src/components/countdown-pill.stories.tsx +24 -0
- package/src/components/countdown-pill.tsx +129 -0
- package/src/components/cta.stories.tsx +29 -0
- package/src/components/cta.tsx +52 -0
- package/src/components/data-list.stories.tsx +50 -0
- package/src/components/data-list.test.tsx +35 -0
- package/src/components/data-list.tsx +181 -0
- package/src/components/data-table.stories.tsx +29 -0
- package/src/components/data-table.tsx +200 -0
- package/src/components/dialog.stories.tsx +42 -0
- package/src/components/dialog.tsx +200 -0
- package/src/components/drawer.stories.tsx +48 -0
- package/src/components/drawer.tsx +385 -0
- package/src/components/dropdown-menu.stories.tsx +41 -0
- package/src/components/dropdown-menu.tsx +252 -0
- package/src/components/dropzone.stories.tsx +19 -0
- package/src/components/dropzone.tsx +250 -0
- package/src/components/email-chips-input.stories.tsx +135 -0
- package/src/components/email-chips-input.tsx +210 -0
- package/src/components/empty-state.stories.tsx +22 -0
- package/src/components/empty-state.tsx +35 -0
- package/src/components/entity-header.stories.tsx +43 -0
- package/src/components/entity-header.test.tsx +35 -0
- package/src/components/entity-header.tsx +92 -0
- package/src/components/feature-grid.stories.tsx +25 -0
- package/src/components/feature-grid.tsx +87 -0
- package/src/components/feedback-bar.stories.tsx +25 -0
- package/src/components/feedback-bar.test.tsx +24 -0
- package/src/components/feedback-bar.tsx +62 -0
- package/src/components/footer.stories.tsx +23 -0
- package/src/components/footer.tsx +78 -0
- package/src/components/heading.stories.tsx +45 -0
- package/src/components/heading.test.tsx +22 -0
- package/src/components/heading.tsx +77 -0
- package/src/components/hero.stories.tsx +38 -0
- package/src/components/hero.tsx +498 -0
- package/src/components/input-button.stories.tsx +19 -0
- package/src/components/input-button.tsx +112 -0
- package/src/components/input-group.stories.tsx +38 -0
- package/src/components/input-group.tsx +157 -0
- package/src/components/input.stories.tsx +31 -0
- package/src/components/input.tsx +284 -0
- package/src/components/inset.stories.tsx +29 -0
- package/src/components/inset.tsx +70 -0
- package/src/components/kpi-card.stories.tsx +29 -0
- package/src/components/kpi-card.tsx +284 -0
- package/src/components/list-nav.stories.tsx +22 -0
- package/src/components/list-nav.tsx +145 -0
- package/src/components/logo-cloud.stories.tsx +23 -0
- package/src/components/logo-cloud.tsx +42 -0
- package/src/components/media-gallery.stories.tsx +25 -0
- package/src/components/media-gallery.tsx +347 -0
- package/src/components/message-actions.stories.tsx +45 -0
- package/src/components/message-actions.test.tsx +32 -0
- package/src/components/message-actions.tsx +119 -0
- package/src/components/nav-sidebar.stories.tsx +58 -0
- package/src/components/nav-sidebar.test.tsx +54 -0
- package/src/components/nav-sidebar.tsx +462 -0
- package/src/components/number-stepper.stories.tsx +19 -0
- package/src/components/number-stepper.tsx +158 -0
- package/src/components/page-header.stories.tsx +25 -0
- package/src/components/page-header.tsx +64 -0
- package/src/components/pagination.stories.tsx +110 -0
- package/src/components/pagination.test.tsx +46 -0
- package/src/components/pagination.tsx +144 -0
- package/src/components/popover.stories.tsx +26 -0
- package/src/components/popover.tsx +62 -0
- package/src/components/pricing.stories.tsx +42 -0
- package/src/components/pricing.tsx +130 -0
- package/src/components/progress.stories.tsx +22 -0
- package/src/components/progress.tsx +189 -0
- package/src/components/prompt-input.stories.tsx +62 -0
- package/src/components/prompt-input.test.tsx +106 -0
- package/src/components/prompt-input.tsx +343 -0
- package/src/components/prompt-suggestions.stories.tsx +53 -0
- package/src/components/prompt-suggestions.test.tsx +37 -0
- package/src/components/prompt-suggestions.tsx +122 -0
- package/src/components/quota-bar.stories.tsx +19 -0
- package/src/components/quota-bar.tsx +191 -0
- package/src/components/quote.stories.tsx +18 -0
- package/src/components/quote.tsx +43 -0
- package/src/components/radio-card.stories.tsx +27 -0
- package/src/components/radio-card.tsx +225 -0
- package/src/components/radio-group.stories.tsx +32 -0
- package/src/components/radio-group.tsx +68 -0
- package/src/components/reasoning.stories.tsx +50 -0
- package/src/components/reasoning.test.tsx +48 -0
- package/src/components/reasoning.tsx +143 -0
- package/src/components/search.stories.tsx +18 -0
- package/src/components/search.tsx +133 -0
- package/src/components/section-nav.stories.tsx +59 -0
- package/src/components/section-nav.test.tsx +36 -0
- package/src/components/section-nav.tsx +146 -0
- package/src/components/segmented-control.stories.tsx +22 -0
- package/src/components/segmented-control.tsx +301 -0
- package/src/components/select-button.stories.tsx +27 -0
- package/src/components/select-button.tsx +174 -0
- package/src/components/select.stories.tsx +27 -0
- package/src/components/select.tsx +198 -0
- package/src/components/separator.stories.tsx +22 -0
- package/src/components/separator.tsx +23 -0
- package/src/components/shimmer-text.stories.tsx +23 -0
- package/src/components/shimmer-text.test.tsx +35 -0
- package/src/components/shimmer-text.tsx +43 -0
- package/src/components/sidebar.stories.tsx +25 -0
- package/src/components/sidebar.tsx +234 -0
- package/src/components/skeleton.stories.tsx +22 -0
- package/src/components/skeleton.tsx +96 -0
- package/src/components/slider.stories.tsx +20 -0
- package/src/components/slider.tsx +176 -0
- package/src/components/slideshow.stories.tsx +30 -0
- package/src/components/slideshow.tsx +291 -0
- package/src/components/source.stories.tsx +32 -0
- package/src/components/source.test.tsx +40 -0
- package/src/components/source.tsx +161 -0
- package/src/components/spinner.stories.tsx +19 -0
- package/src/components/spinner.tsx +76 -0
- package/src/components/stat-strip.stories.tsx +36 -0
- package/src/components/stat-strip.test.tsx +25 -0
- package/src/components/stat-strip.tsx +85 -0
- package/src/components/stats.stories.tsx +24 -0
- package/src/components/stats.tsx +83 -0
- package/src/components/step-indicator.stories.tsx +18 -0
- package/src/components/step-indicator.test.tsx +18 -0
- package/src/components/step-indicator.tsx +286 -0
- package/src/components/switch.stories.tsx +26 -0
- package/src/components/switch.tsx +32 -0
- package/src/components/table.stories.tsx +38 -0
- package/src/components/table.tsx +220 -0
- package/src/components/tabs.stories.tsx +25 -0
- package/src/components/tabs.tsx +276 -0
- package/src/components/testimonials.stories.tsx +22 -0
- package/src/components/testimonials.tsx +109 -0
- package/src/components/text-link.stories.tsx +47 -0
- package/src/components/text-link.test.tsx +18 -0
- package/src/components/text-link.tsx +88 -0
- package/src/components/text.stories.tsx +49 -0
- package/src/components/text.tsx +105 -0
- package/src/components/thinking-bar.stories.tsx +19 -0
- package/src/components/thinking-bar.test.tsx +27 -0
- package/src/components/thinking-bar.tsx +64 -0
- package/src/components/thinking-steps.stories.tsx +44 -0
- package/src/components/thinking-steps.test.tsx +42 -0
- package/src/components/thinking-steps.tsx +92 -0
- package/src/components/toaster.stories.tsx +80 -0
- package/src/components/toaster.tsx +36 -0
- package/src/components/toggle.stories.tsx +21 -0
- package/src/components/toggle.tsx +103 -0
- package/src/components/tool-call-card.stories.tsx +97 -0
- package/src/components/tool-call-card.test.tsx +88 -0
- package/src/components/tool-call-card.tsx +231 -0
- package/src/components/tooltip.stories.tsx +25 -0
- package/src/components/tooltip.tsx +43 -0
- package/src/components/top-nav.stories.tsx +20 -0
- package/src/components/top-nav.tsx +76 -0
- package/src/docs/Colors.stories.tsx +192 -0
- package/src/docs/GettingStarted.mdx +72 -0
- package/src/docs/Mcp.mdx +52 -0
- package/src/docs/Typography.stories.tsx +114 -0
- package/src/hooks/use-in-view.ts +32 -0
- package/src/hooks/use-reduced-motion.ts +26 -0
- package/src/index.ts +343 -0
- package/src/lib/cn.test.ts +67 -0
- package/src/lib/cn.ts +81 -0
- package/src/lib/motion.ts +109 -0
- package/src/lib/prefix-utilities.test.ts +56 -0
- package/src/lib/prefix-utilities.ts +50 -0
- package/src/styles/base.css +489 -0
- package/src/styles/motion.css +69 -0
- package/src/styles/overrides.css +7 -0
- package/src/styles/typography.css +173 -0
- package/src/theme/theme.css +406 -0
- package/src/theme/tokens.ts +29 -0
- package/src/theme/types.ts +26 -0
- package/README.md +0 -3
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* @adres/thinkprop-ui - typography.css
|
|
3
|
+
*
|
|
4
|
+
* Semantic single-class typography utilities built with @apply.
|
|
5
|
+
* One class covers font-size, font-weight, line-height, and letter-spacing.
|
|
6
|
+
* Color is excluded. Apply it separately:
|
|
7
|
+
*
|
|
8
|
+
* <h1 class="ax:t-display-xl ax:text-foreground">…</h1>
|
|
9
|
+
* <p class="ax:t-body-md ax:text-muted-foreground">…</p>
|
|
10
|
+
*
|
|
11
|
+
* Registered with @utility so Tailwind v4 generates responsive variants
|
|
12
|
+
* (ax:md:t-display-xl, ax:lg:t-h1, etc.) automatically.
|
|
13
|
+
*
|
|
14
|
+
* ─── Scale ────────────────────────────────────────────────────────────────────
|
|
15
|
+
*
|
|
16
|
+
* Display t-display-3xl / 2xl / xl / sm / lg / md Marketing + hero headlines
|
|
17
|
+
* Heading t-h1 → t-h6 Page + section structure
|
|
18
|
+
* Body t-body-lg / md / sm Readable prose
|
|
19
|
+
* Label t-label-lg / md / sm / xs UI controls (buttons, nav, tabs)
|
|
20
|
+
* Caption t-caption Metadata, timestamps
|
|
21
|
+
* Overline t-overline Eyebrow / category badges
|
|
22
|
+
* Code t-code Monospace / technical content
|
|
23
|
+
* Micro t-micro 10px UI annotations (sub-caption)
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
/* ── Display ────────────────────────────────────────────────────────────────
|
|
27
|
+
* Hero headlines and campaign copy.
|
|
28
|
+
* Sub-1 leading requires an arbitrary value: no Tailwind default exists.
|
|
29
|
+
* ─────────────────────────────────────────────────────────────────────────── */
|
|
30
|
+
|
|
31
|
+
@utility t-display-3xl {
|
|
32
|
+
@apply ax:font-sans ax:text-8xl ax:font-semibold ax:leading-24 ax:tracking-tighter ax:text-foreground-strong;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@utility t-display-2xl {
|
|
36
|
+
@apply ax:font-sans ax:text-7xl ax:font-semibold ax:leading-18 ax:tracking-tighter ax:text-foreground-strong;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@utility t-display-xl {
|
|
40
|
+
/* 64px - explicit so the display ramp stays monotonic regardless of the
|
|
41
|
+
base text-* scale (base.css leaves text-6xl at the Tailwind default 60px). */
|
|
42
|
+
@apply ax:font-sans ax:text-[4rem] ax:font-semibold ax:leading-16 ax:tracking-tighter ax:text-foreground-strong;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@utility t-display-lg {
|
|
46
|
+
/* 56px - sits between md (48) and xl (64). */
|
|
47
|
+
@apply ax:font-sans ax:text-[3.5rem] ax:font-semibold ax:leading-14 ax:tracking-tight ax:text-foreground-strong;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
@utility t-display-md {
|
|
51
|
+
@apply ax:font-sans ax:text-4xl ax:font-semibold ax:leading-10.5 ax:tracking-tight ax:text-foreground-strong;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@utility t-display-sm {
|
|
55
|
+
@apply ax:font-sans ax:text-3xl ax:font-semibold ax:leading-8.5 ax:tracking-tight ax:text-foreground-strong;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/* ── Heading ────────────────────────────────────────────────────────────────
|
|
59
|
+
* Page titles and document / section hierarchy.
|
|
60
|
+
* ─────────────────────────────────────────────────────────────────────────── */
|
|
61
|
+
|
|
62
|
+
@utility t-h1 {
|
|
63
|
+
@apply ax:text-2xl ax:font-semibold ax:leading-8 ax:tracking-tight ax:text-foreground-strong;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
@utility t-h2 {
|
|
67
|
+
@apply ax:text-xl ax:font-semibold ax:leading-7 ax:tracking-tight ax:text-foreground-strong;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
@utility t-h3 {
|
|
71
|
+
@apply ax:text-lg ax:font-semibold ax:leading-6 ax:tracking-tight ax:text-foreground-strong;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
@utility t-h4 {
|
|
75
|
+
@apply ax:text-base ax:font-semibold ax:leading-5 ax:text-foreground-strong;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
@utility t-h5 {
|
|
79
|
+
@apply ax:text-sm ax:font-semibold ax:leading-normal ax:text-foreground-strong;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
@utility t-h6 {
|
|
83
|
+
@apply ax:text-xs ax:font-semibold ax:leading-normal ax:text-foreground-strong;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/* ── Body ───────────────────────────────────────────────────────────────────
|
|
87
|
+
* Readable prose. Set max-width separately (max-w-prose ≈ 65ch).
|
|
88
|
+
* ─────────────────────────────────────────────────────────────────────────── */
|
|
89
|
+
|
|
90
|
+
@utility t-body-2xl {
|
|
91
|
+
@apply ax:text-2xl ax:leading-8 ax:font-medium ax:tracking-tight;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
@utility t-body-xl {
|
|
95
|
+
@apply ax:text-xl ax:leading-7 ax:font-medium ax:tracking-tight;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
@utility t-body-lg {
|
|
99
|
+
@apply ax:text-lg ax:leading-6.5 ax:font-medium;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
@utility t-body-md {
|
|
103
|
+
@apply ax:text-base ax:leading-snug;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
@utility t-body-sm {
|
|
107
|
+
@apply ax:text-sm ax:leading-snug;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
@utility t-body-xs {
|
|
111
|
+
@apply ax:text-xs ax:leading-snug;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/* ── Label ──────────────────────────────────────────────────────────────────
|
|
115
|
+
* UI controls: buttons, tabs, nav items, form labels, badge text.
|
|
116
|
+
* leading-none - labels are single-line by design.
|
|
117
|
+
* ─────────────────────────────────────────────────────────────────────────── */
|
|
118
|
+
|
|
119
|
+
@utility t-label-lg {
|
|
120
|
+
@apply ax:text-lg ax:font-medium ax:leading-none;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
@utility t-label-md {
|
|
124
|
+
@apply ax:text-base ax:font-medium ax:leading-none;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
@utility t-label-sm {
|
|
128
|
+
@apply ax:text-sm ax:font-medium ax:leading-none;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
@utility t-label-xs {
|
|
132
|
+
@apply ax:text-xs ax:font-medium ax:leading-none ax:tracking-wide;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
@utility t-label-2xs {
|
|
136
|
+
font-size: var(--text-3xs); /* 10px */
|
|
137
|
+
@apply ax:font-medium ax:leading-none ax:tracking-wide;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
/* ── Caption ────────────────────────────────────────────────────────────────
|
|
141
|
+
* Auxiliary information: timestamps, photo credits, metadata footnotes.
|
|
142
|
+
* ─────────────────────────────────────────────────────────────────────────── */
|
|
143
|
+
|
|
144
|
+
@utility t-caption {
|
|
145
|
+
@apply ax:text-xs ax:font-normal ax:leading-tight;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
/* ── Overline ───────────────────────────────────────────────────────────────
|
|
149
|
+
* Eyebrow labels, category badges, section markers.
|
|
150
|
+
* Always uppercase with wide tracking.
|
|
151
|
+
* ─────────────────────────────────────────────────────────────────────────── */
|
|
152
|
+
|
|
153
|
+
@utility t-overline {
|
|
154
|
+
font-size: var(--text-3xs);
|
|
155
|
+
@apply ax:font-semibold ax:leading-none ax:tracking-widest ax:uppercase;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
/* ── Code ───────────────────────────────────────────────────────────────────
|
|
159
|
+
* Monospace content: code snippets, property IDs, API values.
|
|
160
|
+
* ─────────────────────────────────────────────────────────────────────────── */
|
|
161
|
+
|
|
162
|
+
@utility t-code {
|
|
163
|
+
@apply ax:font-mono ax:text-sm ax:font-normal ax:leading-relaxed ax:tracking-tight;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
/* ── Micro ──────────────────────────────────────────────────────────────────
|
|
167
|
+
* Sub-caption annotations: "Before / After", status micro-labels, dense
|
|
168
|
+
* data badges. 10 px. Use only when truly space-constrained.
|
|
169
|
+
* ─────────────────────────────────────────────────────────────────────────── */
|
|
170
|
+
|
|
171
|
+
@utility t-micro {
|
|
172
|
+
@apply ax:text-[10px] ax:font-medium ax:leading-none ax:tracking-wide;
|
|
173
|
+
}
|
|
@@ -0,0 +1,406 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* ThinkProp theme - theme.css
|
|
3
|
+
*
|
|
4
|
+
* ThinkProp brand tokens.
|
|
5
|
+
*
|
|
6
|
+
* Brand identity:
|
|
7
|
+
* Primary Olive/sage green hsl(208 60% 40%) - actions, links, the brand spark
|
|
8
|
+
* Secondary Warm sand (neutral copy) - quiet utility surfaces
|
|
9
|
+
* Accent Warm amber hsl(23 88% 62%) - emphasis highlights
|
|
10
|
+
* Neutrals Warm ivory/sand (38° hue, 10% sat)
|
|
11
|
+
*
|
|
12
|
+
* Typography: Switzer. Full-pill buttons & inputs, tight 8px cards / 10px modals,
|
|
13
|
+
* square badges, soft tinted background, borderless cards with xs elevation.
|
|
14
|
+
*
|
|
15
|
+
* Layer 1 - primitives (neutrals + primary / secondary / accent / status scales)
|
|
16
|
+
* Layer 2 - semantic tokens (--background, --primary, etc.) consumed by the design system
|
|
17
|
+
*
|
|
18
|
+
* Pulled in by @adres/thinkprop-ui/styles; apps do not import it directly.
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
:root {
|
|
22
|
+
/* ─── Layer 1 - primitives ──────────────────────────────────────────── */
|
|
23
|
+
|
|
24
|
+
/* Neutrals - warm ivory/sand (h:38, s:10%) */
|
|
25
|
+
--neutral-50: 30 6% 98%;
|
|
26
|
+
--neutral-100: 30 6% 94%;
|
|
27
|
+
--neutral-200: 30 6% 90%;
|
|
28
|
+
--neutral-300: 30 6% 80%;
|
|
29
|
+
--neutral-400: 30 6% 65%;
|
|
30
|
+
--neutral-500: 30 6% 45%;
|
|
31
|
+
--neutral-600: 30 6% 35%;
|
|
32
|
+
--neutral-700: 30 6% 28%;
|
|
33
|
+
--neutral-800: 30 6% 20%;
|
|
34
|
+
--neutral-900: 30 6% 10%;
|
|
35
|
+
--neutral-950: 30 6% 6%;
|
|
36
|
+
|
|
37
|
+
/* Primary scale - olive/sage green, the brand spark */
|
|
38
|
+
--primary-50: 208 60% 98%;
|
|
39
|
+
--primary-100: 208 60% 94%;
|
|
40
|
+
--primary-200: 208 60% 90%;
|
|
41
|
+
--primary-300: 208 60% 80%;
|
|
42
|
+
--primary-400: 208 60% 65%;
|
|
43
|
+
--primary-500: 208 60% 50%;
|
|
44
|
+
--primary-600: 208 60% 35%;
|
|
45
|
+
--primary-700: 208 60% 28%;
|
|
46
|
+
--primary-800: 208 60% 20%;
|
|
47
|
+
--primary-900: 208 60% 10%;
|
|
48
|
+
--primary-950: 208 60% 6%;
|
|
49
|
+
|
|
50
|
+
/* Secondary scale */
|
|
51
|
+
--secondary-50: 208 20% 98%;
|
|
52
|
+
--secondary-100: 208 20% 94%;
|
|
53
|
+
--secondary-200: 208 20% 90%;
|
|
54
|
+
--secondary-300: 208 20% 80%;
|
|
55
|
+
--secondary-400: 208 20% 65%;
|
|
56
|
+
--secondary-500: 208 20% 50%;
|
|
57
|
+
--secondary-600: 208 20% 35%;
|
|
58
|
+
--secondary-700: 208 20% 28%;
|
|
59
|
+
--secondary-800: 208 20% 20%;
|
|
60
|
+
--secondary-900: 208 20% 10%;
|
|
61
|
+
--secondary-950: 208 20% 6%;
|
|
62
|
+
|
|
63
|
+
/* Accent scale - warm amber/orange, emphasis highlights */
|
|
64
|
+
--accent-50: 23 88% 98%;
|
|
65
|
+
--accent-100: 23 88% 94%;
|
|
66
|
+
--accent-200: 23 88% 90%;
|
|
67
|
+
--accent-300: 23 88% 80%;
|
|
68
|
+
--accent-400: 23 88% 65%;
|
|
69
|
+
--accent-500: 23 88% 50%;
|
|
70
|
+
--accent-600: 23 88% 40%;
|
|
71
|
+
--accent-700: 23 88% 30%;
|
|
72
|
+
--accent-800: 23 88% 20%;
|
|
73
|
+
--accent-900: 23 88% 10%;
|
|
74
|
+
--accent-950: 23 88% 6%;
|
|
75
|
+
|
|
76
|
+
/* Status - destructive / success / warning. Unified palette, identical across
|
|
77
|
+
* all Adres brands (explicit HSL, full 50→950 scale). */
|
|
78
|
+
--destructive-50: 6 68% 97%;
|
|
79
|
+
--destructive-100: 6 68% 92%;
|
|
80
|
+
--destructive-200: 6 68% 86%;
|
|
81
|
+
--destructive-300: 6 68% 74%;
|
|
82
|
+
--destructive-400: 6 68% 62%;
|
|
83
|
+
--destructive-500: 6 68% 50%;
|
|
84
|
+
--destructive-600: 6 68% 40%;
|
|
85
|
+
--destructive-700: 6 68% 30%;
|
|
86
|
+
--destructive-800: 6 68% 20%;
|
|
87
|
+
--destructive-900: 6 68% 10%;
|
|
88
|
+
--destructive-950: 6 68% 6%;
|
|
89
|
+
|
|
90
|
+
--success-50: 154 66% 97%;
|
|
91
|
+
--success-100: 154 66% 92%;
|
|
92
|
+
--success-200: 154 66% 86%;
|
|
93
|
+
--success-300: 154 66% 74%;
|
|
94
|
+
--success-400: 154 66% 62%;
|
|
95
|
+
--success-500: 154 66% 50%;
|
|
96
|
+
--success-600: 154 66% 40%;
|
|
97
|
+
--success-700: 154 66% 30%;
|
|
98
|
+
--success-800: 154 66% 20%;
|
|
99
|
+
--success-900: 154 66% 10%;
|
|
100
|
+
--success-950: 154 66% 6%;
|
|
101
|
+
|
|
102
|
+
--warning-50: 33 74% 97%;
|
|
103
|
+
--warning-100: 33 74% 92%;
|
|
104
|
+
--warning-200: 33 74% 86%;
|
|
105
|
+
--warning-300: 33 74% 74%;
|
|
106
|
+
--warning-400: 33 74% 62%;
|
|
107
|
+
--warning-500: 33 74% 50%;
|
|
108
|
+
--warning-600: 33 74% 40%;
|
|
109
|
+
--warning-700: 33 74% 30%;
|
|
110
|
+
--warning-800: 33 74% 20%;
|
|
111
|
+
--warning-900: 33 74% 10%;
|
|
112
|
+
--warning-950: 33 74% 6%;
|
|
113
|
+
|
|
114
|
+
/* ─── Typography primitives ──────────────────────────────────────────── */
|
|
115
|
+
--font-family-sans:
|
|
116
|
+
"Switzer-Variable", "Switzer", "Inter", ui-sans-serif, system-ui, -apple-system,
|
|
117
|
+
"Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
118
|
+
|
|
119
|
+
/* ─── Brand-specific radius (overrides design-system defaults) ──────────
|
|
120
|
+
* Button radius "full" - pill applied ONLY to --radius (Button/Badge tokens).
|
|
121
|
+
* --radius-xs / --radius-sm intentionally stay small so they don't leak the
|
|
122
|
+
* pill into Checkbox, Dialog/Drawer close buttons, etc.
|
|
123
|
+
* --input-radius chains to --radius-md (not --radius) so RadioCard,
|
|
124
|
+
* CheckboxCard, Input, Select, etc. get tight corners instead of pill.
|
|
125
|
+
* UI radius "sm" - tight cards / modals / panels. Badge radius "sm".
|
|
126
|
+
* ───────────────────────────────────────────────────────────────────── */
|
|
127
|
+
--radius-xs: 0.375rem; /* small details - stays non-pill */
|
|
128
|
+
--radius-sm: 0.25rem; /* checkboxes, dialog close - stays non-pill */
|
|
129
|
+
--radius: 9999px; /* DEFAULT - buttons */
|
|
130
|
+
--radius-md: 0.5rem; /* cards */
|
|
131
|
+
--radius-lg: 0.625rem; /* modals */
|
|
132
|
+
--radius-xl: 0.75rem;
|
|
133
|
+
--radius-full: 9999px;
|
|
134
|
+
--radius-badge: 9999px; /* badges */
|
|
135
|
+
--button-radius: var(--radius);
|
|
136
|
+
--input-radius: var(--radius-md);
|
|
137
|
+
|
|
138
|
+
/* ─── Component-level overrides ──────────────────────────────────────── */
|
|
139
|
+
--card-border-color: transparent; /* cardBorderless: true */
|
|
140
|
+
--card-shadow: var(--shadow-xs); /* cardElevation: "xs" */
|
|
141
|
+
|
|
142
|
+
/* Button shadows (--shadow-primary-btn / --shadow-destructive-btn) come from
|
|
143
|
+
* @adres/thinkprop-ui/base.css and apply to every brand via the Button
|
|
144
|
+
* `elevated` prop - no ThinkProp-specific override needed. */
|
|
145
|
+
|
|
146
|
+
/* ─── Background elevation scale ────────────────────────────────────────
|
|
147
|
+
* Five levels from sunken to floating. Light: elevation = shadow, not bg
|
|
148
|
+
* lightness (levels 1–3 all white). Dark: bg lightness carries elevation.
|
|
149
|
+
* Use bg-surface-n1 … bg-surface-3 as Tailwind utilities.
|
|
150
|
+
* ─────────────────────────────────────────────────────────────────────── */
|
|
151
|
+
--surface-n1: var(--neutral-200); /* sunken - inset areas, table striping */
|
|
152
|
+
--surface-0: var(--neutral-100); /* page - same as --background */
|
|
153
|
+
--surface-1: var(--neutral-50); /* raised - cards, panels */
|
|
154
|
+
--surface-2: 100 100% 100%; /* overlay - popovers, dropdowns */
|
|
155
|
+
--surface-3: var(--neutral-300); /* floating - modals, sheets */
|
|
156
|
+
|
|
157
|
+
/* ─── Layer 2 - semantic tokens (LIGHT theme) ───────────────────────────
|
|
158
|
+
* These are the names the design system consumes.
|
|
159
|
+
* Format: HSL channels only (no hsl() wrapper) - design-system wraps them.
|
|
160
|
+
* ───────────────────────────────────────────────────────────────────── */
|
|
161
|
+
|
|
162
|
+
--background: var(--neutral-50);
|
|
163
|
+
--foreground: var(--neutral-700);
|
|
164
|
+
--foreground-strong: var(--neutral-900);
|
|
165
|
+
--foreground-muted: var(--neutral);
|
|
166
|
+
|
|
167
|
+
--card: var(--white);
|
|
168
|
+
--card-foreground: var(--neutral-700);
|
|
169
|
+
|
|
170
|
+
--popover: var(--white);
|
|
171
|
+
--popover-foreground: var(--neutral-600);
|
|
172
|
+
|
|
173
|
+
--primary: var(--primary-500);
|
|
174
|
+
--primary-foreground: var(--primary-600);
|
|
175
|
+
|
|
176
|
+
--secondary: var(--secondary-500);
|
|
177
|
+
--secondary-foreground: var(--secondary-600);
|
|
178
|
+
|
|
179
|
+
--accent: var(--accent-500);
|
|
180
|
+
--accent-foreground: var(--accent-600);
|
|
181
|
+
|
|
182
|
+
--muted: var(--neutral-50);
|
|
183
|
+
--muted-foreground: var(--neutral);
|
|
184
|
+
|
|
185
|
+
--selected: var(--neutral-200);
|
|
186
|
+
|
|
187
|
+
--destructive: var(--destructive-500);
|
|
188
|
+
--destructive-foreground: var(--destructive-700);
|
|
189
|
+
|
|
190
|
+
--success: var(--success-500);
|
|
191
|
+
--success-foreground: var(--success-700);
|
|
192
|
+
|
|
193
|
+
--warning: var(--warning-500);
|
|
194
|
+
--warning-foreground: var(--warning-700);
|
|
195
|
+
|
|
196
|
+
--border: var(--neutral-200);
|
|
197
|
+
--border-strong: var(--neutral-300);
|
|
198
|
+
--input: var(--neutral-300);
|
|
199
|
+
--ring: var(--primary);
|
|
200
|
+
|
|
201
|
+
/* ─── Named aliases - point at numbered steps so DS @theme inline mapping
|
|
202
|
+
* (--color-primary-weakest, --color-accent-stronger, etc.) resolves to a
|
|
203
|
+
* single edit point per palette: the numbered scale above.
|
|
204
|
+
* ─────────────────────────────────────────────────────────────────────── */
|
|
205
|
+
|
|
206
|
+
--neutral: var(--neutral-500);
|
|
207
|
+
--neutral-muted: var(--neutral-50);
|
|
208
|
+
--neutral-weakest: var(--neutral-100);
|
|
209
|
+
--neutral-weaker: var(--neutral-200);
|
|
210
|
+
--neutral-weak: var(--neutral-300);
|
|
211
|
+
--neutral-strong: var(--neutral-700);
|
|
212
|
+
--neutral-stronger: var(--neutral-800);
|
|
213
|
+
--neutral-strongest: var(--neutral-900);
|
|
214
|
+
|
|
215
|
+
--primary-muted: var(--primary-50);
|
|
216
|
+
--primary-weakest: var(--primary-100);
|
|
217
|
+
--primary-weaker: var(--primary-200);
|
|
218
|
+
--primary-weak: var(--primary-300);
|
|
219
|
+
--primary-strong: var(--primary-700);
|
|
220
|
+
--primary-stronger: var(--primary-800);
|
|
221
|
+
--primary-strongest: var(--primary-900);
|
|
222
|
+
|
|
223
|
+
--secondary-muted: var(--secondary-50);
|
|
224
|
+
--secondary-weakest: var(--secondary-100);
|
|
225
|
+
--secondary-weaker: var(--secondary-200);
|
|
226
|
+
--secondary-weak: var(--secondary-300);
|
|
227
|
+
--secondary-strong: var(--secondary-700);
|
|
228
|
+
--secondary-stronger: var(--secondary-800);
|
|
229
|
+
--secondary-strongest: var(--secondary-900);
|
|
230
|
+
|
|
231
|
+
--accent-muted: var(--accent-50);
|
|
232
|
+
--accent-weakest: var(--accent-100);
|
|
233
|
+
--accent-weaker: var(--accent-200);
|
|
234
|
+
--accent-weak: var(--accent-300);
|
|
235
|
+
--accent-strong: var(--accent-700);
|
|
236
|
+
--accent-stronger: var(--accent-800);
|
|
237
|
+
--accent-strongest: var(--accent-900);
|
|
238
|
+
|
|
239
|
+
--destructive-muted: var(--destructive-50);
|
|
240
|
+
--destructive-weakest: var(--destructive-100);
|
|
241
|
+
--destructive-weaker: var(--destructive-200);
|
|
242
|
+
--destructive-weak: var(--destructive-300);
|
|
243
|
+
--destructive-strong: var(--destructive-700);
|
|
244
|
+
--destructive-stronger: var(--destructive-800);
|
|
245
|
+
--destructive-strongest: var(--destructive-900);
|
|
246
|
+
|
|
247
|
+
--success-muted: var(--success-50);
|
|
248
|
+
--success-weakest: var(--success-100);
|
|
249
|
+
--success-weaker: var(--success-200);
|
|
250
|
+
--success-weak: var(--success-300);
|
|
251
|
+
--success-strong: var(--success-700);
|
|
252
|
+
--success-stronger: var(--success-800);
|
|
253
|
+
--success-strongest: var(--success-900);
|
|
254
|
+
|
|
255
|
+
--warning-muted: var(--warning-50);
|
|
256
|
+
--warning-weakest: var(--warning-100);
|
|
257
|
+
--warning-weaker: var(--warning-200);
|
|
258
|
+
--warning-weak: var(--warning-300);
|
|
259
|
+
--warning-strong: var(--warning-700);
|
|
260
|
+
--warning-stronger: var(--warning-800);
|
|
261
|
+
--warning-strongest: var(--warning-900);
|
|
262
|
+
|
|
263
|
+
/* ─── Data visualisation palette ────────────────────────────────────────────
|
|
264
|
+
* Categorical colours for charts, graphs, and maps ONLY.
|
|
265
|
+
* Source: Tableau 10 (production-tested, perceptually balanced).
|
|
266
|
+
* Do NOT use these for UI chrome - they exist solely for data encoding.
|
|
267
|
+
* ────────────────────────────────────────────────────────────────────────── */
|
|
268
|
+
--chart-1: 211 36% 48%;
|
|
269
|
+
--chart-2: 30 88% 56%;
|
|
270
|
+
--chart-3: 359 70% 61%;
|
|
271
|
+
--chart-4: 175 31% 59%;
|
|
272
|
+
--chart-5: 113 34% 47%;
|
|
273
|
+
--chart-6: 47 82% 61%;
|
|
274
|
+
--chart-7: 316 25% 58%;
|
|
275
|
+
--chart-8: 354 100% 81%;
|
|
276
|
+
--chart-9: 22 24% 49%;
|
|
277
|
+
--chart-10: 20 10% 70%;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
/* ─── Layer 2 - semantic tokens (DARK theme) ──────────────────────────────
|
|
281
|
+
* Activated when `.dark` class is present on <html> or any ancestor.
|
|
282
|
+
* ─────────────────────────────────────────────────────────────────────── */
|
|
283
|
+
|
|
284
|
+
.dark,
|
|
285
|
+
:root[data-theme="dark"] {
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
/* Strong-emphasis aliases inverted for dark surfaces - light step reads
|
|
290
|
+
* as a confident brand colour on the dark background. */
|
|
291
|
+
|
|
292
|
+
/* Data visualisation - lightened and more vivid for dark backgrounds */
|
|
293
|
+
--chart-1: 211 70% 65%;
|
|
294
|
+
--chart-2: 30 95% 63%;
|
|
295
|
+
--chart-3: 359 85% 70%;
|
|
296
|
+
--chart-4: 175 55% 65%;
|
|
297
|
+
--chart-5: 113 50% 58%;
|
|
298
|
+
--chart-6: 47 90% 68%;
|
|
299
|
+
--chart-7: 316 68% 68%;
|
|
300
|
+
--chart-8: 354 100% 85%;
|
|
301
|
+
--chart-9: 22 55% 62%;
|
|
302
|
+
--chart-10: 220 15% 72%;
|
|
303
|
+
|
|
304
|
+
/* Emphasis aliases INVERT in dark: weak side -> dark steps, strong side -> light steps. */
|
|
305
|
+
--primary-muted: var(--primary-950);
|
|
306
|
+
--primary-weakest: var(--primary-900);
|
|
307
|
+
--primary-weaker: var(--primary-800);
|
|
308
|
+
--primary-weak: var(--primary-700);
|
|
309
|
+
--primary-strong: var(--primary-400);
|
|
310
|
+
--primary-stronger: var(--primary-300);
|
|
311
|
+
--primary-strongest: var(--primary-200);
|
|
312
|
+
|
|
313
|
+
--secondary-muted: var(--secondary-950);
|
|
314
|
+
--secondary-weakest: var(--secondary-900);
|
|
315
|
+
--secondary-weaker: var(--secondary-800);
|
|
316
|
+
--secondary-weak: var(--secondary-700);
|
|
317
|
+
--secondary-strong: var(--secondary-400);
|
|
318
|
+
--secondary-stronger: var(--secondary-300);
|
|
319
|
+
--secondary-strongest: var(--secondary-200);
|
|
320
|
+
|
|
321
|
+
--accent-muted: var(--accent-950);
|
|
322
|
+
--accent-weakest: var(--accent-900);
|
|
323
|
+
--accent-weaker: var(--accent-800);
|
|
324
|
+
--accent-weak: var(--accent-700);
|
|
325
|
+
--accent-strong: var(--accent-400);
|
|
326
|
+
--accent-stronger: var(--accent-300);
|
|
327
|
+
--accent-strongest: var(--accent-200);
|
|
328
|
+
|
|
329
|
+
--neutral-muted: var(--neutral-950);
|
|
330
|
+
--neutral-weakest: var(--neutral-900);
|
|
331
|
+
--neutral-weaker: var(--neutral-800);
|
|
332
|
+
--neutral-weak: var(--neutral-700);
|
|
333
|
+
--neutral-strong: var(--neutral-400);
|
|
334
|
+
--neutral-stronger: var(--neutral-300);
|
|
335
|
+
--neutral-strongest: var(--neutral-200);
|
|
336
|
+
|
|
337
|
+
--destructive-muted: var(--destructive-950);
|
|
338
|
+
--destructive-weakest: var(--destructive-900);
|
|
339
|
+
--destructive-weaker: var(--destructive-800);
|
|
340
|
+
--destructive-weak: var(--destructive-700);
|
|
341
|
+
--destructive-strong: var(--destructive-400);
|
|
342
|
+
--destructive-stronger: var(--destructive-300);
|
|
343
|
+
--destructive-strongest: var(--destructive-200);
|
|
344
|
+
|
|
345
|
+
--success-muted: var(--success-950);
|
|
346
|
+
--success-weakest: var(--success-900);
|
|
347
|
+
--success-weaker: var(--success-800);
|
|
348
|
+
--success-weak: var(--success-700);
|
|
349
|
+
--success-strong: var(--success-400);
|
|
350
|
+
--success-stronger: var(--success-300);
|
|
351
|
+
--success-strongest: var(--success-200);
|
|
352
|
+
|
|
353
|
+
--warning-muted: var(--warning-950);
|
|
354
|
+
--warning-weakest: var(--warning-900);
|
|
355
|
+
--warning-weaker: var(--warning-800);
|
|
356
|
+
--warning-weak: var(--warning-700);
|
|
357
|
+
--warning-strong: var(--warning-400);
|
|
358
|
+
--warning-stronger: var(--warning-300);
|
|
359
|
+
--warning-strongest: var(--warning-200);
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
--surface-n1: 30 6% 4%; /* deeper than page - true sunken */
|
|
363
|
+
--surface-0: var(--neutral-950); /* page background */
|
|
364
|
+
--surface-1: var(--neutral-900); /* cards */
|
|
365
|
+
--surface-2: var(--neutral-800); /* popovers, dropdowns */
|
|
366
|
+
--surface-3: var(--neutral-700); /* modals, floating sheets */
|
|
367
|
+
|
|
368
|
+
--background: var(--neutral-900);
|
|
369
|
+
--foreground: var(--neutral-300);
|
|
370
|
+
--foreground-strong: var(--neutral-100);
|
|
371
|
+
--foreground-muted: var(--neutral);
|
|
372
|
+
|
|
373
|
+
--card: var(--neutral-950);
|
|
374
|
+
--card-foreground: var(--neutral-300);
|
|
375
|
+
|
|
376
|
+
--popover: var(--neutral-950);
|
|
377
|
+
--popover-foreground: var(--neutral-400);
|
|
378
|
+
|
|
379
|
+
--primary: var(--primary-500);
|
|
380
|
+
--primary-foreground: var(--primary-400);
|
|
381
|
+
|
|
382
|
+
--secondary: var(--secondary-500);
|
|
383
|
+
--secondary-foreground: var(--secondary-400);
|
|
384
|
+
|
|
385
|
+
--accent: var(--accent-500);
|
|
386
|
+
--accent-foreground: var(--accent-400);
|
|
387
|
+
|
|
388
|
+
--muted: var(--neutral-900);
|
|
389
|
+
--muted-foreground: var(--neutral);
|
|
390
|
+
|
|
391
|
+
--selected: var(--neutral-800);
|
|
392
|
+
|
|
393
|
+
--destructive: var(--destructive-500);
|
|
394
|
+
--destructive-foreground: var(--destructive-400);
|
|
395
|
+
|
|
396
|
+
--success: var(--success-500);
|
|
397
|
+
--success-foreground: var(--success-400);
|
|
398
|
+
|
|
399
|
+
--warning: var(--warning-500);
|
|
400
|
+
--warning-foreground: var(--warning-400);
|
|
401
|
+
|
|
402
|
+
--border: var(--neutral-800);
|
|
403
|
+
--border-strong: var(--neutral-700);
|
|
404
|
+
--input: var(--neutral-700);
|
|
405
|
+
--ring: var(--primary);
|
|
406
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { BrandMeta, BrandTokens } from "./types"
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @adres/brand-thinkprop - authored brand facts
|
|
5
|
+
*
|
|
6
|
+
* Palette, type, and radius live in `theme.css`. This file is meta, shape, and voice.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
export const thinkpropBrand = {
|
|
10
|
+
name: "ThinkProp",
|
|
11
|
+
description:
|
|
12
|
+
"ThinkProp Business brand. Vermilion primary, lime accent, cool blue-gray neutral, secondary = neutral copy, full-pill CTAs, tight UI radii.",
|
|
13
|
+
id: "thinkprop",
|
|
14
|
+
} as const satisfies BrandMeta
|
|
15
|
+
|
|
16
|
+
export const thinkpropTokens = {
|
|
17
|
+
shape: {
|
|
18
|
+
softBg: true,
|
|
19
|
+
cardBorderless: true,
|
|
20
|
+
cardElevation: "xs",
|
|
21
|
+
tabsRounded: false,
|
|
22
|
+
},
|
|
23
|
+
voice: {
|
|
24
|
+
personality: ["Professional", "Trustworthy", "Premium", "Clear"],
|
|
25
|
+
avoid: ["Cute", "Casual", "Cluttered"],
|
|
26
|
+
},
|
|
27
|
+
} as const satisfies BrandTokens
|
|
28
|
+
|
|
29
|
+
export type ThinkpropTokens = typeof thinkpropTokens
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/** Registry metadata for the theme. */
|
|
2
|
+
export interface BrandMeta {
|
|
3
|
+
id: string
|
|
4
|
+
name: string
|
|
5
|
+
description: string
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export type BrandCardElevation = "none" | "xs" | "sm" | "md"
|
|
9
|
+
|
|
10
|
+
/** Authored JS facts CSS cannot express. Palette values live in theme.css. */
|
|
11
|
+
export interface BrandTokens {
|
|
12
|
+
shape: BrandTokenShape
|
|
13
|
+
voice: BrandTokenVoice
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export interface BrandTokenShape {
|
|
17
|
+
softBg: boolean
|
|
18
|
+
cardBorderless: boolean
|
|
19
|
+
cardElevation: BrandCardElevation
|
|
20
|
+
tabsRounded: boolean
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export interface BrandTokenVoice {
|
|
24
|
+
personality: readonly string[]
|
|
25
|
+
avoid: readonly string[]
|
|
26
|
+
}
|
package/README.md
DELETED