fix: highlight tool border when dark

This commit is contained in:
YunYouJun
2022-04-16 01:16:58 +08:00
parent 1496909edc
commit f1353054ae

View File

@@ -7,7 +7,7 @@ defineProps<{
<template>
<span
class="tag rounded" p="x-2"
border="~ stone-200 dark:stone-800"
:border="'~ stone-200 dark:stone-800' + (active ? 'dark:stone-200' : '')"
:bg="active ? 'stone-500 opacity-90' : 'stone-300 opacity-20'"
:text="active ? 'stone-100' : 'stone-800 dark:stone-200'"
>