Skip to content

Fixed the element color refresh to default color when color is deleted from brand panel #9

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 2 commits into
base: main
Choose a base branch
from

Conversation

Kitenite
Copy link

Description

Fixed element color refresh to it's default value when the color is deleted from brand panel

Related Issues

fixes onlook-dev#1789

Testing

Tested by running locally

Screenshots (if applicable)

Screencast.from.2025-04-27.15-17-23.webm

Important

Fixes element color reverting to default when deleted from brand panel and ensures UI refresh in StyleManager, ThemeManager, and ColorInput.

  • Behavior:
    • Fixes element color reverting to default when deleted from brand panel in StyleManager.update() in style/index.ts.
    • Ensures UI refreshes after color deletion in ThemeManager.delete() in theme/index.ts.
  • UI:
    • Adds effect in ColorInput in ColorInput/index.tsx to update color state when a color is deleted and not found in theme.

This description was created by Ellipsis for daf2f83. 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] Element does not refresh after color is deleted from color panel
2 participants