diff --git a/src/entities/Section/ui/SectionAccordion/SectionAccordion.tsx b/src/entities/Section/ui/SectionAccordion/SectionAccordion.tsx index 3d77c04..0ee4a87 100644 --- a/src/entities/Section/ui/SectionAccordion/SectionAccordion.tsx +++ b/src/entities/Section/ui/SectionAccordion/SectionAccordion.tsx @@ -41,12 +41,7 @@ export function SectionAccordion({ number, title, id, isActive, href, children }
-

- {heading} -

+

{heading}

@@ -59,10 +54,7 @@ export function SectionAccordion({ number, title, id, isActive, href, children } aria-label={heading} className="block w-full text-left mb-3 py-3 group border-b-0 hover:border-b-0" > - + {heading} diff --git a/src/shared/styles/theme.css b/src/shared/styles/theme.css index cb30460..6ecf4f5 100644 --- a/src/shared/styles/theme.css +++ b/src/shared/styles/theme.css @@ -272,6 +272,13 @@ .brutal-border-right { border-right: var(--border-width) solid var(--blue); } +/* Apply Fraunces variable axes to non-heading elements using the heading font */ +.font-wonk { + font-variation-settings: + "WONK" var(--fraunces-wonk), + "SOFT" var(--fraunces-soft); +} + /* Sidebar divider: bottom border on mobile, right border on desktop */ .brutal-border-sidebar { border-bottom: var(--border-width) solid var(--blue);