What if the global variables defined in style.scss are not recognized within the angular component?

in styles.scss , variables.scss , variables.scss the variable $jj is defined, and then $jj will report an error
variables.scss

in testsass.component.scss.
$jj : -sharp05c2fc;

.jj {
    background: $jj;
}

styles.scss

@import "variables";
@import "../node_modules/bootstrap/scss/bootstrap";

testsass.component.scss

$background: -sharpfa6164;
.article {
    // background: $jj;//
    background: $background//
}

ps :

  1. there is no problem with using .jj styles in testsass.component.html
  2. variables defined within the component can be recognized

testsass.component.html

<h1 class="jj">h1</h1>
<h1 class="article">article</h1>

ask for advice!

May.22,2021

requires the introduction of variables.scss in the sass file of the current component, but isn't it introduced in styles.scss ? And it doesn't matter at all to remove @ import 'variables' from styles.scss , but what's the use of adding this to the document that installs ngx-bootstrap ?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e5604f-45376.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e5604f-45376.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?