gitea/web_src
silverwind 91dc737a35
Replace `tinycolor2` with `colord` (#36673)
[`colord`](https://github.com/omgovich/colord) is significantly smaller
than [`tinycolor2`](https://github.com/bgrins/TinyColor) (~4KB vs ~29KB
minified) and ships its own TypeScript types, removing the need for
`@types/tinycolor2`.

Behaviour is exactly the same for our use cases. By using `.alpha(1)` we
force the function to always output 6-digit hex format (it would output
8-digit for non-opaque colors).

---------

Signed-off-by: silverwind <me@silverwind.io>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 15:43:01 +00:00
..
css Add code editor setting dropdowns (#36534) 2026-02-12 03:55:46 +08:00
fomantic Add code editor setting dropdowns (#36534) 2026-02-12 03:55:46 +08:00
js Replace `tinycolor2` with `colord` (#36673) 2026-02-20 15:43:01 +00:00
svg Support blue yellow colorblind theme (#35910) 2025-11-11 18:21:15 +00:00