From 285ec3d5ec5a1d3f693f346a49165efdeed14417 Mon Sep 17 00:00:00 2001 From: alinelariguet Date: Sat, 4 Nov 2023 00:20:01 -0300 Subject: [PATCH] =?UTF-8?q?refactor(theme-builder):=20remove=20vari=C3=A1v?= =?UTF-8?q?el=20depreciada?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove variável depreciada e reutiliza brand token --- .../portal/src/app/theme-builder/theme-builder.component.css | 4 ++-- .../portal/src/app/theme-builder/theme-builder.component.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/projects/portal/src/app/theme-builder/theme-builder.component.css b/projects/portal/src/app/theme-builder/theme-builder.component.css index 5b938ef30f..c9a41135f1 100644 --- a/projects/portal/src/app/theme-builder/theme-builder.component.css +++ b/projects/portal/src/app/theme-builder/theme-builder.component.css @@ -3,8 +3,8 @@ --color-calendar-background-color-border-today: var(--color-primary); --color-calendar-color-box-foreground-today: var(--color-primary); --color-calendar-arrow: var(--color-primary); - --color-calendar-background-color-box-background-selected: var(--color-tertiary); - --color-calendar-background-color-box-background-active: var(--color-tertiary); + --color-calendar-background-color-box-background-selected: var(--color-brand-03-base); + --color-calendar-background-color-box-background-active: var(--color-brand-03-base); } p { diff --git a/projects/portal/src/app/theme-builder/theme-builder.component.ts b/projects/portal/src/app/theme-builder/theme-builder.component.ts index 0c27bd030a..85a7933b81 100644 --- a/projects/portal/src/app/theme-builder/theme-builder.component.ts +++ b/projects/portal/src/app/theme-builder/theme-builder.component.ts @@ -234,7 +234,7 @@ export class ThemeBuilderComponent implements AfterViewInit, OnInit { }; private readonly formPropertyT = { - colorAction: '--color-tertiary' + colorAction: '--color-brand-03-base' }; // Variáveis customizaveis @@ -586,7 +586,7 @@ export class ThemeBuilderComponent implements AfterViewInit, OnInit { this.brandFormT.reset({ colorAction: ['#ffd464'] }); - document.getElementById('myPortal').style.setProperty('--color-tertiary', null); + document.getElementById('myPortal').style.setProperty('--color-brand-03-base', null); this.buttonFormDefault.reset(); Object.keys(this.formPropertyDictButtonD).forEach((fieldName: string) => {