Improve how icon colors are defined

- define specific colors for icons for themes
- fix related contrast issues on Forgejo dark theme
This commit is contained in:
0ko 2024-05-10 23:19:35 +05:00
parent 2b2fd2728c
commit b1a239cdc4
5 changed files with 30 additions and 6 deletions

View file

@ -179,6 +179,10 @@
--color-orange-badge-bg: #f2711c1a;
--color-orange-badge-hover-bg: #f2711c4d;
--color-git: #f05133;
/* Icon colors (PR/Issue/...) */
--color-icon-green: var(--color-green);
--color-icon-red: var(--color-red);
--color-icon-purple: var(--color-purple);
/* target-based colors */
--color-body: #ffffff;
--color-box-header: #f1f3f5;