Feat(uiux): integrate SCSS from Bootstrap on Nuxt/Vue
xinbenlv opened this issue · 0 comments
xinbenlv commented
Currently, we are using bootstrap-vue, but we have not leveraged the SCSS power of it.
We are instead doing one-off importing for the variables from bootstrap scss, e.g.
<style lang="scss" scoped>
@import 'bootstrap/scss/_functions.scss';
@import 'bootstrap/scss/_variables.scss';
@import 'bootstrap/scss/_mixins.scss';
// ... definitions
</style>
Our goal is to
-
allow using the scss variables/mixins defined from Bootstrap, such as
@include media-breakpoint-up
without needing to import everything. -
allow customizing certain behavior from original Bootstrap, such as
a. change what'ssuccess
color, what'sdanger
color
b. change the default font-size
c. change the default outline color. -
It also allows us to apply different color theme, font, etc.
Reference: