In order to simplify referencing, I am establishing new theme colors as shown below, allowing me to use classes like bg-red
instead of bg-danger
or text-purple
, and so forth.
$primary : #24305e;
$blue : #375abb;
$indigo : #796eff;
$purple : #6f42c1;
$pink : #e83e8c;
$red : #db4446;
$orange : #e3240C;
$yellow : #ffc107;
$green : #21c87a;
$teal : #2e9cca;
$cyan : #17a2b8;
$light : #f6f9fc;
$theme-colors : (
"blue" : $blue,
"indigo" : $indigo,
"purple" : $purple,
"pink" : $pink,
"red" : $red,
"orange" : $orange,
"yellow" : $yellow,
"green" : $green,
"teal" : $teal,
"cyan" : $cyan
);
@import "node_modules/bootstrap/scss/bootstrap";
However, I am unsure if this is the correct approach, as it appears that I have duplicate colors defined within the :root
variables. Please see the attached image for reference.
https://i.sstatic.net/laNvv.png
Could there be something missing here?