Create a DRY Fonts module that centralizes all font definitions and generates @font-face declarations dynamically based on typography preset. - Add Fonts module with typography font mappings - Generate @font-face CSS in CSSGenerator based on active preset - Add font preload links in shop_root layout for performance - Remove hardcoded font-face declarations from CSS This improves font loading performance by only loading fonts for the active typography preset and preloading critical fonts. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| layouts | ||
| page_templates | ||
| core_components.ex | ||
| layouts.ex | ||
| page_templates.ex | ||
| shop_components.ex | ||