mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-15 19:52:15 +01:00
add light mode
This commit is contained in:
@@ -8,7 +8,7 @@ const props = defineProps<{
|
||||
|
||||
const activeClass = computed(() => {
|
||||
if (props.active) {
|
||||
return 'bg-tab-background border border-tab-border text-white font-semibold';
|
||||
return 'bg-tab-background border border-tab-border text-text-primary font-semibold';
|
||||
}
|
||||
return '';
|
||||
});
|
||||
@@ -19,7 +19,7 @@ const activeClass = computed(() => {
|
||||
role="tab"
|
||||
:class="
|
||||
twMerge(
|
||||
'rounded-md px-2 sm:px-3 py-1 sm:py-1.5 text-xs sm:text-sm font-medium hover:text-white focus-visible:outline-none',
|
||||
'rounded-md px-2 sm:px-3 py-1 sm:py-1.5 text-xs sm:text-sm font-medium hover:text-text-primary focus-visible:outline-none',
|
||||
activeClass
|
||||
)
|
||||
">
|
||||
|
||||
Reference in New Issue
Block a user