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

fix(elements|ino-icon-button): remove hardcoded css variables #839

Merged
merged 1 commit into from
Jan 4, 2023

Conversation

pfecht
Copy link
Contributor

@pfecht pfecht commented Jan 4, 2023

In the refactoring #736, the --ino-icon-button-icon-color have been hardcoded on the element root level. This might not be a problem using the element directly. However, inside the shadow DOM (for example ino-nav-drawer), one cannot override the properties anymore because the ino-icon-button styles itself are not accessible.

Thus, the css vars should only provide a default value and not be hardcoded :)

@pfecht pfecht enabled auto-merge (squash) January 4, 2023 15:01
@janivo janivo disabled auto-merge January 4, 2023 15:02
@janivo janivo enabled auto-merge (squash) January 4, 2023 15:02
@janivo janivo merged commit 5819434 into master Jan 4, 2023
@janivo janivo deleted the hotfix-ino-icon-button-color branch January 4, 2023 15:06
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