fix: color in dark mode

This commit is contained in:
Methapon Metanipat 2024-11-27 09:49:58 +07:00
parent a12edf474d
commit ac1f034bfa
2 changed files with 2 additions and 2 deletions

View file

@ -66,7 +66,7 @@ defineEmits<{
>
<template v-slot:header="props">
<q-tr
:style="`background-color: ${inTable ? '#F0FFF1' : 'hsla(var(--info-bg) / 0.07'} `"
:style="`background-color: ${inTable ? 'hsla(var(--green-4-hsl) / 0.07)' : 'hsla(var(--info-bg) / 0.07'} `"
:props="props"
>
<q-th v-for="col in props.cols" :key="col.name" :props="props">

View file

@ -56,7 +56,7 @@ defineEmits<{
>
<template v-slot:header="props">
<q-tr
:style="`background-color: ${inTable ? '#F0FFF1' : 'hsla(var(--info-bg) / 0.07'} `"
:style="`background-color: ${inTable ? 'hsla(var(--green-4-hsl) / 0.07)' : 'hsla(var(--info-bg) / 0.07'} `"
:props="props"
>
<q-th v-for="col in props.cols" :key="col.name" :props="props">