-
Notifications
You must be signed in to change notification settings - Fork 167
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
excludeDefaultStyles documentation is confusing #1088
Comments
@DanielaValero styleguide-app.css contains other definitions inside it which is important in both cases for example font styles and custom colors. If excludeDefaultStyle option is set then styleguide does not compile default styles in styleguide-app.css. I’ll make sure both options are working. I think it is better to have false as a default value that is why I set excludeDefaultStyle to true so that user wont effect by this change. |
Hi @junaidrsd I did a new check. I set in my config explicitly Then the styles are rendered, but not on page load. But somehow, it does not behave in all the cases consistently. It might be that what happens is that the default value is not being taken properly by the implementation. However, about the loading consistently or inconsistently, I will try to get more details on the steps to reproduce, and let you know if/when I get more info. |
…lean-install Fix #1088 customstyles missing on clean install
Hello,
To my understanding, the default styles are contained in: styleguide-app.
If this is correct, and the new option:
excludeDefaultStyles
is set to true, then thestyleguide-app.css
should not be delivered to the app.However, at the moment, it is working in the opposite way. If
excludeDefaultStyles
is set totrue
, then the app styles are sent to the app.The issue now, is that its default value is
false
, so, whenexcludeDefaultStyles === false
, then the styles are not being sent to the app, which causes that the apps of the users now don't get the styles.To my understanding, we should do any of the next options:
includeDefaultStyles
and set it totrue
by default, to avoid issues in the usersexcludeDefaultStyles === false
send the styles. AndexcludeDefaultStyles === true
send the styles. And define it asfalse
by defaultThe text was updated successfully, but these errors were encountered: