[BUG] Fix tone of callout boxes for Forgejo dark

- Adjust the warning and success text to be more representive (make them
more green and yellow). They still confirm to AAA contrast.
- For important, note and caution callout boxes make use of the light
variants for the colors colors rather than the dark variant.
- Resolves #3084
This commit is contained in:
Gusted 2024-04-06 20:38:37 +02:00
parent 0a51ae26bc
commit 515ccaacd9
No known key found for this signature in database
GPG key ID: FD821B732837125F

View file

@ -157,10 +157,10 @@
--color-error-text: #fef2f2; --color-error-text: #fef2f2;
--color-success-border: #1f6e3c; --color-success-border: #1f6e3c;
--color-success-bg: #1d462c; --color-success-bg: #1d462c;
--color-success-text: #f0fdf4; --color-success-text: #aef0c2;
--color-warning-border: #a67a1d; --color-warning-border: #a67a1d;
--color-warning-bg: #644821; --color-warning-bg: #644821;
--color-warning-text: #fefce8; --color-warning-text: #fff388;
--color-info-border: #2e50b0; --color-info-border: #2e50b0;
--color-info-bg: #2a396b; --color-info-bg: #2a396b;
--color-info-text: var(--steel-100); --color-info-text: var(--steel-100);
@ -308,3 +308,12 @@ i.grey.icon.icon.icon.icon {
background: var(--steel-100) !important; background: var(--steel-100) !important;
color: var(--color-white) !important; color: var(--color-white) !important;
} }
strong.attention-important, svg.attention-important {
color: var(--color-violet-light);
}
strong.attention-note, svg.attention-note {
color: var(--color-blue-light);
}
strong.attention-caution, svg.attention-caution {
color: var(--color-red-light);
}