I am using Bootstrap 4.3.1 in my angular 8 project. Basically I want to (change / override) some default variables of bootstrap. Like e.g $font-size-base
I've tried below code but this isn't working at all, please suggest me what is the right way to (customize / change / override) bootstrap scss variables in angular project.
angular.json
"styles": [
"node_modules/bootstrap/dist/css/bootstrap.min.css",
"src/scss/style.scss"
],
style.scss
@import "../../node_modules/bootstrap/scss/_functions";
@import "../../node_modules/bootstrap/scss/_variables";
@import "../../node_modules/bootstrap/scss/mixins";
$font-size-base: 0.655rem;
package.json
"@ng-bootstrap/ng-bootstrap": "^5.1.2",
"bootstrap": "^4.3.1",
Still showing default font size while running angular project.