fix: glass effect improvements (#150)

zio/stable
patak 2022-11-27 00:13:52 +01:00 committed by GitHub
parent bdcaab6933
commit 49b63aa3b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -9,7 +9,8 @@ defineProps<{
<div
sticky top-0 z10
border="b base"
backdrop="blur-10px brightness-120 dark:brightness-80"
class="bg-base dark:bg-transparent"
backdrop="dark:blur-10px dark:brightness-30"
:class="isZenMode ? 'op0 hover:op100 transition duration-300' : ''"
>
<div flex justify-between px5 py4>

View File

@ -3,7 +3,7 @@
</script>
<template>
<nav h-14 fixed bottom-0 left-0 right-0 z-50 border="t base" backdrop="blur-10px brightness-120 dark:brightness-80" flex flex-row>
<nav h-14 fixed bottom-0 left-0 right-0 z-50 border="t base" bg-base flex flex-row>
<template v-if="currentUser">
<NuxtLink to="/home" active-class="text-primary" flex flex-row items-center place-content-center h-full flex-1>
<div i-ri:home-5-line />