feat: update hover color and bg for action more button (#983)

pull/987/head
təəna.vuə 2023-01-12 03:40:49 -06:00 zatwierdzone przez GitHub
rodzic 2ddfdffa3d
commit 34aef0a55f
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
3 zmienionych plików z 5 dodań i 5 usunięć

Wyświetl plik

@ -20,7 +20,7 @@ function close() {
<div>
<slot />
</div>
<button text-xl hover:text-primary bg-hover-overflow w="1.4em" h="1.4em" @click="close()">
<button text-xl hover:text-primary bg-hover-overflow w="1.2em" h="1.2em" @click="close()">
<div i-ri:close-line />
</button>
</div>

Wyświetl plik

@ -121,9 +121,9 @@ const showFavoritedAndBoostedBy = () => {
<CommonDropdown flex-none ms3 placement="bottom" :eager-mount="command">
<StatusActionButton
:content="$t('action.more')"
color="text-purple"
hover="text-purple"
group-hover="bg-purple/10"
color="text-primary"
hover="text-primary"
group-hover="bg-primary-light"
icon="i-ri:more-line"
my--2
/>

Wyświetl plik

@ -57,7 +57,7 @@ export default defineConfig({
'flex-center': 'items-center justify-center',
'flex-v-center': 'items-center',
'flex-h-center': 'justify-center',
'bg-hover-overflow': 'relative z-0 transition-colors duration-250 after-content-empty after:(absolute inset--2px bg-transparent rounded-lg z--1 transition-colors duration-250) hover:after:(bg-active)',
'bg-hover-overflow': 'relative z-0 transition-colors duration-250 after-content-empty after:(absolute inset--4px bg-transparent rounded-full z--1 transition-colors duration-250) hover:after:(bg-active)',
'timeline-title-style': 'text-primary text-lg font-bold',
},