@fullstackdatasolutions/articles 1.0.0 → 1.2.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/server.d.cts CHANGED
@@ -240,6 +240,14 @@ type ArticlesSection = 'hero' | 'search' | 'featured' | 'latest' | 'categories'
240
240
  interface ArticlesTheme {
241
241
  /** Font family for the articles section. Example: `"'Inter', sans-serif"` */
242
242
  fontFamily?: string;
243
+ /**
244
+ * Font family for headings only (article title, card titles, section
245
+ * headings) - falls back to `fontFamily` when omitted. Lets a site use a
246
+ * distinct display face for headings (e.g. a serif) while keeping a
247
+ * separate body font, without hardcoding either into the package.
248
+ * Example: `"'Cinzel', serif"`
249
+ */
250
+ headerFontFamily?: string;
243
251
  /** Color for article card titles and section headings. Example: `'#111827'` */
244
252
  headerColor?: string;
245
253
  /** Color for body and excerpt text. Example: `'#6b7280'` */
package/dist/server.d.ts CHANGED
@@ -240,6 +240,14 @@ type ArticlesSection = 'hero' | 'search' | 'featured' | 'latest' | 'categories'
240
240
  interface ArticlesTheme {
241
241
  /** Font family for the articles section. Example: `"'Inter', sans-serif"` */
242
242
  fontFamily?: string;
243
+ /**
244
+ * Font family for headings only (article title, card titles, section
245
+ * headings) - falls back to `fontFamily` when omitted. Lets a site use a
246
+ * distinct display face for headings (e.g. a serif) while keeping a
247
+ * separate body font, without hardcoding either into the package.
248
+ * Example: `"'Cinzel', serif"`
249
+ */
250
+ headerFontFamily?: string;
243
251
  /** Color for article card titles and section headings. Example: `'#111827'` */
244
252
  headerColor?: string;
245
253
  /** Color for body and excerpt text. Example: `'#6b7280'` */