Feature/reset letter spacing in buttons (#1742)

* Reset letter spacing in buttons

* Update changelog
This commit is contained in:
Thomas Kaul 2023-02-24 20:44:20 +01:00 committed by GitHub
parent dab9154092
commit 494ba36d44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 2 deletions

View File

@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added the configuration to publish a `linux/arm/v7` docker image - Added the configuration to publish a `linux/arm/v7` docker image
### Fixed
- Reset the letter spacing in buttons
## 1.237.0 - 2023-02-19 ## 1.237.0 - 2023-02-19
### Added ### Added

View File

@ -69,6 +69,8 @@ $gf-secondary: (
) )
); );
$gf-typography: mat.define-typography-config();
@include mat.core(); @include mat.core();
@include mat.legacy-core(); @include mat.legacy-core();
@ -80,7 +82,7 @@ $gf-theme-default: mat.define-light-theme(
accent: mat.define-palette($gf-secondary, 500, 900, A100) accent: mat.define-palette($gf-secondary, 500, 900, A100)
), ),
density: 0, density: 0,
typography: mat.define-typography-config() typography: $gf-typography
) )
); );
@include mat.all-component-themes($gf-theme-default); @include mat.all-component-themes($gf-theme-default);
@ -94,7 +96,7 @@ $gf-theme-dark: mat.define-dark-theme(
accent: mat.define-palette($gf-secondary, 500, 900, A100) accent: mat.define-palette($gf-secondary, 500, 900, A100)
), ),
density: 0, density: 0,
typography: mat.define-typography-config() typography: $gf-typography
) )
); );
.is-dark-theme { .is-dark-theme {
@ -107,4 +109,6 @@ $gf-theme-dark: mat.define-dark-theme(
--gf-theme-primary-500-rgb: 0, 187, 255; --gf-theme-primary-500-rgb: 0, 187, 255;
--gf-theme-secondary-500: #3686cf; --gf-theme-secondary-500: #3686cf;
--gf-theme-secondary-500-rgb: 78, 208, 94; --gf-theme-secondary-500-rgb: 78, 208, 94;
--mdc-typography-button-letter-spacing: normal;
} }