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

Designer: Fix parent fill color handling #235

Merged
merged 2 commits into from
Oct 18, 2024

Conversation

bheston
Copy link
Member

@bheston bheston commented Oct 17, 2024

Pull Request

Description

I think I've finally resolved the issue where colors were being calculated incorrectly until you unselected and reselected a layer.
Cleaned up the handling of the effective fill color when you might have layers without a fill.
The key fix is in clearing the design token values in the shadow hierarchy at the right place so it's not latching old colors.

Test Plan

Tested in Figma Designer.

Checklist

General

  • I have included a change request file using $ npm run change
  • I have added tests for my changes.
  • I have tested my changes.
  • I have updated the project documentation to reflect my changes.
  • I have read the CONTRIBUTING documentation for this project.

@bheston bheston force-pushed the users/bheston/aui-new-style-properties branch from c2686d4 to 36460a2 Compare October 18, 2024 02:28
Base automatically changed from users/bheston/aui-new-style-properties to main October 18, 2024 02:31
@bheston bheston force-pushed the users/bheston/aui-fix-parent-fill-color branch from 3e04282 to 01e1917 Compare October 18, 2024 02:32
@bheston bheston merged commit 6ba5611 into main Oct 18, 2024
2 checks passed
@bheston bheston deleted the users/bheston/aui-fix-parent-fill-color branch October 18, 2024 02:35
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.

2 participants