Skip to content

Commit fc922de

Browse files
committed
fix(colors): colorClasses as Record
1 parent 4f260f5 commit fc922de

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/app/views/theme/colors.component.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,12 @@ export class ThemeColorComponent {
6262
readonly colorClasses = computed(() => {
6363
const color = this.color();
6464
return {
65-
'theme-color w-75 rounded mb-3': true,
65+
'theme-color': true,
66+
'w-75': true,
67+
'rounded': true,
68+
'mb-3': true,
6669
[`bg-${color}`]: !!color
67-
};
70+
} as Record<string, boolean>;
6871
});
69-
7072
}
7173

0 commit comments

Comments
 (0)