urql-graphql / urql-devtools

A tool for monitoring and debugging urql during development
https://formidable.com/open-source/urql/docs/advanced/debugging/#devtools
MIT License
257 stars 11 forks source link

Dark theme tweaks #365

Closed andyrichardson closed 3 years ago

andyrichardson commented 3 years ago

Some minor tweaks to dark theme (needs feedback/thoughts).

Luminosity

Replaced a number of tint/shade calls to use lighten/darken instead. Assumption is based on wanting to lighten colors, but not necessarily shift the hue or prematurely desaturate them (https://polished.js.org/docs/#tint)

Font saturation/hue

Switched up greys and whites to mix in the hue of the canvas - this should leave (particularly dark) greys/whites looking softer against the canvas.

Before

Screenshot 2021-05-18 at 16 54 40

After

Screenshot 2021-05-18 at 16 55 40

Background color

Kept the hue the same but pulled back the saturation and lightness - should make the purple contrast better against the BG

Before

Screenshot 2021-05-18 at 16 50 19

After

Screenshot 2021-05-18 at 16 47 43

Event filter tags

Added background to make "tag" appearance more obvious

Before

Screenshot 2021-05-18 at 17 02 07

After

Screenshot 2021-05-18 at 17 01 43

One other thought

Haven't made this change but I'm thinking the panel headings are quite bright relative to the rest of the devtools.

Before

Screenshot 2021-05-18 at 17 05 15

After

Screenshot 2021-05-18 at 17 05 00