Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Feature/reset letter spacing in buttons (#1742)

Thomas Kaul494ba36d449a
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 569f7d1284..239f057e39 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -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
+### Fixed
+
+- Reset the letter spacing in buttons
+
## 1.237.0 - 2023-02-19
### Added
diff --git a/apps/client/src/styles/theme.scss b/apps/client/src/styles/theme.scss
index a6f6107c24..6a538caa2d 100644
--- a/apps/client/src/styles/theme.scss
+++ b/apps/client/src/styles/theme.scss
@@ -69,6 +69,8 @@ $gf-secondary: (
)
);
+$gf-typography: mat.define-typography-config();
+
@include mat.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)
),
density: 0,
- typography: mat.define-typography-config()
+ typography: $gf-typography
)
);
@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)
),
density: 0,
- typography: mat.define-typography-config()
+ typography: $gf-typography
)
);
.is-dark-theme {
@@ -107,4 +109,6 @@ $gf-theme-dark: mat.define-dark-theme(
--gf-theme-primary-500-rgb: 0, 187, 255;
--gf-theme-secondary-500: #3686cf;
--gf-theme-secondary-500-rgb: 78, 208, 94;
+
+ --mdc-typography-button-letter-spacing: normal;
}