@classic-homes/theme-tokens 0.1.48 → 0.1.50

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/index.d.mts CHANGED
@@ -77,6 +77,14 @@ declare const colors: {
77
77
  readonly 950: "#1c0d13";
78
78
  readonly foreground: "#ffffff";
79
79
  };
80
+ /**
81
+ * Core 4 - Sage (Muted green/gray)
82
+ *
83
+ * NOTE: Sage intentionally omits the `foreground` property unlike other color palettes.
84
+ * As a muted/neutral color, sage is typically used for backgrounds and subtle accents
85
+ * rather than as a background for text content. When using sage as a background,
86
+ * use an appropriate contrast color from another palette (e.g., gray.600 for dark text).
87
+ */
80
88
  readonly sage: {
81
89
  readonly 50: "#f7f7f5";
82
90
  readonly 100: "#eaebe6";
@@ -561,6 +569,14 @@ declare const tokens: {
561
569
  readonly 950: "#1c0d13";
562
570
  readonly foreground: "#ffffff";
563
571
  };
572
+ /**
573
+ * Core 4 - Sage (Muted green/gray)
574
+ *
575
+ * NOTE: Sage intentionally omits the `foreground` property unlike other color palettes.
576
+ * As a muted/neutral color, sage is typically used for backgrounds and subtle accents
577
+ * rather than as a background for text content. When using sage as a background,
578
+ * use an appropriate contrast color from another palette (e.g., gray.600 for dark text).
579
+ */
564
580
  readonly sage: {
565
581
  readonly 50: "#f7f7f5";
566
582
  readonly 100: "#eaebe6";
package/dist/index.d.ts CHANGED
@@ -77,6 +77,14 @@ declare const colors: {
77
77
  readonly 950: "#1c0d13";
78
78
  readonly foreground: "#ffffff";
79
79
  };
80
+ /**
81
+ * Core 4 - Sage (Muted green/gray)
82
+ *
83
+ * NOTE: Sage intentionally omits the `foreground` property unlike other color palettes.
84
+ * As a muted/neutral color, sage is typically used for backgrounds and subtle accents
85
+ * rather than as a background for text content. When using sage as a background,
86
+ * use an appropriate contrast color from another palette (e.g., gray.600 for dark text).
87
+ */
80
88
  readonly sage: {
81
89
  readonly 50: "#f7f7f5";
82
90
  readonly 100: "#eaebe6";
@@ -561,6 +569,14 @@ declare const tokens: {
561
569
  readonly 950: "#1c0d13";
562
570
  readonly foreground: "#ffffff";
563
571
  };
572
+ /**
573
+ * Core 4 - Sage (Muted green/gray)
574
+ *
575
+ * NOTE: Sage intentionally omits the `foreground` property unlike other color palettes.
576
+ * As a muted/neutral color, sage is typically used for backgrounds and subtle accents
577
+ * rather than as a background for text content. When using sage as a background,
578
+ * use an appropriate contrast color from another palette (e.g., gray.600 for dark text).
579
+ */
564
580
  readonly sage: {
565
581
  readonly 50: "#f7f7f5";
566
582
  readonly 100: "#eaebe6";
package/dist/index.js CHANGED
@@ -127,7 +127,14 @@ var colors = {
127
127
  foreground: "#ffffff"
128
128
  // White text/icons on plum backgrounds
129
129
  },
130
- // Core 4 - Sage (Muted green/gray)
130
+ /**
131
+ * Core 4 - Sage (Muted green/gray)
132
+ *
133
+ * NOTE: Sage intentionally omits the `foreground` property unlike other color palettes.
134
+ * As a muted/neutral color, sage is typically used for backgrounds and subtle accents
135
+ * rather than as a background for text content. When using sage as a background,
136
+ * use an appropriate contrast color from another palette (e.g., gray.600 for dark text).
137
+ */
131
138
  sage: {
132
139
  50: "#f7f7f5",
133
140
  100: "#eaebe6",
@@ -322,12 +329,12 @@ var semanticColors = {
322
329
  // Core 4 tint - subtle backgrounds
323
330
  secondaryForeground: colors.gray[600],
324
331
  secondaryHover: "#d4d6cc",
325
- // Darker than #e8eae0
332
+ // Darker than sage[100] (#eaebe6)
326
333
  muted: colors.sage[100],
327
334
  mutedForeground: colors.gray[500],
328
335
  // Grey 2
329
336
  mutedHover: "#d4d6cc",
330
- // Darker than #e8eae0
337
+ // Darker than sage[100] (#eaebe6)
331
338
  accent: colors.teal[500],
332
339
  // Core 1 - teal accent
333
340
  accentForeground: colors.white,
@@ -337,7 +344,7 @@ var semanticColors = {
337
344
  // Red 1 - errors/warnings
338
345
  destructiveForeground: colors.white,
339
346
  destructiveHover: "#d92626",
340
- // Darker than #ef4444
347
+ // Darker than red[500] (#e02726)
341
348
  border: colors.black,
342
349
  // CAD/drafter aesthetic - hard black borders
343
350
  input: colors.black,
@@ -399,7 +406,7 @@ var semanticColors = {
399
406
  secondary: colors.sage[800],
400
407
  secondaryForeground: colors.gray[100],
401
408
  secondaryHover: "#5c6156",
402
- // Lighter than #4d524a
409
+ // Lighter than sage[800] (#54574e)
403
410
  muted: colors.charcoal[700],
404
411
  mutedForeground: colors.gray[400],
405
412
  mutedHover: "#5c5c5c",
package/dist/index.mjs CHANGED
@@ -88,7 +88,14 @@ var colors = {
88
88
  foreground: "#ffffff"
89
89
  // White text/icons on plum backgrounds
90
90
  },
91
- // Core 4 - Sage (Muted green/gray)
91
+ /**
92
+ * Core 4 - Sage (Muted green/gray)
93
+ *
94
+ * NOTE: Sage intentionally omits the `foreground` property unlike other color palettes.
95
+ * As a muted/neutral color, sage is typically used for backgrounds and subtle accents
96
+ * rather than as a background for text content. When using sage as a background,
97
+ * use an appropriate contrast color from another palette (e.g., gray.600 for dark text).
98
+ */
92
99
  sage: {
93
100
  50: "#f7f7f5",
94
101
  100: "#eaebe6",
@@ -283,12 +290,12 @@ var semanticColors = {
283
290
  // Core 4 tint - subtle backgrounds
284
291
  secondaryForeground: colors.gray[600],
285
292
  secondaryHover: "#d4d6cc",
286
- // Darker than #e8eae0
293
+ // Darker than sage[100] (#eaebe6)
287
294
  muted: colors.sage[100],
288
295
  mutedForeground: colors.gray[500],
289
296
  // Grey 2
290
297
  mutedHover: "#d4d6cc",
291
- // Darker than #e8eae0
298
+ // Darker than sage[100] (#eaebe6)
292
299
  accent: colors.teal[500],
293
300
  // Core 1 - teal accent
294
301
  accentForeground: colors.white,
@@ -298,7 +305,7 @@ var semanticColors = {
298
305
  // Red 1 - errors/warnings
299
306
  destructiveForeground: colors.white,
300
307
  destructiveHover: "#d92626",
301
- // Darker than #ef4444
308
+ // Darker than red[500] (#e02726)
302
309
  border: colors.black,
303
310
  // CAD/drafter aesthetic - hard black borders
304
311
  input: colors.black,
@@ -360,7 +367,7 @@ var semanticColors = {
360
367
  secondary: colors.sage[800],
361
368
  secondaryForeground: colors.gray[100],
362
369
  secondaryHover: "#5c6156",
363
- // Lighter than #4d524a
370
+ // Lighter than sage[800] (#54574e)
364
371
  muted: colors.charcoal[700],
365
372
  mutedForeground: colors.gray[400],
366
373
  mutedHover: "#5c5c5c",
package/dist/tokens.css CHANGED
@@ -89,7 +89,8 @@
89
89
  --color-collection-5: #306966;
90
90
  --color-collection-6: #292424;
91
91
 
92
- /* ===== Legacy Aliases (deprecated, use standard names) ===== */
92
+ /* ===== Legacy Aliases (DEPRECATED - will be removed in next major version) ===== */
93
+ /* Migrate to standard variable names. See @classic-homes/theme-tokens docs. */
93
94
  --ch-color-primary: #a91c22;
94
95
  --ch-color-primary-rgb: 169, 28, 34;
95
96
  --ch-color-secondary: #3ba4a7;
@@ -164,7 +165,7 @@
164
165
  --sidebar-border: 218 11% 65%;
165
166
  --sidebar-ring: 0 91% 71%;
166
167
 
167
- /* Legacy Aliases (dark) */
168
+ /* Legacy Aliases - dark (DEPRECATED - will be removed in next major version) */
168
169
  --ch-color-primary: #f87171;
169
170
  --ch-color-primary-rgb: 248, 113, 113;
170
171
  --ch-color-secondary: #67cccf;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@classic-homes/theme-tokens",
3
- "version": "0.1.48",
3
+ "version": "0.1.50",
4
4
  "description": "Design tokens for the Classic theme system",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -13,6 +13,9 @@
13
13
  },
14
14
  "./css": "./dist/tokens.css"
15
15
  },
16
+ "sideEffects": [
17
+ "*.css"
18
+ ],
16
19
  "files": [
17
20
  "dist"
18
21
  ],