We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I import some third party stylesheets. But some styles not work becase of lunar has inject some global styles with !important
!important
Such as
If I force let globals to be null in here. My app will work well
globals
So is there any general way to fulfill my needs?
The text was updated successfully, but these errors were encountered:
@yinxin630 Important comes from Aphrodite and cannot be changed.
Sorry, something went wrong.
Aphrodite has an option to override the automatic addition of !important: Khan/aphrodite#104
@BarthesSimpson While true, that functionality is abstracted away in Lunar so you wouldn't be able to control that.
In your webpack config, add this alias:
... resolve: { alias: { aphrodite: 'aphrodite/no-important', }, }, ...
No branches or pull requests
Hi, I import some third party stylesheets. But some styles not work becase of lunar has inject some global styles with
!important
Such as
If I force let
globals
to be null in here. My app will work wellSo is there any general way to fulfill my needs?
The text was updated successfully, but these errors were encountered: