-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
Core css file with minimum classes #543
Comments
For 1. You can read the stylus files that are used to generate the CSS files. Maybe that's an option. |
Thanks @smares & @mfferreira for your celerity :) `html{box-sizing:border-box;overflow-y:scroll;-webkit-text-size-adjust:100%} html{font-size:14px;color:#424242;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-tap-highlight-color:transparent}` is there a reason for that? 4 & 5- OK thanks, the link @smares sent me is very interesting ;) 6- plz, is there a reason why you chose stylus over SASS? is stylus better? |
Whether stylus is better or not is subjective, but I like working in it better. For most devs, you can barely tell the difference. |
Well, I was first going for SASS, but since I like so much vuetify and saw you use stylus, that dived me into big confusion and spent few hours reading about it :D Any idea about question 1 & 3 plz ? |
Stylus files are located here. As far as html being declared twice, I don't see where this is being done. |
Thanks for your lighting speed answer ;) As per the html tag, it's in this .css file: https://github.com/vuetifyjs/vuetify/blob/master/dist/vuetify.min.css |
One is from the css reset, the other is from here |
Ah OK, I see! thanks for your clarification ;) |
If you have any additional questions, feel free to come to the official gitter and ask. |
Ok, thanks a lot |
Hi @johnleider and congrats for this amazing work, I'm really impressed how clean and beautiful it is, thanks :)
I'm using it by including the css file through https://unpkg.com/vuetify/dist/vuetify.min.css, but I've noticed that this files is pretty large and have the following questions plz:
1- is there a non-minified css so I can better read it?
2- is there a core css file for example without body & html tag, .elevation-* classes, all the colors .red-, .purple-, ... ? I'd like to define the html and body (with my own font-family) tags in my css files without having to override them
3- why is the html tag defined twice in your css?
4- I noticed that somtimes you use "--" in the class name, what is the purpose of it?
5- I'm using the css reset (https://meyerweb.com/eric/tools/css/reset/), is it still a good idea to use it with vuetify?
Thanks a lot for your support
The text was updated successfully, but these errors were encountered: