Browse Source

feat(client): bring back typography config

pull/6833/head
KenTandrian 3 weeks ago
parent
commit
a668c03ea7
  1. 22
      apps/client/src/styles/theme.scss

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

@ -139,20 +139,28 @@ $_tertiary: map.merge(map.get($_palettes, tertiary), $_rest);
@include mat.elevation-classes(); @include mat.elevation-classes();
@include mat.table-density(-1); @include mat.table-density(-1);
// $gf-typography: mat.m2-define-typography-config(); $gf-typography: (
// Font families
brand-family: var(--font-family-sans-serif),
plain-family: var(--font-family-sans-serif),
// Font weights
bold-weight: 700,
medium-weight: 500,
regular-weight: 400
);
.theme-light { .theme-light {
$gf-theme-default: mat.define-theme( $gf-theme-default: mat.define-theme(
( (
color: ( color: (
primary: $_primary, primary: $_primary,
theme-type: light, tertiary: $_tertiary,
tertiary: $_tertiary theme-type: light
), ),
density: ( density: (
scale: -3 scale: -3
), ),
// typography: $gf-typography typography: $gf-typography
) )
); );
@ -229,13 +237,13 @@ $_tertiary: map.merge(map.get($_palettes, tertiary), $_rest);
( (
color: ( color: (
primary: $_primary, primary: $_primary,
theme-type: dark, tertiary: $_tertiary,
tertiary: $_tertiary theme-type: dark
), ),
density: ( density: (
scale: -3 scale: -3
), ),
// typography: $gf-typography typography: $gf-typography
) )
); );

Loading…
Cancel
Save