Browse Source

Task/resolve warnings in angular-sass plugin (#6973)

* feat(client): migrate table import to @use

* feat(client): migrate bootstrap import to @use

* feat(client): implement color channel

* feat(client): migrate svgmap import to @use
pull/6985/head
Kenrick Tandrian 5 days ago
committed by GitHub
parent
commit
cc7fa8232a
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 25
      apps/client/src/styles.scss

25
apps/client/src/styles.scss

@ -1,10 +1,11 @@
@use '@angular/material' as mat;
@use 'sass:color';
@import './styles/bootstrap';
@import './styles/table';
@import './styles/variables';
@use './styles/bootstrap';
@use './styles/table' as table;
@use './styles/variables' as variables;
@import 'svgmap/style.min';
@use 'svgmap/style.min';
:root {
--dark-background: rgb(25, 25, 25);
@ -12,8 +13,10 @@
--light-background: rgb(255, 255, 255);
--dark-primary-text:
#{red($dark-primary-text)}, #{green($dark-primary-text)},
#{blue($dark-primary-text)}, #{alpha($dark-primary-text)};
#{color.channel(variables.$dark-primary-text, 'red')},
#{color.channel(variables.$dark-primary-text, 'green')},
#{color.channel(variables.$dark-primary-text, 'blue')},
#{color.channel(variables.$dark-primary-text, 'alpha')};
--dark-secondary-text: 0, 0, 0, 0.54;
--dark-accent-text: 0, 0, 0, 0.87;
--dark-warn-text: 0, 0, 0, 0.87;
@ -21,8 +24,10 @@
--dark-dividers: 0, 0, 0, 0.12;
--dark-focused: 0, 0, 0, 0.12;
--light-primary-text:
#{red($light-primary-text)}, #{green($light-primary-text)},
#{blue($light-primary-text)}, #{alpha($light-primary-text)};
#{color.channel(variables.$light-primary-text, 'red')},
#{color.channel(variables.$light-primary-text, 'green')},
#{color.channel(variables.$light-primary-text, 'blue')},
#{color.channel(variables.$light-primary-text, 'alpha')};
--light-secondary-text: 255, 255, 255, 0.7;
--light-accent-text: 255, 255, 255, 1;
--light-warn-text: 255, 255, 255, 1;
@ -240,7 +245,7 @@ body {
}
.gf-table {
@include gf-table(true);
@include table.gf-table(true);
}
.mat-mdc-dialog-container {
@ -353,7 +358,7 @@ ngx-skeleton-loader {
}
.gf-table {
@include gf-table;
@include table.gf-table;
}
.gf-text-wrap-balance {

Loading…
Cancel
Save