mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-06 12:01:40 +08:00
Previously, ONLY "Color CSSVariable value" will display in style autocompletions. This CL will also display "non-Color CSSVariable" value in autocompletions, without change list order. How to test: 1. open empty page 2. open devtools 3. add new style to check style autocompletions work. Before v.s After screenshots: - https://imgur.com/a/RSxrvnh After, screen video record: - https://youtu.be/4seqbcXPz4I Note: If "non-Color CSSVariable value" without "max-width" limitation, will take too much space. The UX are bad in some case. screenshot: https://imgur.com/a/EbVgVbb Bug: 1285091 Change-Id: I01aa6bea8e7802a03c6922e9b2506e44d916aa1d Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3603006 Commit-Queue: Changhao Han <changhaohan@chromium.org> Reviewed-by: Jack Franklin <jacktfranklin@chromium.org> Reviewed-by: Changhao Han <changhaohan@chromium.org>