sanity-io / sanity

Sanity Studio – Rapidly configure content workspaces powered by structured content
https://www.sanity.io
MIT License
5.33k stars 430 forks source link

Sanity GraphQL Playground - Color of error tooltip has the same colour as the background being not readable #5013

Open Szymon-Wrzos opened 1 year ago

Szymon-Wrzos commented 1 year ago

Describe the bug When having error in GraphQL Playground, tooltip text cannot be read due to being nearly the same / the same color as the background To Reproduce

Steps to reproduce the behavior:

  1. Deploy Sanity schema to GraphQL
  2. Mind to have playground
  3. Make some error
  4. Hover over where is error

Expected behavior

Text would be readable

Screenshots image

Which versions of Sanity are you using?

@sanity/cli (global) 3.18.1 (up to date) @sanity/eslint-config-studio 3.0.1 (up to date) @sanity/vision 3.18.1 (up to date) sanity 3.18.1 (up to date)

What operating system are you using?

Ubuntu 22.04

Which versions of Node.js / npm are you running?

Node: v19.2.0 pnpm: 8.6.12

Additional context I checked issue and all it took was to add color black to class CodeLint-lint-tooltip image

Security issue? Nope

geball commented 1 year ago

@Szymon-Wrzos I haven't been able to reproduce this. Are you still noticing it?

Szymon-Wrzos commented 1 year ago

Yeah

I noticed it's an issue on Firefox only

On Google Chrome it does work