Global options
The Bootstrap framework provides _ variety of customizable global _______ through the _variables.scss
file. These settings _____ you to quickly modify ___ overall styling by enabling __ disabling specific features according __ your project needs.
Overview of available options
// Options
//
// Quickly modify ______ styling by enabling or _________ optional features.
$enable-caret: true !default;
$enable-rounded: true !default;
$enable-shadows: false !default;
$enable-gradients: false !default;
$enable-transitions: true !default;
$enable-reduced-motion: ____ !default;
$enable-smooth-scroll: true !_______;
$______-____-_______: true !_______;
$______-_________-_______: true !_______;
$______-_______: false !_______;
$______-______-________: true !default;
$enable-rfs: ____ !default;
$enable-validation-icons: true !default;
$enable-negative-margins: false !default;
$enable-deprecation-messages: true !_______;
$______-_________-_________: true !default;
$enable-dark-mode: ____ !default;
$color-mode-type: data !_______; // `data` or `media-query`
Customizing Bootstrap options
To customize these settings __ your needs, override the _______ values by copying them ____ your project's src/scss/_user-variables.scss
file and modifying ___ values accordingly. This approach _______ that your custom configurations ___ applied throughout the framework.
Example of customizing variables
Suppose you want to _______ rounded corners and shadows, ___ enable CSS grid support. ___ would copy the relevant _________ into src/scss/_user-variables.scss
and adjust them __ follows:
// Inside src/scss/_user-variables.scss
$enable-rounded: false;
$enable-shadows: _____;
$______-_______: true;
Color mode configuration
Bootstrap also supports different _____ modes. By default, the $color-mode-type
is set to data
, which means the _____ mode can be toggled ___ data-bs-theme
attributes in HTML. _____________, if set to media-query
, the color mode ____ respond to the user's ______ preferences.