Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions source/stylesheets/datacite.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ Datacite - Bootstrap 3 theme
@import "node_modules/bootstrap-sass/assets/stylesheets/bootstrap/responsive-utilities";

// Globals
@import 'shared/datacite_colors';
@import "datacite/globals/colors";
@import "datacite/globals/variables";
@import "datacite/globals/mixins";
Expand Down
6 changes: 3 additions & 3 deletions source/stylesheets/datacite/components/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
width: 100%;
height: 340px;
font-size: 16px;
color: $dark-gray;
color: $datacite-primary-dark-blue;
background-color: $light-gray;
padding: .75em 0;
margin: 0;
Expand All @@ -23,7 +23,7 @@
padding-left: 0;
}
a, a:hover, a:visited {
color: $dark-gray;
color: $datacite-primary-dark-blue;
}
h4.share {
margin-bottom: .5em;
Expand Down Expand Up @@ -58,6 +58,6 @@

.color-description {
font-size: 18px;
color: $dark-gray;
color: $datacite-primary-dark-blue;
}
}
1 change: 1 addition & 0 deletions source/stylesheets/doi.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ Datacite - Bootstrap 3 theme
@import "node_modules/bootstrap-sass/assets/stylesheets/bootstrap/responsive-utilities";

// Globals
@import 'shared/datacite_colors';
@import "doi/globals/colors";
@import "doi/globals/variables";
@import "doi/globals/mixins";
Expand Down
6 changes: 3 additions & 3 deletions source/stylesheets/doi/components/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
width: 100%;
height: 340px;
font-size: 16px;
color: $dark-gray;
color: $datacite-primary-dark-blue;
background-color: $lighter-gray;
padding: .75em 0;
margin: 0;
Expand All @@ -23,7 +23,7 @@
padding-left: 0;
}
a, a:hover, a:visited {
color: $dark-gray;
color: $datacite-primary-dark-blue;
}
h4.share {
margin-bottom: .5em;
Expand Down Expand Up @@ -58,6 +58,6 @@

.color-description {
font-size: 18px;
color: $dark-gray;
color: $datacite-primary-dark-blue;
}
}
5 changes: 3 additions & 2 deletions source/stylesheets/homepage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
@import 'application';

/* Shared between homepage and blog. */
@import 'shared/datacite_colors';
@import 'shared/components/_mobile_cookie_bar';

$lighter-gray: #F4F5F5 !default;
Expand Down Expand Up @@ -481,12 +482,12 @@ footer .container-fluid {
}

footer a {
color: #939CA2;
color: $datacite-primary-dark-blue;
font-size: 14px;
}

footer h4 {
color: #939CA2;
color: $datacite-primary-dark-blue;
font-size: 18px;
font-weight: bold;
margin-top: 15px;
Expand Down
20 changes: 20 additions & 0 deletions source/stylesheets/shared/_datacite_colors.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// DataCite Design Manual v2.1 - Brand Colors
// https://datacite.org/wp-content/uploads/2024/06/DataCite_Design_manual-version_2_1.pdf

// Primary colors
$datacite-primary-dark-blue: #243B54 !default;
$datacite-primary-light-blue: #00B1E2 !default;

// Secondary colors (use in combination with primary dark blue)
$datacite-secondary-grey: #C0CED6 !default;
$datacite-secondary-turquoise: #46BCAB !default;
$datacite-secondary-light-red: #F07C73 !default;

// Additional colors
$datacite-medium-blue: #0D60D4 !default;
$datacite-dark-pink: #BC2B66 !default;
$datacite-lime: #E2E254 !default;

// Gradient endpoints (for backgrounds, infographics)
$datacite-gradient-start: $datacite-primary-light-blue !default;
$datacite-gradient-end: #243B53 !default;
Loading