@siena-ai/design-system 0.0.29 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/globals.css +22 -114
- package/dist/index.d.ts +1418 -2173
- package/dist/index.js +28003 -33763
- package/dist/index.js.map +1 -1
- package/package.json +14 -21
package/dist/globals.css
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
down ancient walls, Renaissance elegance, and timeless beauty.
|
|
15
15
|
|
|
16
16
|
Design Principles:
|
|
17
|
-
1. Typography is the hero —
|
|
17
|
+
1. Typography is the hero — Fraunces serif for headlines
|
|
18
18
|
2. Warm color palette — cream, bougainvillea purple, sage, ochre
|
|
19
19
|
3. No gimmicks — no glows, gradients, or glassmorphism
|
|
20
20
|
4. Generous whitespace — content breathes
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
*/
|
|
25
25
|
|
|
26
26
|
@theme inline {
|
|
27
|
-
/* Font families
|
|
28
|
-
/* SWAP FONTS:
|
|
27
|
+
/* Font families - Next.js sets font CSS vars via body class */
|
|
28
|
+
/* SWAP FONTS HERE: use --font-funnel for Funnel Sans, --font-geist for Geist */
|
|
29
29
|
--font-sans: var(--font-funnel), ui-sans-serif, system-ui, sans-serif;
|
|
30
|
-
--font-serif: var(--font-
|
|
30
|
+
--font-serif: var(--font-fraunces), ui-serif, Georgia, serif;
|
|
31
31
|
|
|
32
32
|
/* Border radius - slightly softer */
|
|
33
33
|
--radius-sm: 0.375rem;
|
|
@@ -47,9 +47,6 @@
|
|
|
47
47
|
--color-siena-sky: var(--siena-sky);
|
|
48
48
|
--color-siena-tuscan-stone: var(--siena-tuscan-stone);
|
|
49
49
|
|
|
50
|
-
/* CSAT star rating color */
|
|
51
|
-
--color-csat-star: var(--csat-star);
|
|
52
|
-
|
|
53
50
|
/* Base semantic colors - reference CSS variables for dark mode support */
|
|
54
51
|
--color-background: var(--background);
|
|
55
52
|
--color-foreground: var(--foreground);
|
|
@@ -85,11 +82,11 @@
|
|
|
85
82
|
|
|
86
83
|
:root, :host{
|
|
87
84
|
/* ─────────────────────────────────────────────────────────────
|
|
88
|
-
FONT FAMILIES — Runtime override (Next.js sets --font-
|
|
89
|
-
Tailwind's @theme compiles out var(--font-
|
|
85
|
+
FONT FAMILIES — Runtime override (Next.js sets --font-fraunces via body class)
|
|
86
|
+
Tailwind's @theme compiles out var(--font-fraunces) since it doesn't exist at build time.
|
|
90
87
|
We re-declare here so the runtime value takes precedence.
|
|
91
88
|
───────────────────────────────────────────────────────────── */
|
|
92
|
-
--font-serif: var(--font-
|
|
89
|
+
--font-serif: var(--font-fraunces), ui-serif, Georgia, serif;
|
|
93
90
|
--font-sans: var(--font-funnel), ui-sans-serif, system-ui, sans-serif;
|
|
94
91
|
|
|
95
92
|
/* ─────────────────────────────────────────────────────────────
|
|
@@ -197,9 +194,6 @@
|
|
|
197
194
|
CHAT TOKENS — Siena Chat System
|
|
198
195
|
───────────────────────────────────────────────────────────── */
|
|
199
196
|
|
|
200
|
-
/* CSAT Star Rating - Warm, sunny gold (App Store style) */
|
|
201
|
-
--csat-star: #F5C842;
|
|
202
|
-
|
|
203
197
|
/* Message Bubbles */
|
|
204
198
|
--chat-user-bg: #E8E4DF;
|
|
205
199
|
--chat-user-fg: #1A1A1A;
|
|
@@ -229,7 +223,7 @@
|
|
|
229
223
|
AVATAR COLOR PALETTE — 14 Solid Earthy Colors
|
|
230
224
|
───────────────────────────────────────────────────────────── */
|
|
231
225
|
|
|
232
|
-
--avatar-bougainvillea: #
|
|
226
|
+
--avatar-bougainvillea: #9B4DAF;
|
|
233
227
|
--avatar-terracotta: #C45D35;
|
|
234
228
|
--avatar-rust: #A44A3F;
|
|
235
229
|
--avatar-clay: #B67352;
|
|
@@ -277,15 +271,6 @@
|
|
|
277
271
|
TYPOGRAPHY — The Hero of the Design
|
|
278
272
|
═══════════════════════════════════════════════════════════════ */
|
|
279
273
|
|
|
280
|
-
/* DISPLAY H1/H2: PP Editorial New for headline headings.
|
|
281
|
-
Outside @layer so it beats Tailwind v4's font-sans on body.
|
|
282
|
-
Uses direct --font-display variable (single hop) with literal fallback.
|
|
283
|
-
To swap display fonts: change layout.tsx config + update fallback name here. */
|
|
284
|
-
h1, h2 {
|
|
285
|
-
font-family: var(--font-display, "PP Editorial New"), "EB Garamond", Georgia, serif !important;
|
|
286
|
-
font-weight: 400 !important;
|
|
287
|
-
}
|
|
288
|
-
|
|
289
274
|
@layer base {
|
|
290
275
|
/* Shared heading styles */
|
|
291
276
|
h1, h2, h3, h4, h5, h6 {
|
|
@@ -294,6 +279,11 @@ h1, h2 {
|
|
|
294
279
|
text-wrap: balance;
|
|
295
280
|
}
|
|
296
281
|
|
|
282
|
+
/* SERIF: Only h1 and h2 use Fraunces */
|
|
283
|
+
h1, h2 {
|
|
284
|
+
font-family: var(--font-serif);
|
|
285
|
+
}
|
|
286
|
+
|
|
297
287
|
/* SANS-SERIF: h3-h6 use Geist/Funnel Sans (default font-sans) */
|
|
298
288
|
h3, h4, h5, h6 {
|
|
299
289
|
font-family: var(--font-sans);
|
|
@@ -386,9 +376,9 @@ h1, h2 {
|
|
|
386
376
|
═══════════════════════════════════════════════════════════════ */
|
|
387
377
|
|
|
388
378
|
@layer utilities {
|
|
389
|
-
/* Serif headings utility
|
|
379
|
+
/* Serif headings utility */
|
|
390
380
|
.font-serif {
|
|
391
|
-
font-family: var(--font-serif)
|
|
381
|
+
font-family: var(--font-serif);
|
|
392
382
|
}
|
|
393
383
|
|
|
394
384
|
/* Bougainvillea text accent */
|
|
@@ -473,12 +463,12 @@ h1, h2 {
|
|
|
473
463
|
|
|
474
464
|
/* SELECTED — User actively chose this option (OptionCard, template picker) */
|
|
475
465
|
.state-selected {
|
|
476
|
-
@apply border-
|
|
466
|
+
@apply border-primary bg-primary/5;
|
|
477
467
|
}
|
|
478
468
|
|
|
479
469
|
/* ACTIVE FILTER — A filter/toggle is currently applied (softer than selected) */
|
|
480
470
|
.state-active-filter {
|
|
481
|
-
@apply border-
|
|
471
|
+
@apply border-primary/50 bg-primary/5;
|
|
482
472
|
}
|
|
483
473
|
|
|
484
474
|
/* EXPANDED — Collapsible content is open (NOT an action, just state) */
|
|
@@ -983,17 +973,6 @@ h1, h2 {
|
|
|
983
973
|
@apply text-foreground decoration-foreground;
|
|
984
974
|
}
|
|
985
975
|
|
|
986
|
-
/* ── Link utility classes ────────────────────────────────────────────── */
|
|
987
|
-
/* Inline text links (embedded in body text, descriptions, tooltips) */
|
|
988
|
-
.link-inline {
|
|
989
|
-
@apply text-foreground underline underline-offset-4 decoration-muted-foreground/50;
|
|
990
|
-
@apply hover:decoration-foreground transition-colors;
|
|
991
|
-
}
|
|
992
|
-
/* Action links ("Learn more", "View all", "Edit", navigation-style) */
|
|
993
|
-
.link-action {
|
|
994
|
-
@apply text-muted-foreground hover:text-foreground transition-colors;
|
|
995
|
-
}
|
|
996
|
-
|
|
997
976
|
.prose-siena ul,
|
|
998
977
|
.prose-siena ol {
|
|
999
978
|
@apply text-muted-foreground;
|
|
@@ -1009,48 +988,6 @@ h1, h2 {
|
|
|
1009
988
|
@apply border-l-2 border-primary pl-3 italic;
|
|
1010
989
|
@apply text-muted-foreground;
|
|
1011
990
|
}
|
|
1012
|
-
|
|
1013
|
-
/* ─────────────────────────────────────────────────────────────────
|
|
1014
|
-
PROSE-CHAT — For chat messages (WCAG AA contrast)
|
|
1015
|
-
Full foreground color for maximum readability
|
|
1016
|
-
───────────────────────────────────────────────────────────────── */
|
|
1017
|
-
|
|
1018
|
-
.prose-chat {
|
|
1019
|
-
@apply text-foreground;
|
|
1020
|
-
}
|
|
1021
|
-
|
|
1022
|
-
.prose-chat p {
|
|
1023
|
-
@apply text-foreground leading-snug;
|
|
1024
|
-
margin-bottom: 0.5em;
|
|
1025
|
-
}
|
|
1026
|
-
|
|
1027
|
-
.prose-chat ul,
|
|
1028
|
-
.prose-chat ol {
|
|
1029
|
-
@apply text-foreground;
|
|
1030
|
-
margin-bottom: 0.5em;
|
|
1031
|
-
padding-left: 1.25em;
|
|
1032
|
-
}
|
|
1033
|
-
|
|
1034
|
-
.prose-chat li {
|
|
1035
|
-
margin-bottom: 0.125em;
|
|
1036
|
-
}
|
|
1037
|
-
|
|
1038
|
-
.prose-chat a {
|
|
1039
|
-
@apply text-foreground underline underline-offset-4 decoration-muted-foreground/50;
|
|
1040
|
-
transition: color 150ms, text-decoration-color 150ms;
|
|
1041
|
-
}
|
|
1042
|
-
|
|
1043
|
-
.prose-chat a:hover {
|
|
1044
|
-
@apply text-foreground decoration-foreground;
|
|
1045
|
-
}
|
|
1046
|
-
|
|
1047
|
-
.prose-chat blockquote {
|
|
1048
|
-
@apply border-l-2 border-primary pl-3 italic text-foreground/80;
|
|
1049
|
-
}
|
|
1050
|
-
|
|
1051
|
-
.prose-chat code {
|
|
1052
|
-
@apply text-foreground bg-muted px-1 py-0.5 rounded text-[0.875em];
|
|
1053
|
-
}
|
|
1054
991
|
}
|
|
1055
992
|
|
|
1056
993
|
/*
|
|
@@ -1105,9 +1042,9 @@ h1, h2 {
|
|
|
1105
1042
|
--siena-bougainvillea-dark: #9B4DAF;
|
|
1106
1043
|
--siena-bougainvillea-light: #DBA3E8;
|
|
1107
1044
|
|
|
1108
|
-
--siena-sage: #
|
|
1109
|
-
--siena-sage-dark: #
|
|
1110
|
-
--siena-sage-light: #
|
|
1045
|
+
--siena-sage: #5D7A5F;
|
|
1046
|
+
--siena-sage-dark: #3D5A3F;
|
|
1047
|
+
--siena-sage-light: #7A9A7C;
|
|
1111
1048
|
|
|
1112
1049
|
--siena-ochre: #D4A017;
|
|
1113
1050
|
--siena-ochre-dark: #B8860B;
|
|
@@ -1143,7 +1080,7 @@ h1, h2 {
|
|
|
1143
1080
|
|
|
1144
1081
|
/* Charts - Mediterranean palette (vibrant on dark) */
|
|
1145
1082
|
--chart-1: #C77DDB; /* bougainvillea purple */
|
|
1146
|
-
--chart-2: #
|
|
1083
|
+
--chart-2: #5D7A5F; /* sage (deep foliage green) */
|
|
1147
1084
|
--chart-3: #6BB0D8; /* tuscan sky blue (was ochre) */
|
|
1148
1085
|
--chart-4: #D4C5B5; /* tuscan stone (warm beige) */
|
|
1149
1086
|
--chart-5: #DBA3E8; /* bougainvillea light */
|
|
@@ -1168,9 +1105,6 @@ h1, h2 {
|
|
|
1168
1105
|
CHAT TOKENS — Dark Mode
|
|
1169
1106
|
───────────────────────────────────────────────────────────── */
|
|
1170
1107
|
|
|
1171
|
-
/* CSAT Star Rating - Slightly lighter for dark bg */
|
|
1172
|
-
--csat-star: #F7D35C;
|
|
1173
|
-
|
|
1174
1108
|
--chat-user-bg: #44403C;
|
|
1175
1109
|
--chat-user-fg: #FAFAF9;
|
|
1176
1110
|
--chat-ai-bg: transparent;
|
|
@@ -1189,7 +1123,7 @@ h1, h2 {
|
|
|
1189
1123
|
--avatar-amber: #D4A86C;
|
|
1190
1124
|
--avatar-ochre: #B89B2A;
|
|
1191
1125
|
--avatar-olive: #7C9A4E;
|
|
1192
|
-
--avatar-sage: #
|
|
1126
|
+
--avatar-sage: #6D8B74;
|
|
1193
1127
|
--avatar-forest: #4D8A5D;
|
|
1194
1128
|
--avatar-teal: #4A9898;
|
|
1195
1129
|
--avatar-sky: #7AAFCC;
|
|
@@ -1208,32 +1142,6 @@ h1, h2 {
|
|
|
1208
1142
|
---break---
|
|
1209
1143
|
*/
|
|
1210
1144
|
|
|
1211
|
-
/* ============================================================================
|
|
1212
|
-
REACT-COLORFUL — Color Picker Styles
|
|
1213
|
-
============================================================================ */
|
|
1214
|
-
|
|
1215
|
-
.react-colorful {
|
|
1216
|
-
width: 200px !important;
|
|
1217
|
-
height: 200px !important;
|
|
1218
|
-
}
|
|
1219
|
-
|
|
1220
|
-
.react-colorful__saturation {
|
|
1221
|
-
border-radius: 8px 8px 0 0;
|
|
1222
|
-
}
|
|
1223
|
-
|
|
1224
|
-
.react-colorful__hue {
|
|
1225
|
-
height: 14px;
|
|
1226
|
-
border-radius: 0 0 8px 8px;
|
|
1227
|
-
}
|
|
1228
|
-
|
|
1229
|
-
.react-colorful__saturation-pointer,
|
|
1230
|
-
.react-colorful__hue-pointer {
|
|
1231
|
-
width: 18px;
|
|
1232
|
-
height: 18px;
|
|
1233
|
-
border: 2px solid white;
|
|
1234
|
-
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
|
1235
|
-
}
|
|
1236
|
-
|
|
1237
1145
|
@layer base {
|
|
1238
1146
|
* {
|
|
1239
1147
|
@apply border-border outline-ring/50;
|