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

@ -1143,6 +1143,20 @@ overflow-menu .ui.label {
color: var(--color-secondary-dark-2) !important;
}
/* colors of colorful icons */
svg.text.green,
.text.green svg {
color: var(--color-icon-green) !important;
}
svg.text.red,
.text.red svg {
color: var(--color-icon-red) !important;
}
svg.text.purple,
.text.purple svg {
color: var(--color-icon-purple) !important;
}
.oauth2-authorize-application-box {
margin-top: 3em !important;
}