-
Notifications
You must be signed in to change notification settings - Fork 2
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
Remove @import from CSS #13
Comments
Could it be a problem? |
Well, on a small project it wont be. But on larger projects or in slow networks change it could improve the load speed. |
On hold then. |
I looked into this, and I don't think it will be possible. Cake allows users to import the CSS in one line: If we remove the @imports, the user will have to add link tags for the Google Fonts as well, which is not ideal. Suggested solution: replace Google fonts with standard web-safe fonts so that the imports are no longer necessary. Otherwise, leave the imports. |
The @imports for Google fonts is "necesary". I mean, it's fine if we have them, and it will be fine without them, I guess. |
The
@import
function from CSS make the files load sequentially, it is recomended to avoid it. I sugest to remove it and write in the docs what fonts Cake recomends to import in HTML with<link>
.The text was updated successfully, but these errors were encountered: