Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍
TypeScript angularetffinancefintechghostfoliohacktoberfestinvestingnestjsosspersonal-financeportfolioprismasoftwarestocktrackertradingtypescriptwealth-managementweb
Feature/decrease density of theme (#1846)
Thomas Kaul739cb4242dcf
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex e24ef31319..ead4c8a825 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0- Changed the slide toggles to checkboxes on the account page- Changed the slide toggles to checkboxes in the admin control panel+- Decreased the density of the theme- Migrated the style of various components to `@angular/material` `15` (mdc)- Upgraded `@angular/cdk` and `@angular/material` from version `15.2.5` to `15.2.6`diff --git a/apps/client/src/app/components/admin-jobs/admin-jobs.html b/apps/client/src/app/components/admin-jobs/admin-jobs.htmlindex b588f3dee2..2ae0350fab 100644--- a/apps/client/src/app/components/admin-jobs/admin-jobs.html+++ b/apps/client/src/app/components/admin-jobs/admin-jobs.html@@ -2,10 +2,7 @@<div class="row"><div class="col"><form class="align-items-center d-flex" [formGroup]="filterForm">- <mat-form-field- appearance="outline"- class="compact-with-outline without-hint w-100"- >+ <mat-form-field appearance="outline" class="w-100 without-hint"><mat-select formControlName="status"><mat-option></mat-option><mat-optiondiff --git a/apps/client/src/app/components/admin-overview/admin-overview.html b/apps/client/src/app/components/admin-overview/admin-overview.htmlindex f7e084f609..80a285ffd7 100644--- a/apps/client/src/app/components/admin-overview/admin-overview.html+++ b/apps/client/src/app/components/admin-overview/admin-overview.html@@ -172,7 +172,7 @@<form #couponForm="ngForm" class="align-items-center d-flex"><mat-form-fieldappearance="outline"- class="compact-with-outline mr-2 without-hint"+ class="mr-2 without-hint"><mat-selectname="duration"diff --git a/apps/client/src/app/pages/account/account-page.html b/apps/client/src/app/pages/account/account-page.htmlindex 0d420c8bab..717b07d3c4 100644--- a/apps/client/src/app/pages/account/account-page.html+++ b/apps/client/src/app/pages/account/account-page.html@@ -105,7 +105,7 @@<div class="pl-1 w-50"><mat-form-fieldappearance="outline"- class="compact-with-outline w-100 without-hint"+ class="w-100 without-hint"><mat-selectname="baseCurrency"@@ -129,7 +129,7 @@<div class="pl-1 w-50"><mat-form-fieldappearance="outline"- class="compact-with-outline w-100 without-hint"+ class="w-100 without-hint"><mat-selectname="language"@@ -174,7 +174,7 @@<div class="pl-1 w-50"><mat-form-fieldappearance="outline"- class="compact-with-outline w-100 without-hint"+ class="w-100 without-hint"><mat-selectname="locale"@@ -199,7 +199,7 @@<div class="pl-1 w-50"><mat-form-fieldappearance="outline"- class="compact-with-outline w-100 without-hint"+ class="w-100 without-hint"><mat-selectclass="with-placeholder-as-option"diff --git a/apps/client/src/styles.scss b/apps/client/src/styles.scssindex ea05051c39..cee7bfd16a 100644--- a/apps/client/src/styles.scss+++ b/apps/client/src/styles.scss@@ -402,10 +402,6 @@ ngx-skeleton-loader {}.mat-mdc-form-field {- &.compact-with-outline {- // TODO: Configure density in Angular Material- }-&.without-hint {.mat-mdc-form-field-subscript-wrapper {display: none;diff --git a/apps/client/src/styles/theme.scss b/apps/client/src/styles/theme.scssindex ea4008f029..118d533364 100644--- a/apps/client/src/styles/theme.scss+++ b/apps/client/src/styles/theme.scss@@ -80,11 +80,12 @@ $gf-theme-default: mat.define-light-theme(primary: mat.define-palette($gf-primary),accent: mat.define-palette($gf-secondary, 500, 900, A100)),- density: 0,+ density: -3,typography: $gf-typography));@include mat.all-component-themes($gf-theme-default);+@include mat.button-density(0);// Create dark theme$gf-theme-dark: mat.define-dark-theme(@@ -93,12 +94,13 @@ $gf-theme-dark: mat.define-dark-theme(primary: mat.define-palette($gf-primary),accent: mat.define-palette($gf-secondary, 500, 900, A100)),- density: 0,+ density: -3,typography: $gf-typography));.is-dark-theme {@include mat.all-component-colors($gf-theme-dark);+ @include mat.button-density(0);}:root {