astrotype 0.1.3 → 0.1.4

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.
@@ -33,15 +33,16 @@ export async function addFontCommand(fontName, options = {}) {
33
33
  const cssText = `${toCssRules(font)}`;
34
34
  const cssPath = writeAstrotypeCss(targetDir, font.name, cssText);
35
35
  const fontsSetup = ensureAstroFontsApiSetup(targetDir, [font]);
36
- console.log(`Installed font "${font.name}" into ${path.relative(targetDir, cssPath)}.`);
36
+ console.log(`Installed font "${font.name}" -> ${path.relative(targetDir, cssPath)}`);
37
37
  if (fontsSetup.configured) {
38
- console.log("Configured Astro Fonts API entries for this font.");
38
+ console.log("Wired Astro Fonts API entries for this font.");
39
39
  if (fontsSetup.manualMergeRequired) {
40
40
  console.log(
41
- `Detected an existing fonts config in ${path.relative(targetDir, fontsSetup.configPath)}; merge astrotypeFonts manually there.`
41
+ `Heads up: existing fonts config found in ${path.relative(targetDir, fontsSetup.configPath)}. Merge astrotypeFonts there.`
42
42
  );
43
43
  }
44
44
  } else {
45
45
  console.log(`Skipped Astro Fonts API setup: ${fontsSetup.reason}`);
46
46
  }
47
+ console.log(`Next step: map your app classes/tokens to ${font.font.variable || `--font-${font.name}`}.`);
47
48
  }
@@ -45,17 +45,17 @@ export async function addPairingCommand(pairingName, options = {}) {
45
45
  const pairingCssPath = writeAstrotypeCss(targetDir, pairing.name, cssText);
46
46
  const fontsSetup = ensureAstroFontsApiSetup(targetDir, fonts);
47
47
 
48
- console.log(`Installed pairing "${pairing.name}" into ${path.relative(targetDir, pairingCssPath)}.`);
48
+ console.log(`Installed pairing "${pairing.name}" -> ${path.relative(targetDir, pairingCssPath)}`);
49
49
  if (fontsSetup.configured) {
50
- console.log("Configured Astro Fonts API entries for this pairing.");
50
+ console.log("Wired Astro Fonts API entries for this pairing.");
51
51
  if (fontsSetup.manualMergeRequired) {
52
52
  console.log(
53
- `Detected an existing fonts config in ${path.relative(targetDir, fontsSetup.configPath)}; merge astrotypeFonts manually there.`
53
+ `Heads up: existing fonts config found in ${path.relative(targetDir, fontsSetup.configPath)}. Merge astrotypeFonts there.`
54
54
  );
55
55
  }
56
56
  } else {
57
57
  console.log(`Skipped Astro Fonts API setup: ${fontsSetup.reason}`);
58
58
  }
59
- console.log("No Tailwind color utilities are required; styles are CSS-token driven.");
59
+ console.log("Next step: map your app classes/tokens to --font-heading, --font-body, and --font-mono.");
60
60
  }
61
61
 
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "astrotype",
3
3
  "description": "Astro-first font registry and CLI for installing pairings or single fonts.",
4
4
  "type": "module",
5
- "version": "0.1.3",
5
+ "version": "0.1.4",
6
6
  "private": false,
7
7
  "keywords": [
8
8
  "astro",