Skip to content

Commit

Permalink
width and font (#3590)
Browse files Browse the repository at this point in the history
  • Loading branch information
emeryro authored Aug 28, 2024
1 parent 4b86520 commit 4da822e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ $banner-print: null !default;
margin-bottom: 0;
}

.ecl-banner__title-link {
.ecl-banner__title-link,
.ecl-banner__description-link {
color: var(--c-d);
}

Expand Down
10 changes: 0 additions & 10 deletions src/implementations/vanilla/components/banner/banner.scss
Original file line number Diff line number Diff line change
Expand Up @@ -233,16 +233,6 @@ $banner: null !default;
padding-bottom: map.get($banner, 'container-padding-bottom', 'tablet');
padding-top: map.get($banner, 'container-padding-top', 'tablet');
}

.ecl-banner__title,
.ecl-banner__title-link {
font: map.get($banner, 'font', 'title', 'tablet');
}

.ecl-banner__description,
.ecl-banner__description-link {
font: map.get($banner, 'font', 'description', 'tablet');
}
}

/* stylelint-disable-next-line order/order */
Expand Down
4 changes: 1 addition & 3 deletions src/themes/ec/variables/_banner.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

$banner: (
background-color: var(--c-n-40),
content-width: 37rem,
content-width: 42.5rem,
content-background: var(--c-bg),
content-padding: var(--s-l) var(--s-xl) var(--s-xl),
container-padding-bottom: (
Expand Down Expand Up @@ -37,13 +37,11 @@ $banner: (
font: (
'title': (
'mobile': var(--f-2xl),
'tablet': var(--f-4xl),
'desktop-m': var(--f-3xl),
'desktop-l': var(--f-4xl),
),
'description': (
'mobile': var(--f-xl),
'tablet': var(--f-3xl),
'desktop-m': var(--f-xl),
'desktop-l': var(--f-3xl),
),
Expand Down
4 changes: 1 addition & 3 deletions src/themes/eu/variables/_banner.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

$banner: (
background-color: var(--c-p-5),
content-width: 37rem,
content-width: 42.5rem,
content-background: map.get($color, 'white'),
content-padding: var(--s-l) var(--s-l),
container-padding-bottom: (
Expand Down Expand Up @@ -37,13 +37,11 @@ $banner: (
font: (
'title': (
'mobile': var(--f-2xl),
'tablet': var(--f-5xl),
'desktop-m': var(--f-4xl),
'desktop-l': var(--f-5xl),
),
'description': (
'mobile': var(--f-xl),
'tablet': var(--f-4xl),
'desktop-m': var(--f-2xl),
'desktop-l': var(--f-4xl),
),
Expand Down

1 comment on commit 4da822e

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.