Files
pydantic/docs/examples
Samuel Colvin 22f134475d Colors (#516)
* Color validator MVP

* Color Validator refactored

* Small optimizations applied

* Code coverage improved

* hex processing improved, json encoder and repr added

* Add documentation, update HISTORY (#504)

* Increase test coverage (#504)

* hex helpers refactored (#504)

* Fixes after code review (#509)

* Color Type section in docs reduced

* Check for valid but unnamed colors

* Minor fixes: typo in docs, default value for float comparison function

* rewrite Color

* fix color tests

* tweaks and improve docs

* tweaks and change Color.__str__

* add as_hsla and as_hsl

* support more rgb(a) formats

* add hsl parsing

* parsing hex with alpha channel

* fix hsl parsing

* simpler failure/fallback rules for color display

* storage as floats internally

* tweak docs

* fix type hints
2019-05-22 13:14:35 +01:00
..
2018-08-25 17:06:32 +01:00
2018-02-06 13:56:45 +00:00
2019-05-22 13:14:35 +01:00
2018-10-01 09:48:28 +01:00
2018-08-29 10:38:02 +01:00
2018-08-25 17:06:32 +01:00
2017-06-21 18:15:08 +01:00
2019-03-29 10:17:23 +00:00
2018-06-04 10:55:48 +01:00
2017-06-21 18:15:08 +01:00
2018-06-18 12:20:10 +01:00
2017-11-07 11:26:16 +00:00
2017-11-08 14:37:01 +00:00
2018-06-24 17:52:56 +01:00