Closed chrisdarke42 closed 4 months ago
@cjwetherington - This may give you a good start on defining colors: https://github.com/psu-libraries/ul-web/blob/main/vendor/custom/themes/f5_psul/scss/base/_global-variables.scss
@schwent Thanks, Karen! Unfortunately I can't access that repo. I was going to start with the latest version of the PSU color guide and go from there.
These are the colors we use on the psul site currently:
// Theme Colors $warm-blue: #6888c2; // body anchors $navy-blue: #2c76c7; // darker blue for backgrounds $pale-blue: #b8d1ff; // used in the Ask page for rollover bg $off-white: #fafafa; // page background $valchar-white: #fefefe; // used on the homepage font color for Research Help and Tools $off-off-white: darken($off-white, 10%); // used in collection panes $attn-yellow: #ebc100; // attention grabbing yellow $midnight-blue: #0a0f15; // high alert links color $valchar-blue: #2b76c7; // used on the background color of buttons on the homepage for Research Help and Tools $subtle-gray: #b5b5b5; $valchar-grey: #363636; // used on the homepage background for Research Help and Tools $valchar-light-grey: #f2f2f2; // used on the homepage background for Expert Help
$light-blue: #356ed7; // top-bar buttons $psu-light-blue: rgb(150, 190, 230);
$primary-color: $navy-blue; $body-font-color: #000000; $topbar-bg: $navy-blue; $topbar-dropdown-bg: $navy-blue; $topbar-dropdown-link-bg: $navy-blue; $topbar-link-bg-hover: $navy-blue; $anchor-font-color-hover: scale-color($primary-color, $lightness: -50%);
I added the global variables file to psulib_base template, so this may be a good start for this issue.
These are the values from the PSU Color Guide:
Primary
Secondary
Classic Accents
Vibrant Accents
Links
@schwent - add in any hex keys that aren't in the variables. // break into colors file.
^ @cjwetherington will spearhead the above.
Merged in in https://github.com/psu-libraries/psulib_base/pull/20
Closing for now, any changes can be made in future commits
A base set of colors needs to be defined, and this would be set as variables that can then be used to override Bootstrap5 variables, or to override custom theme css.
Next steps