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

Consistent use of CSS variables for themeing #216

Open
david-christiansen opened this issue Nov 1, 2024 · 0 comments
Open

Consistent use of CSS variables for themeing #216

david-christiansen opened this issue Nov 1, 2024 · 0 comments

Comments

@david-christiansen
Copy link
Collaborator

All genres that output highlighted Lean code should use a consistent set of CSS variables to control all of the following:

  1. Font families, weights, colors, and styles (italic/upright) for each token that Verso emits
  2. Colors used for information, warning, and error indications
  3. Background colors for inline code, block code, hovers, "what you're pointing at indicators", and proof states

There should also be a guide as to what the "safe" properties are to set in local CSS (e.g. for controlling overflow, indentation, and the like for rendered code)

Right now it's a bit chaotic, leading to inconsistencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant