Skip to content

Commit 31411e9

Browse files
dspace-botroot
andauthored
[Port dspace-8_x] Improving the color contrast of home news content (#3891)
* Improving the color contrast of home news content (cherry picked from commit 2290b87) * Improved color contrast (cherry picked from commit 62b6677) * Adjusting font color changes (cherry picked from commit be33541) --------- Co-authored-by: root <[email protected]>
1 parent 905502d commit 31411e9

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)