forgejo/web_src/css
0ko da12320a0c Replace imgage diff png background pattern with gradient (#3870)
Made the checkerboard background be more flexible in terms of scale and coloring. Provides dark theme for image diff.

I suppose these colors should not be re-used for a color-picker for a example, because it's usually more convenient to always have it in the light mode.

## Test

* go to e6d3623c7e
* or migrate https://next.forgejo.org/image-test/image-diff to your local instance

## Before/after

![image](/attachments/3835a455-69e0-4aec-bc67-5b226d8016c1)

(Old any - New Forgejo dark - New Gitea dark - New Forgejo/Gitea light)

---

Gradient property is taken from [here](https://www.reddit.com/r/css/comments/u08pf3/how_to_make_a_checkerboard_using_background/).

[CSS compatibility](https://developer.mozilla.org/en-US/docs/Web/CSS/gradient/conic-gradient#browser_compatibility): about four years of browser versions.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3870
Reviewed-by: Mai-Lapyst <mai-lapyst@noreply.codeberg.org>
2024-05-24 17:33:13 +00:00
..
chroma
codemirror
editor
features Replace imgage diff png background pattern with gradient (#3870) 2024-05-24 17:33:13 +00:00
markup Use CSS inset shorthand (#30939) 2024-05-13 17:00:21 +02:00
modules Enable declaration-block-no-redundant-longhand-properties (#30950) 2024-05-14 17:28:58 +02:00
repo Fix issue card layout (#30800) 2024-05-05 12:15:40 +01:00
shared Forbid deprecated break-word in CSS (#30934) 2024-05-12 20:03:10 +02:00
standalone
themes Replace imgage diff png background pattern with gradient (#3870) 2024-05-24 17:33:13 +00:00
actions.css Fix various overflows on actions view (#30344) 2024-04-21 11:53:50 +02:00
admin.css
base.css Merge pull request '[gitea] week 2024-20 cherry pick (gitea-github/main -> forgejo)' (#3729) from earl-warren/wcp/2024-20 into forgejo 2024-05-14 12:23:10 +00:00
dashboard.css Pulse page improvements (#30149) 2024-04-21 11:08:33 +02:00
explore.css
font_i18n.css
form.css Fix colour contrast issues 2024-04-30 01:48:30 +02:00
helpers.css Merge pull request '[gitea] week 2024-20 cherry pick (gitea-github/main -> forgejo)' (#3729) from earl-warren/wcp/2024-20 into forgejo 2024-05-14 12:23:10 +00:00
home.css
index.css
install.css Fix some UI problems (install) (#30854) 2024-05-15 20:12:14 +02:00
org.css
repo.css Port: Fix issue/PR title edit (gitea#30858) (#3797) 2024-05-20 23:32:48 +00:00
review.css
user.css