Skip to content

Commit

Permalink
feat(theme): adicionado melhoria no tema para diferentes acessibilidades
Browse files Browse the repository at this point in the history
Adicionado possibilidade de passar mais de uma opção de tema de acessibilidade como exemplo: ‘AA’ e ‘AAA’.

Fixes DTHFUI-9037
  • Loading branch information
bruno-severino committed Dec 11, 2024
1 parent 9610be6 commit 8c30130
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions projects/ui/src/lib/po.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,4 @@ import { PoThemeA11yEnum, poThemeDefault, PoThemeService, PoThemeTypeEnum } from
providers: [PoNotificationService],
bootstrap: []
})
export class PoModule {
constructor(private themeService: PoThemeService) {
if (this.themeService.getThemeActive() === undefined) {
this.themeService.setTheme(poThemeDefault, PoThemeTypeEnum.light, PoThemeA11yEnum.AAA, false);
}
}
}
export class PoModule {}

0 comments on commit 8c30130

Please sign in to comment.