forkjo/web_src/css/features
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
..
codeeditor.css Unify border-radius behavior (#26770) 2023-08-28 19:43:59 +00:00
colorpicker.css Replace coloris with vanilla-colorful (#30201) 2024-04-07 15:40:31 +02:00
console.css Forbid deprecated break-word in CSS (#30934) 2024-05-12 20:03:10 +02:00
dropzone.css Unify border-radius behavior (#26770) 2023-08-28 19:43:59 +00:00
gitgraph.css Fix various loading states, remove .loading class (#29920) 2024-03-26 19:04:26 +01:00
heatmap.css Add hover outline to heatmap squares (#30828) 2024-05-05 12:15:40 +01:00
imagediff.css Replace imgage diff png background pattern with gradient (#3870) 2024-05-24 17:33:13 +00:00
projects.css fixed overflow of projects column title 2024-05-17 23:11:11 +02:00
tribute.css Unify border-radius behavior (#26770) 2023-08-28 19:43:59 +00:00