Bug 38995 - Allow to pick an accent color
Summary: Allow to pick an accent color
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Style guide (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Owen Leonard
QA Contact: Martin Renvoize (ashimema)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-29 22:22 UTC by Pablo AB
Modified: 2025-01-29 22:22 UTC (History)
0 users

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pablo AB 2025-01-29 22:22:51 UTC
Following Lucas Gass advice on bug 37054#c51; related to bug 31327 and 38550:

Right now we can change accent-color by changing hex values on a set of files (CSS/JSON/SVG). #408540 #006100 #418940 #418A40 #589D43 to a dark color (the difference on very similar shades of green seems to be a bug), and #6faf44 #71b443 #7cbb51 #dcefd0 to a light color.

By default, using HSL model, the koha's green is around hsl(120, 40%, 40%). I would love to see a syspref to change that hue from 120 to any 0-255 value (or a nicer picker). This would apply to staff and OPAC, and could be overridden by a per library field or custom CSS.

Not sure if this could be done independently of a per-user light/dark mode switch (bug 38550).