I am working on a change-color.service.ts file that contains the following code snippet:
public defaultStyles = {
firstDesignBackgroundColor: '#a31329',
firstDesignFontColor: '#ffffff',
secondDesignBackgroundColor: '#d1cfcfff',
secondDesignFontColor: '#000000'
};
Currently, I want to update my style.scss file with the following statement:
:host ::ng-deep th span#optimize-checkbox-header .mat-checkbox label.mat-checkbox-layout .mat-checkbox-inner-container.mat-checkbox-inner-container-no-side-margin .mat-checkbox-frame {
border: 2px solid #fff !important;
}
The task is to replace the color value #fff
with the variable firstDesignFontColor
from the change-service
. Is it feasible to create this dependency? Any suggestions or solutions would be appreciated.