Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The schema for the setting calva.highlight.bracketColors is broken #1290

Closed
PEZ opened this issue Sep 5, 2021 · 0 comments
Closed

The schema for the setting calva.highlight.bracketColors is broken #1290

PEZ opened this issue Sep 5, 2021 · 0 comments
Labels
configuration highlight Syntax highlighting, rainbow parens, such things ux User experience related

Comments

@PEZ
Copy link
Collaborator

PEZ commented Sep 5, 2021

When customizing Calva Highlight's bracket colors, the JSON schema describes it as if only strings are allowed in the array. However, we actually allow any elements to be either a string or a two-tuple of strings, where the first string is used for light themes, and the second for dark themes.

@PEZ PEZ added highlight Syntax highlighting, rainbow parens, such things ux User experience related configuration labels Sep 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
configuration highlight Syntax highlighting, rainbow parens, such things ux User experience related
Projects
None yet
Development

No branches or pull requests

1 participant