refactor to UI components

This commit is contained in:
2023-05-26 00:50:19 +02:00
parent b89816ecd5
commit 9ca0bba526
20 changed files with 160 additions and 78 deletions

View File

@@ -41,7 +41,7 @@ const authModalInitialStateOpen = ref<boolean>(authUI.isPendingRedirect())
<UIButton
size="sm"
variant="outline"
class="search-active-hide py-1 text-white"
class="search-active-hide py-1 text-white topbar-button"
@click="addNote('Untitled new note', '', true)"
>
<i class="fas fa-plus-circle text-[1.1rem]" />
@@ -51,7 +51,7 @@ const authModalInitialStateOpen = ref<boolean>(authUI.isPendingRedirect())
<UIButton
size="sm"
variant="outline"
class="search-active-hide py-1 text-white"
class="search-active-hide py-1 text-white topbar-button"
@click="open"
>
Sign in
@@ -79,7 +79,7 @@ const authModalInitialStateOpen = ref<boolean>(authUI.isPendingRedirect())
#logo:hover {
text-shadow: 0 0 5px white, 0 0 10px white, 0 0 15px white;
}
.btn-outline {
.topbar-button {
@apply hover:border-white hover:bg-white hover:text-primary focus-visible:outline-white;
}