Files
react-native-devtools-frontend/front_end/panels/elements
Philip Pfaffe 1275481ec0 [Colors] Account for powerless components
Some colors define powerless copmonents, e.g., when lightness is 100, hue and saturation are irrelevant in the hsl space. With this CL, powerless components are set to 0.

In order to simplify testing and the API a little, also stop returning the "as-authored" original text for Color's asString method. Callers explicitly interested in showing the as-authored value should call the getAuthoredText accessor now.

Bug: 1073895
Change-Id: I6a93fbd5af4b8ae007122360bea3acb67c4b6aa5
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/4177291
Reviewed-by: Ergün Erdoğmuş <ergunsh@chromium.org>
Auto-Submit: Philip Pfaffe <pfaffe@chromium.org>
Commit-Queue: Ergün Erdoğmuş <ergunsh@chromium.org>
2023-01-25 18:23:19 +00:00
..
2022-08-12 09:20:33 +00:00
2022-01-13 16:18:24 +00:00
2022-01-14 16:41:50 +00:00
2022-11-21 18:39:44 +00:00