Skip to content

Commit 8cfc61c

Browse files
Andrea-Guevararoot
andauthored
Improving the color contrast of home news content (#3880)
* Improving the color contrast of home news content * Improved color contrast * Adjusting font color changes --------- Co-authored-by: root <[email protected]>
1 parent d653c01 commit 8cfc61c

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

src/themes/dspace/app/home-page/home-news/home-news.component.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
div.background-image-container {
55
color: white;
66
position: relative;
7+
font-weight: 600;
78

89
.background-image > img {
910
background-color: var(--bs-info);
@@ -68,6 +69,11 @@
6869
color: var(--ds-home-news-link-hover-color);
6970
}
7071
}
72+
73+
.lead {
74+
font-size: 1.25rem;
75+
font-weight: 400;
76+
}
7177
}
7278

7379

src/themes/dspace/styles/_theme_css_variable_overrides.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
--ds-header-height: 90px;
1212
}
1313

14-
--ds-banner-text-background: rgba(0, 0, 0, 0.45);
14+
--ds-banner-text-background: rgba(0, 0, 0, 0.58);
1515
--ds-banner-background-gradient-width: 300px;
1616

1717
--ds-header-navbar-border-bottom-height: 5px;

src/themes/dspace/styles/_theme_sass_variable_overrides.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ $navbar-dark-color: #fff;
8383

8484
/*** CUSTOM DSPACE VARIABLES ***/
8585

86-
$ds-home-news-link-color: #92c642;
86+
$ds-home-news-link-color: #D2FC93;
8787
$ds-header-navbar-border-bottom-color: #92c642;
8888

8989
$ds-breadcrumb-link-color: #154E66 !default;

0 commit comments

Comments
 (0)