uiwjs / react-json-view

A React component for displaying and editing javascript arrays and JSON objects.
https://uiwjs.github.io/react-json-view/
MIT License
212 stars 12 forks source link

--w-rjv-ellipsis-color is missing in themes files #30

Open valpet opened 9 months ago

valpet commented 9 months ago

I've discovered an issue: the --w-rjv-ellipsis-color and --w-rjv-key-number CSS variables are missing from the themes files. Instead it falls back to the default colors as defined in the source. Those css variables are also not exposed via the themes editor on the web page.

However, defining them myself with my custom colors worked fine so that's a workaround but I had to search through the source to find them and want to save others the time. :)

jaywcjlove commented 9 months ago

@valpet I updated it in the document

image