@litodocs/cli 1.3.1 → 1.3.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@litodocs/cli",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "Beautiful documentation sites from Markdown. Fast, simple, and open-source.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -480,7 +480,7 @@ const config = await getConfigFile();
480
480
 
481
481
  // Font configuration
482
482
  const fonts = config.branding?.fonts;
483
- const headingFont = fonts?.heading || 'Syne';
483
+ const headingFont = fonts?.heading || 'Inter';
484
484
  const bodyFont = fonts?.body || 'Inter';
485
485
  const codeFont = fonts?.code || 'Fira Code';
486
486
 
@@ -500,7 +500,7 @@ const fontOverrides = [];
500
500
  if (bodyFont !== 'Inter') {
501
501
  fontOverrides.push("--font-sans: '" + bodyFont + "', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif !important;");
502
502
  }
503
- if (headingFont !== 'Syne') {
503
+ if (headingFont !== 'Inter') {
504
504
  fontOverrides.push("--font-heading: '" + headingFont + "', '" + bodyFont + "', system-ui, sans-serif !important;");
505
505
  }
506
506
  if (codeFont !== 'Fira Code') {
@@ -871,7 +871,7 @@ const config = await getConfigFile();
871
871
 
872
872
  // Font configuration
873
873
  const fonts = config.branding?.fonts;
874
- const headingFont = fonts?.heading || 'Syne';
874
+ const headingFont = fonts?.heading || 'Inter';
875
875
  const bodyFont = fonts?.body || 'Inter';
876
876
  const codeFont = fonts?.code || 'Fira Code';
877
877
 
@@ -891,7 +891,7 @@ const fontOverrides = [];
891
891
  if (bodyFont !== 'Inter') {
892
892
  fontOverrides.push("--font-sans: '" + bodyFont + "', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif !important;");
893
893
  }
894
- if (headingFont !== 'Syne') {
894
+ if (headingFont !== 'Inter') {
895
895
  fontOverrides.push("--font-heading: '" + headingFont + "', '" + bodyFont + "', system-ui, sans-serif !important;");
896
896
  }
897
897
  if (codeFont !== 'Fira Code') {
@@ -49,6 +49,19 @@
49
49
  "href": {
50
50
  "type": "string",
51
51
  "description": "Link when clicking the logo"
52
+ },
53
+ "height": {
54
+ "type": "number",
55
+ "description": "Logo height in pixels"
56
+ },
57
+ "alt": {
58
+ "type": "string",
59
+ "description": "Alt text for the logo image (defaults to metadata.name)"
60
+ },
61
+ "replacesTitle": {
62
+ "type": "boolean",
63
+ "default": true,
64
+ "description": "When true, logo replaces site title text. When false, both are shown."
52
65
  }
53
66
  }
54
67
  },