Skip to content

JSON column view mode has extremely low contrast #40633

Closed
revolving-org/supabase
#23

Description

@vcooley

Bug report

Database JSON column viewer has extremely low contrast in light mode, especially with string values, making the text very difficult to read.

  • I confirm this is a bug with Supabase, not with my own application.
  • I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

The JSON viewer has extremely low contrast values when in light mode.

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Set theme to light mode
  2. Go to a table with a JSON data column
  3. Double-click to view the data in the column
  4. Click "Expand Editor" button
  5. Click "View" in the top right of the panel
  6. Observe faint yellow text on white background for string values

Expected behavior

The text should have a higher contrast and be readable. Several of the values render with colors which are below recommended contrast standards of 4.5:1, but string values are especially difficult to read as they have a contrast ratio of 1.37:1.

Screenshots

String value, contrast 1.37
Image

number/primitive value, contrast 3.07
Image

If applicable, add screenshots to help explain your problem.

System information

  • OS: [e.g. macOS, Windows]
  • Browser (if applies) [e.g. chrome, safari]
  • Version of supabase-js: [e.g. 6.0.2]
  • Version of Node.js: [e.g. 10.10.0]

Additional context

Add any other context about the problem here.

Activity

  1. added
    bug
    on Nov 19, 2025
  2. added
    external-issue
    on Nov 19, 2025
  3. The-karnox commented on Nov 21, 2025

    @The-karnox

    Seems like a simple css behavior problem. Can you assign this to me to solve.

  4. marsou001 commented on Nov 23, 2025

    @marsou001
    Contributor

    Thanks for pointing out the issue!

    I just linked a PR that includes the new colors for the JSON column in light mode.

    Feel free to check it out!

  5. added
    pr-opened
    and removed on Nov 28, 2025
  6. added
    frontend
    on Mar 5, 2026
  7. added a commit that references this issue on Mar 6, 2026
    efa40ea
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugexternal-issuefrontendpr-opened

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions