]> git.koha-community.org Git - koha.git/commit
Bug 30952: (follow-up) Use variables for primary and secondary greens
authorOwen Leonard <oleonard@myacpl.org>
Tue, 27 Sep 2022 18:08:16 +0000 (18:08 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 12 Oct 2022 19:15:12 +0000 (16:15 -0300)
commitaf0b2fb847d81cd0e34d5772e40ef4c20de5c0d4
treeceac0cda5923e4a6229db8644571e27e975a5c26
parent7ae2978dcbdd0e3eaa14c78be2f7bb07a3476961
Bug 30952: (follow-up) Use variables for primary and secondary greens

_variables.scss currently contains a variable,
$background-color-primary, which isn't used. I think we should use that
variable anywhere the color is used, and use SASS color calculation to
generate the secondary color.

The two colors can be compared in the search header: primary for the
background, secondary for the submit button color.

To test, apply the patch and rebuild the staff interface CSS.

Test various pages in the staff interface to confirm that the colors
look the same as before: Search header, tab colors, "Last patron"
button, etc.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/css/src/_header.scss
koha-tmpl/intranet-tmpl/prog/css/src/_variables.scss
koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss