Closed JoaoAntonio2 closed 3 years ago
If I understand what you want to do, you will have to create your own version of bootstrap-dark.scss or toggle-bootstrap-dark.scss. There is no way that I know of to "pre-override" the values of dark variables since I already do that in this project (i.e., there is no !default
in this project).
Assuming you are using npm, you can:
npm i @forevolve/bootstrap-dark --save
@import 'dark-variables';
Example:
@import 'node_modules/bootstrap/scss/functions';
@import 'node_modules/bootstrap/scss/variables';
@import 'node_modules/@forevolve/bootstrap-dark/dark-variables';
@import 'your-custom-variables';
@import 'node_modules/bootstrap/scss/mixins';
@import 'node_modules/@forevolve/bootstrap-dark/dark-mixins';
// ...
_You could get rid of the node_modules/*
suffix if you want to_
I want to replace the dark variables, not the style, but without affecting the bootstrap default theme, how can i do it?