Skip to content

Commit

Permalink
decrease font
Browse files Browse the repository at this point in the history
  • Loading branch information
emeryro committed Nov 7, 2024
1 parent 16de99c commit 1360da2
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ $fact-figures: null !default;
}

.ecl-fact-figures__value {
font: map.get($theme, 'font-print', 'xl');
font: map.get($theme, 'font-print', 'l');
font-family: var(--ecl-font-family-print-alt);

.ecl-fact-figures--font-m & {
font: map.get($theme, 'font-print', 'l');
font: map.get($theme, 'font-print', 'm');
font-family: var(--ecl-font-family-print-alt);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ $list-illustration-print: null !default;

.ecl-list-illustration__title {
color: map.get($list-illustration, 'title-color');
font: map.get($theme, 'font-print', 'xl');
font: map.get($theme, 'font-print', 'l');
}

.ecl-list-illustration__description {
Expand Down
4 changes: 2 additions & 2 deletions src/themes/ec/variables/_list-illustration.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ $list-illustration: (
item-margin-mobile: var(--s-6xl),
);
$list-illustration-print: (
value-font-desktop-m: map.get($font-print, '2xl'),
value-font-desktop-l: map.get($font-print, '3xl'),
value-font-desktop-m: map.get($font-print, 'l'),
value-font-desktop-l: map.get($font-print, 'xl'),
);
2 changes: 1 addition & 1 deletion src/themes/ec/variables/_timeline.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ $timeline: (
$timeline-print: (
title-font: map.get($font-print, 'l'),
title-margin: map.get($spacing-print, '2xs'),
label-font: map.get($font-print, 'l'),
label-font: map.get($font-print, 'm'),
label-margin: 0,
content-font: map.get($font-print, 'm'),
timeline-margin-left:
Expand Down
4 changes: 2 additions & 2 deletions src/themes/eu/variables/_list-illustration.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ $list-illustration: (
item-margin-mobile: var(--s-2xl),
);
$list-illustration-print: (
value-font-desktop-m: map.get($font-print, '3xl'),
value-font-desktop-l: map.get($font-print, '4xl'),
value-font-desktop-m: map.get($font-print, 'xl'),
value-font-desktop-l: map.get($font-print, '2xl'),
);
2 changes: 1 addition & 1 deletion src/themes/eu/variables/_timeline.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ $timeline: (
$timeline-print: (
title-font: map.get($font-print, 'l'),
title-margin: map.get($spacing-print, 's'),
label-font: map.get($font-print, '2xl'),
label-font: map.get($font-print, 'xl'),
label-margin: map.get($spacing-print, 's'),
content-font: map.get($font-print, 'm'),
);

0 comments on commit 1360da2

Please sign in to comment.