Skip to content

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

3 participants