Skip to content

Commit

Permalink
refactor(theme-builder): remove variável depreciada
Browse files Browse the repository at this point in the history
Remove variável depreciada e reutiliza brand token
  • Loading branch information
alinelariguet committed Nov 4, 2023
1 parent 0f635b4 commit 285ec3d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ export class ThemeBuilderComponent implements AfterViewInit, OnInit {
};

private readonly formPropertyT = {
colorAction: '--color-tertiary'
colorAction: '--color-brand-03-base'
};

// Variáveis customizaveis
Expand Down Expand Up @@ -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) => {
Expand Down

0 comments on commit 285ec3d

Please sign in to comment.