Skip to content

Commit d18b99d

Browse files
author
Harald Wilhelmi
committed
Fixed text in dark mode
1 parent fa4085b commit d18b99d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

client/src/components/ui/LabeledItem.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const props = defineProps({
2020
<span :class="props.uiStyle.labelClasses()">
2121
{{ props.label }}
2222
</span>
23-
<span :class="props.uiStyle.inputTextDefaultClasses()">
23+
<span :class="props.uiStyle.textClasses()">
2424
<slot></slot>
2525
</span>
2626
</div>

client/src/ui_styles/AbstractStyle.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ class AbstractStyle {
4242
const baseColor = this.baseColor()
4343
return `p-4 w-full text-${baseColor}-50 border border-${baseColor}-300 ring-${baseColor}-800`
4444
}
45+
textClasses() {
46+
return 'text-gray-700 dark:text-gray-300'
47+
}
4548
severity() {
4649
return null
4750
}

0 commit comments

Comments
 (0)