@classic-homes/theme-tokens 0.1.53 → 0.1.55

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
@@ -385,7 +385,7 @@ declare const spacing: {
385
385
  */
386
386
  declare const fontFamily: {
387
387
  readonly sans: readonly ["Figtree", "ui-sans-serif", "system-ui", "-apple-system", "BlinkMacSystemFont", "\"Segoe UI\"", "Roboto", "\"Helvetica Neue\"", "Arial", "sans-serif"];
388
- readonly serif: readonly ["\"Source Serif Variable\"", "\"Source Serif Pro\"", "ui-serif", "Georgia", "Cambria", "\"Times New Roman\"", "Times", "serif"];
388
+ readonly serif: readonly ["\"Source Serif 4\"", "\"Source Serif Variable\"", "\"Source Serif Pro\"", "ui-serif", "Georgia", "Cambria", "\"Times New Roman\"", "Times", "serif"];
389
389
  readonly mono: readonly ["ui-monospace", "SFMono-Regular", "Menlo", "Monaco", "Consolas", "\"Liberation Mono\"", "\"Courier New\"", "monospace"];
390
390
  };
391
391
  declare const fontSize: {
@@ -911,7 +911,7 @@ declare const tokens: {
911
911
  };
912
912
  readonly fontFamily: {
913
913
  readonly sans: readonly ["Figtree", "ui-sans-serif", "system-ui", "-apple-system", "BlinkMacSystemFont", "\"Segoe UI\"", "Roboto", "\"Helvetica Neue\"", "Arial", "sans-serif"];
914
- readonly serif: readonly ["\"Source Serif Variable\"", "\"Source Serif Pro\"", "ui-serif", "Georgia", "Cambria", "\"Times New Roman\"", "Times", "serif"];
914
+ readonly serif: readonly ["\"Source Serif 4\"", "\"Source Serif Variable\"", "\"Source Serif Pro\"", "ui-serif", "Georgia", "Cambria", "\"Times New Roman\"", "Times", "serif"];
915
915
  readonly mono: readonly ["ui-monospace", "SFMono-Regular", "Menlo", "Monaco", "Consolas", "\"Liberation Mono\"", "\"Courier New\"", "monospace"];
916
916
  };
917
917
  readonly fontSize: {
package/dist/index.d.ts CHANGED
@@ -385,7 +385,7 @@ declare const spacing: {
385
385
  */
386
386
  declare const fontFamily: {
387
387
  readonly sans: readonly ["Figtree", "ui-sans-serif", "system-ui", "-apple-system", "BlinkMacSystemFont", "\"Segoe UI\"", "Roboto", "\"Helvetica Neue\"", "Arial", "sans-serif"];
388
- readonly serif: readonly ["\"Source Serif Variable\"", "\"Source Serif Pro\"", "ui-serif", "Georgia", "Cambria", "\"Times New Roman\"", "Times", "serif"];
388
+ readonly serif: readonly ["\"Source Serif 4\"", "\"Source Serif Variable\"", "\"Source Serif Pro\"", "ui-serif", "Georgia", "Cambria", "\"Times New Roman\"", "Times", "serif"];
389
389
  readonly mono: readonly ["ui-monospace", "SFMono-Regular", "Menlo", "Monaco", "Consolas", "\"Liberation Mono\"", "\"Courier New\"", "monospace"];
390
390
  };
391
391
  declare const fontSize: {
@@ -911,7 +911,7 @@ declare const tokens: {
911
911
  };
912
912
  readonly fontFamily: {
913
913
  readonly sans: readonly ["Figtree", "ui-sans-serif", "system-ui", "-apple-system", "BlinkMacSystemFont", "\"Segoe UI\"", "Roboto", "\"Helvetica Neue\"", "Arial", "sans-serif"];
914
- readonly serif: readonly ["\"Source Serif Variable\"", "\"Source Serif Pro\"", "ui-serif", "Georgia", "Cambria", "\"Times New Roman\"", "Times", "serif"];
914
+ readonly serif: readonly ["\"Source Serif 4\"", "\"Source Serif Variable\"", "\"Source Serif Pro\"", "ui-serif", "Georgia", "Cambria", "\"Times New Roman\"", "Times", "serif"];
915
915
  readonly mono: readonly ["ui-monospace", "SFMono-Regular", "Menlo", "Monaco", "Consolas", "\"Liberation Mono\"", "\"Courier New\"", "monospace"];
916
916
  };
917
917
  readonly fontSize: {
package/dist/index.js CHANGED
@@ -546,6 +546,9 @@ var fontFamily = {
546
546
  "sans-serif"
547
547
  ],
548
548
  serif: [
549
+ // "Source Serif 4" is the family name served by Google Fonts (see
550
+ // theme-styles base.css); the Variable/Pro names cover self-hosted installs.
551
+ '"Source Serif 4"',
549
552
  '"Source Serif Variable"',
550
553
  '"Source Serif Pro"',
551
554
  "ui-serif",
package/dist/index.mjs CHANGED
@@ -505,6 +505,9 @@ var fontFamily = {
505
505
  "sans-serif"
506
506
  ],
507
507
  serif: [
508
+ // "Source Serif 4" is the family name served by Google Fonts (see
509
+ // theme-styles base.css); the Variable/Pro names cover self-hosted installs.
510
+ '"Source Serif 4"',
508
511
  '"Source Serif Variable"',
509
512
  '"Source Serif Pro"',
510
513
  "ui-serif",
package/dist/tokens.css CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Classic Theme Design Tokens
3
- * Auto-generated from @classic-theme/tokens
3
+ * Auto-generated from @classic-homes/theme-tokens
4
4
  * Do not edit directly - modify packages/tokens/src/index.ts instead
5
5
  */
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@classic-homes/theme-tokens",
3
- "version": "0.1.53",
3
+ "version": "0.1.55",
4
4
  "description": "Design tokens for the Classic theme system",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -27,7 +27,7 @@
27
27
  "scripts": {
28
28
  "build": "tsup src/index.ts src/contrast.ts --format esm,cjs --dts && node scripts/generate-css.js",
29
29
  "dev": "tsup src/index.ts src/contrast.ts --format esm,cjs --dts --watch",
30
- "clean": "rm -rf dist"
30
+ "clean": "node ../../scripts/rm.mjs dist"
31
31
  },
32
32
  "keywords": [
33
33
  "design-tokens",