admin管理员组文章数量:1389783
I would like to have styles.css control all the project styles and perhaps also override Quasar basic colors in quasar-variables.sass.
I'm primarily a .NET and MSSQL developer, but I'm expanding my horizons by exploring Vue and Quasar. However, I'm having trouble customizing my color scheme.
I'm following the instructions from the Quasar CSS Preprocessors guide (/quasar-cli-vite/css-preprocessors), but I'm encountering issues when attempting to import custom CSS color variables.
Any suggestions would be greatly appreciated!
GitHub Repository:
File to import: Frontend\src\quasar-variables.sass
Proposed code change in App.vue that generated error: [sass] Error: Expected newline.
<style lang="sass">
// $
I would like to have styles.css control all the project styles and perhaps also override Quasar basic colors in quasar-variables.sass.
I'm primarily a .NET and MSSQL developer, but I'm expanding my horizons by exploring Vue and Quasar. However, I'm having trouble customizing my color scheme.
I'm following the instructions from the Quasar CSS Preprocessors guide (https://quasar.dev/quasar-cli-vite/css-preprocessors), but I'm encountering issues when attempting to import custom CSS color variables.
Any suggestions would be greatly appreciated!
GitHub Repository: https://github/billjenner/vue-quasar-app
File to import: Frontend\src\quasar-variables.sass
Proposed code change in App.vue that generated error: [sass] Error: Expected newline.
<style lang="sass">
// $
Share
Improve this question
asked Mar 15 at 21:36
BillBill
1,2155 gold badges18 silver badges27 bronze badges
1 Answer
Reset to default 0The answer is to use SCSS. I didn't realize the difference in synctax.
<style lang="scss">
本文标签: cssHow to override Quasar39s default colors in the quasarvariablessass fileStack Overflow
版权声明:本文标题:css - How to override Quasar's default colors in the quasar-variables.sass file? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744602917a2615175.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论