Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Cant change bootstrap variables

Adam Price free asked 5 years ago


I should be able to update bootstrap core varibales in my custom-varibles.scss file. I can change mdb variables in this file.

No variables from boostrap there are no errors from gulp it compiles but variables are not changed. changes made to mdb variables do. I have tried importing custom_varibales.scss before boostrap core but still does not override variables.

Resources (screenshots, code snippets etc.) mdb.scss file @charset "UTF-8";

@import "custom-variables";

// Bootstrap @import "core/bootstrap/functions"; @import "core/bootstrap/variables"; @import "core/bootstrap/rfs";

// CORE

@import "core/mixins";

// Your custom variables

@import "core/colors"; @import "core/variables"; @import "core/global"; @import "core/helpers"; @import "core/typography"; @import "core/masks"; @import "core/waves";

// FREE @import "free/animations-basic"; @import "free/modules/animations-extended/module"; @import "free/buttons"; @import "free/cards"; @import "free/dropdowns"; @import "free/input-group"; @import "free/navbars"; @import "free/pagination"; @import "free/badges"; @import "free/modals"; @import "free/carousels"; @import "free/forms"; @import "free/msc"; @import "free/footers"; @import "free/list-group"; @import "free/tables"; @import "free/depreciated"; @import "free/steppers"; @import "free/loader"; @import "free/treeview"; // Free addons // @import "addons/datatables"; // @import "addons/datatables-select"; // @import "addons/directives"; // @import "addons/hierarchical-display"; // @import "addons/flags"; // @import "addons/rating";

// Your custom styles @import "custom-styles";

I am using gulp to compile


Marta Wierzbicka staff answered 5 years ago



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.8.8
  • Device: PC
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: No