Skip to content

Commit aaa88cd

Browse files
Remove --font-title variable
1 parent 9b0e11c commit aaa88cd

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

public/assets/styles/components/header.css

+2-6
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
--color-link: var(--color-neutral-darkest);
1212
--link-decoration: none;
1313

14-
font: var(--font-title);
14+
font: var(--font-headline);
1515
margin-block-end: var(--space-2xs);
1616
}
1717

@@ -36,11 +36,7 @@
3636
[data-template="routes"] &,
3737
[data-template="stations"] & {
3838
& h1,
39-
& h2 {
40-
font: var(--font-headline);
41-
text-align: center;
42-
}
43-
39+
& h2,
4440
& p {
4541
text-align: center;
4642
}

public/assets/styles/config/custom-properties.css

+1-3
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
--font-size-l: clamp(1.125rem, 1rem + 0.625vw, 1.375rem); /* 18 → 22 */
3838
--font-size-xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem); /* 24 → 32 */
3939
--font-size-2xl: clamp(1.75rem, 1.5rem + 1.75vw, 2.5rem); /* 32 → 40 */
40-
--font-size-3xl: clamp(2.5rem, 1.75rem + 3.75vw, 4rem); /* 4064 */
40+
--font-size-3xl: clamp(2.25rem, 1.75rem + 2.75vw, 3.5rem); /* 3656 */
4141
--line-height-condensed: 0.9;
4242
--line-height-solid: 1;
4343
--line-height-tight: 1.25;
@@ -49,8 +49,6 @@
4949
/* Font styles */
5050
--font-headline: bold var(--font-size-3xl) / var(--line-height-solid)
5151
var(--font-family-slab);
52-
--font-title: var(--font-size-2xl) / var(--line-height-solid)
53-
var(--font-family-serif);
5452
--font-heading: var(--font-size-2xl) / var(--line-height-condensed)
5553
var(--font-family-block);
5654
--font-subhead: bold var(--font-size-l) / var(--line-height-tight)

0 commit comments

Comments
 (0)