gitea/modules/templates
wxiaoguang b79e3db264
Initial support for colorblindness-friendly themes ()
Initial support for 

This PR only adds some simple styles from GitHub, it is big enough and
it focuses on adding the necessary framework-level supports. More styles
could be fine-tuned later.
..
eval Use a general Eval function for expressions in templates. ()
scopedtmpl Replace `interface{}` with `any` ()
vars Implement FSFE REUSE for golang files ()
base.go Replace `util.SliceXxx` with `slices.Xxx` ()
dynamic.go Use a general approach to access custom/static/builtin assets ()
helper.go Initial support for colorblindness-friendly themes ()
helper_test.go Remove unnecessary SanitizeHTML from code ()
htmlrenderer.go Enable more `revive` linter rules ()
htmlrenderer_test.go Show friendly 500 error page to users and developers ()
mailer.go Enable more `revive` linter rules ()
static.go Use a general approach to access custom/static/builtin assets ()
templates_bindata.go Implement FSFE REUSE for golang files ()
util_avatar.go Fix default avatar image size in PR diff page ()
util_dict.go Use `Set[Type]` instead of `map[Type]bool/struct{}`. ()
util_json.go Improve template helper ()
util_misc.go Avoid losing token when updating mirror settings ()
util_render.go Fix label rendering ()
util_render_test.go Fix label rendering ()
util_slice.go Improve template helper functions: string/slice ()
util_string.go Refactor some Str2html code ()
util_test.go Improve template helper functions: string/slice ()