From ef309b83108847cbdf5565d8a459264926266264 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Tue, 27 Sep 2022 21:38:51 +0200 Subject: Fix text white only for dark --- pages/models/_id/index.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'pages/models/_id') diff --git a/pages/models/_id/index.vue b/pages/models/_id/index.vue index 962b94a..1a18f21 100644 --- a/pages/models/_id/index.vue +++ b/pages/models/_id/index.vue @@ -128,37 +128,37 @@ section.mt-5 .grid.grid-cols-2.gap-5.mb-5(class="md:grid-cols-6") - .card.shadow-sm.rounded-lg.bg-white.p-4.w-full(class="dark:bg-gray-600 text-white") + .card.shadow-sm.rounded-lg.bg-white.p-4.w-full(class="dark:bg-gray-600 dark:text-white") h3.font-bold Created: p(:title="model.created|moment('DD/MM/YYYY HH:mm')") {{ model.created|moment("DD/MM/YYYY") }} - .card.shadow-sm.rounded-lg.bg-white.p-4.w-full(class="dark:bg-gray-600 text-white") + .card.shadow-sm.rounded-lg.bg-white.p-4.w-full(class="dark:bg-gray-600 dark:text-white") h3.font-bold Duration: p {{ model.duration }}m - .card.shadow-sm.rounded-lg.bg-white.p-4.w-full(class="dark:bg-gray-600 text-white") + .card.shadow-sm.rounded-lg.bg-white.p-4.w-full(class="dark:bg-gray-600 dark:text-white") h3.font-bold Height: p {{ model.height }}mm - .card.shadow-sm.rounded-lg.bg-white.p-4.w-full(class="dark:bg-gray-600 text-white") + .card.shadow-sm.rounded-lg.bg-white.p-4.w-full(class="dark:bg-gray-600 dark:text-white") h3.font-bold Weight: p {{ model.weight }}g - .card.shadow-sm.rounded-lg.bg-white.p-4.w-full(class="dark:bg-gray-600 text-white" v-if="model.printer") + .card.shadow-sm.rounded-lg.bg-white.p-4.w-full(class="dark:bg-gray-600 dark:text-white" v-if="model.printer") h3.font-bold Printer: p {{ model.printer }} - .card.shadow-sm.rounded-lg.bg-white.p-4.w-full(class="dark:bg-gray-600 text-white" v-if="model.material") + .card.shadow-sm.rounded-lg.bg-white.p-4.w-full(class="dark:bg-gray-600 dark:text-white" v-if="model.material") h3.font-bold Material: -- cgit v1.2.3-18-g5258