Change image transparency grid to CSS (#36711)

These new colors work much better on dark theme than before (where it
was far too bright).

<img width="731" height="533" alt="image"
src="https://github.com/user-attachments/assets/e2979935-87ac-4d0e-80e1-67fe6cd2d6c7"
/>

<img width="736" height="543" alt="image"
src="https://github.com/user-attachments/assets/96da1292-cc77-49bf-aa51-d48b6c7cf2b4"
/>

---------

Co-authored-by: Giteabot <teabot@gitea.io>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
silverwind
2026-02-25 21:20:28 +01:00
committed by GitHub
parent 0de8a3d3d8
commit 9ae28b6f39
3 changed files with 5 additions and 1 deletions

View File

@@ -247,6 +247,8 @@ gitea-theme-meta-info {
--color-highlight-bg: #352c1c;
--color-overlay-backdrop: #080808c0;
--color-danger: var(--color-red);
--color-transparency-grid-light: #2a2a2a;
--color-transparency-grid-dark: #1a1a1a;
accent-color: var(--color-accent);
color-scheme: dark;
}