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] support !important in style directive #7470

Closed
wants to merge 1 commit into from

Conversation

tanhauhau
Copy link
Member

@tanhauhau tanhauhau commented Apr 19, 2022

Fixes #7365

Before submitting the PR, please make sure you do the following

  • Prefix your PR title with [feat], [fix], [chore], or [docs].
  • This message body should clearly illustrate what problems it solves.
  • Ideally, include a test that fails without this PR but passes with it.

Tests

  • Run the tests with npm test and lint the project with npm run lint

@Antonio-Bennett
Copy link

Hey what do you think about this comment? #7365 (comment)
I agree that using a | like style:color|important={color} feels a lot more svelty

@tanhauhau tanhauhau marked this pull request as draft April 21, 2022 13:48
@tanhauhau
Copy link
Member Author

Close in favor of #7489

@tanhauhau tanhauhau closed this May 29, 2022
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.

CSS "!important" not supported in Svelte "style"
2 participants