@@ -108,18 +108,40 @@ These rules MUST be followed in ALL generated code:
108108
10910910 . ** Use ` small ` prop on buttons** inside cards and ` EmptyStateCard ` .
110110
111- 11 . ** Do NOT wrap these components in ` ResponsiveLayout ` ** — they already contain one internally:
111+ 11 . ** Always set ` font-family ` on ` body ` .** Mistica does NOT inject a font — without it browsers fall back to
112+ their default serif font (Times New Roman on desktop). Add to your global CSS:
113+
114+ ``` css
115+ body {
116+ font-family : -apple-system , ' Roboto' , ' Helvetica' , ' Arial' , sans-serif ;
117+ }
118+ ```
119+
120+ Read `node_modules/@telefonica/mistica/doc/fonts.md` for full `@font-face ` setup.
121+
122+ 12. ** Do NOT wrap these components in `ResponsiveLayout`** — they already contain one internally:
112123 `HeaderLayout`, `MainSectionHeaderLayout`, `Hero`, `CoverHero`, `MasterDetailLayout`,
113124 `ButtonFixedFooterLayout`, `NavigationBar`, `MainNavigationBar`, `FunnelNavigationBar`, `Tabs`,
114125 `SuccessFeedbackScreen`, `ErrorFeedbackScreen`, `InfoFeedbackScreen`, `LoadingScreen`,
115126 `BrandLoadingScreen`. Place them at page level, side by side with `ResponsiveLayout` blocks.
116127
117- 12 . ** Use carousels only for horizontal content.** ` Carousel ` and ` CenteredCarousel ` are horizontal-scroll
128+ 13 . ** Use carousels only for horizontal content .** `Carousel` and `CenteredCarousel` are horizontal-scroll
118129 components — always place them ** inside** `ResponsiveLayout`. `Slideshow` bleeds full-width automatically
119130 and should be placed ** outside** `ResponsiveLayout`.
120131
121132## Quick Reference
122133
134+ ### Required global CSS
135+
136+ Add to your global stylesheet (e.g . `globals.css`, `index.css`). Without this, browsers render Mistica text
137+ with their default serif font (Times New Roman on desktop):
138+
139+ ```css
140+ body {
141+ font-family : -apple-system , ' Roboto' , ' Helvetica' , ' Arial' , sans-serif ;
142+ }
143+ ```
144+
123145### Standard page structure
124146
125147``` tsx
0 commit comments