Browse Source

feat(client): implement mat.theme

pull/6849/head
KenTandrian 6 days ago
parent
commit
642f076e53
  1. 8
      apps/client/src/styles/theme.scss

8
apps/client/src/styles/theme.scss

@ -150,7 +150,7 @@ $gf-typography: (
); );
.theme-light { .theme-light {
$gf-theme-default: mat.define-theme( @include mat.theme(
( (
color: ( color: (
primary: $_primary, primary: $_primary,
@ -164,8 +164,6 @@ $gf-typography: (
) )
); );
@include mat.all-component-themes($gf-theme-default);
@include mat.autocomplete-overrides( @include mat.autocomplete-overrides(
( (
background-color: var(--light-background) background-color: var(--light-background)
@ -233,7 +231,7 @@ $gf-typography: (
} }
.theme-dark { .theme-dark {
$gf-theme-dark: mat.define-theme( @include mat.theme(
( (
color: ( color: (
primary: $_primary, primary: $_primary,
@ -247,8 +245,6 @@ $gf-typography: (
) )
); );
@include mat.all-component-themes($gf-theme-dark);
@include mat.button-overrides( @include mat.button-overrides(
( (
outlined-label-text-color: var(--light-primary-text), outlined-label-text-color: var(--light-primary-text),

Loading…
Cancel
Save