Skip to content

fix: style panel not detecting applied text color (shows "None") #10

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Kitenite
Copy link

Description

This PR addresses an issue where the style panel failed to detect and display the applied text color on elements.

Related Issues

Closes onlook-dev#1762

Type of Change

  • Bug fix
  • New feature
  • Documentation update
  • Release
  • Refactor
  • Other (please describe):

Testing

Screenshots (if applicable)

Additional Notes


Important

Fixes bug in ColorInput by resolving CSS variables to correctly detect applied text color.

  • Behavior:
    • Fixes bug in ColorInput where applied text color was not detected due to unresolved CSS variables.
    • Uses resolveCssVariables to resolve CSS variables in ColorInput.
  • Functions:
    • Adds resolveCssVariables to color.ts to replace CSS variables with actual values from styleRecord.

This description was created by Ellipsis for 9d4b4ed. You can customize this summary. It will automatically update as commits are pushed.

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

Successfully merging this pull request may close these issues.

[bug] Style panel does not detect applied text color (shows "None")
2 participants