@fullstackdatasolutions/articles 1.0.0 → 1.1.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/dist/nextjs.d.cts CHANGED
@@ -143,6 +143,14 @@ type ArticlesSection = 'hero' | 'search' | 'featured' | 'latest' | 'categories'
143
143
  interface ArticlesTheme {
144
144
  /** Font family for the articles section. Example: `"'Inter', sans-serif"` */
145
145
  fontFamily?: string;
146
+ /**
147
+ * Font family for headings only (article title, card titles, section
148
+ * headings) - falls back to `fontFamily` when omitted. Lets a site use a
149
+ * distinct display face for headings (e.g. a serif) while keeping a
150
+ * separate body font, without hardcoding either into the package.
151
+ * Example: `"'Cinzel', serif"`
152
+ */
153
+ headerFontFamily?: string;
146
154
  /** Color for article card titles and section headings. Example: `'#111827'` */
147
155
  headerColor?: string;
148
156
  /** Color for body and excerpt text. Example: `'#6b7280'` */
package/dist/nextjs.d.ts CHANGED
@@ -143,6 +143,14 @@ type ArticlesSection = 'hero' | 'search' | 'featured' | 'latest' | 'categories'
143
143
  interface ArticlesTheme {
144
144
  /** Font family for the articles section. Example: `"'Inter', sans-serif"` */
145
145
  fontFamily?: string;
146
+ /**
147
+ * Font family for headings only (article title, card titles, section
148
+ * headings) - falls back to `fontFamily` when omitted. Lets a site use a
149
+ * distinct display face for headings (e.g. a serif) while keeping a
150
+ * separate body font, without hardcoding either into the package.
151
+ * Example: `"'Cinzel', serif"`
152
+ */
153
+ headerFontFamily?: string;
146
154
  /** Color for article card titles and section headings. Example: `'#111827'` */
147
155
  headerColor?: string;
148
156
  /** Color for body and excerpt text. Example: `'#6b7280'` */