Files
excalidraw/src/components
Warren SeineandGitHub 71e7f130bc Generalize color normalization (#1479) (#1483)
Following #1478, a bug was found related to transparent backgrounds. As Excalidraw only supports `transparent` as a valid transparent color, this commits generalizes the use of canvas to normalize color values.

It changes a few details:
- `rgba()` or `hsla()` syntaxes are not accepted anymore
- pasting values goes through the same normalization step, avoiding invalid values
- color validation is not regex-based anymore
- any CSS-valid black color is now accepted (e.g. previously, `rgb(0,0,0)` was rejected)
2020-04-24 11:06:54 -07:00
..
2020-04-02 12:21:19 -04:00
2020-04-10 18:13:31 +03:00
2020-01-15 07:42:02 -08:00
2020-04-11 01:09:29 +03:00
2020-03-07 16:20:38 +01:00
2020-01-15 07:42:02 -08:00
2020-01-24 12:04:54 +02:00
2020-04-11 01:09:29 +03:00