Skip to content

Commit

Permalink
fix(BaseThemeToggle): use nui-focus
Browse files Browse the repository at this point in the history
  • Loading branch information
stafyniaksacha committed Apr 15, 2023
1 parent c0310a4 commit cbc681f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/base/BaseThemeToggle.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const isDark = computed({

<template>
<label
class="hover:ring-muted-200 dark:hover:ring-muted-700 relative block h-9 w-9 shrink-0 overflow-hidden rounded-full ring-1 ring-transparent transition-all duration-300 hover:ring-offset-4"
class="nui-focus relative block h-9 w-9 shrink-0 overflow-hidden rounded-full transition-all duration-300 focus-visible:outline-2"
:class="
props.inverted
? 'ring-offset-muted-500 dark:ring-offset-muted-400'
Expand Down

0 comments on commit cbc681f

Please sign in to comment.