@meistrari/tela-build 1.74.3 → 1.75.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/CHANGELOG.md +4 -0
- package/package.json +1 -1
- package/utils/design-tokens.ts +27 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Latest updates and announcements.
|
|
4
4
|
|
|
5
|
+
## September 22, 2026
|
|
6
|
+
|
|
7
|
+
- [Colors](/colors) adds `taupe` and `stone` palettes: warm and cool neutral scales available as `bg-`, `text-`, and `border-` utilities.
|
|
8
|
+
|
|
5
9
|
## September 18, 2026
|
|
6
10
|
|
|
7
11
|
- [Floating chat](/templates/chat#floating) docs now show `TelaChatAnswer` docked above the prompt input inside the window.
|
package/package.json
CHANGED
package/utils/design-tokens.ts
CHANGED
|
@@ -43,6 +43,32 @@ const BASE_COLORS = {
|
|
|
43
43
|
900: '#171717',
|
|
44
44
|
950: '#0A0A0A',
|
|
45
45
|
},
|
|
46
|
+
taupe: {
|
|
47
|
+
50: '#F9F9F9',
|
|
48
|
+
100: '#F5F1EB',
|
|
49
|
+
200: '#E8E4DE',
|
|
50
|
+
300: '#D1CABE',
|
|
51
|
+
400: '#A89D8C',
|
|
52
|
+
500: '#837969',
|
|
53
|
+
600: '#695F50',
|
|
54
|
+
700: '#554C3D',
|
|
55
|
+
800: '#3D372E',
|
|
56
|
+
900: '#2E281F',
|
|
57
|
+
950: '#16130F',
|
|
58
|
+
},
|
|
59
|
+
stone: {
|
|
60
|
+
50: '#F9F9F9',
|
|
61
|
+
100: '#F5F5F5',
|
|
62
|
+
200: '#E5E5E5',
|
|
63
|
+
300: '#D4D4D4',
|
|
64
|
+
400: '#A9A49F',
|
|
65
|
+
500: '#75716D',
|
|
66
|
+
600: '#55524D',
|
|
67
|
+
700: '#433F3B',
|
|
68
|
+
800: '#2A2524',
|
|
69
|
+
900: '#1E1A16',
|
|
70
|
+
950: '#0B0B0B',
|
|
71
|
+
},
|
|
46
72
|
orange: {
|
|
47
73
|
50: '#FFF7ED',
|
|
48
74
|
100: '#FFEDD5',
|
|
@@ -478,7 +504,7 @@ const PALETTE_STEPS = [50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950] as
|
|
|
478
504
|
type PaletteStep = (typeof PALETTE_STEPS)[number]
|
|
479
505
|
|
|
480
506
|
/** Display order for palette hues; hues missing from this list are appended at the end rather than dropped. */
|
|
481
|
-
const PALETTE_HUE_ORDER: readonly string[] = ['gray', 'neutral', 'red', 'orange', 'amber', 'yellow', 'lime', 'green', 'emerald', 'teal', 'cyan', 'sky', 'blue', 'indigo', 'purple', 'pink', 'rose']
|
|
507
|
+
const PALETTE_HUE_ORDER: readonly string[] = ['gray', 'neutral', 'taupe', 'stone', 'red', 'orange', 'amber', 'yellow', 'lime', 'green', 'emerald', 'teal', 'cyan', 'sky', 'blue', 'indigo', 'purple', 'pink', 'rose']
|
|
482
508
|
|
|
483
509
|
function isPaletteScale(scale: unknown): scale is Record<PaletteStep, string> {
|
|
484
510
|
return typeof scale === 'object' && scale !== null && PALETTE_STEPS.every(step => step in scale)
|