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

Show theme values (and pixel/color equivalents) in hovers and completions #1092

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

thecrypticace
Copy link
Contributor

@thecrypticace thecrypticace commented Nov 18, 2024

Fixes #1089

In v4 when we switched to using just var(--some-theme-key) in declarations instead of including fallbacks this had the side-effect of hiding pixel and color equivalents. This PR brings those back.

  • Evaluate simple calc expressions that are derived from the theme

@thecrypticace thecrypticace changed the title Show theme values in hovers and completions Show theme values (and pixel/color equivalents) in hovers and completions Nov 18, 2024
This lets users see the current theme value _and_ pixel/color equivalents
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Show pixel values for v4 spacing
1 participant