Skip to content

Commit 59229a3

Browse files
committed
fix: add proper font colors
1 parent a40f498 commit 59229a3

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/components/widgets/CWidgetStatsA.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,7 @@ const CWidgetStatsA = defineComponent({
4242
h(
4343
CCard,
4444
{
45-
class: [
46-
{ [`bg-${props.color}`]: props.color, 'high-emphasis-inverse': props.color },
47-
],
45+
class: [{ [`bg-${props.color}`]: props.color, 'text-high-emphasis-inverse': props.color }],
4846
},
4947
() => [
5048
h(

src/components/widgets/CWidgetStatsB.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const CWidgetStatsB = defineComponent({
6969
{
7070
class: [
7171
{
72-
['high-emphasis-inverse']: props.inverse,
72+
'text-high-emphasis-inverse': props.inverse,
7373
},
7474
],
7575
color: props.color,

0 commit comments

Comments
 (0)