diff --git a/packages/client/src/components/MkCwButton.vue b/packages/client/src/components/MkCwButton.vue index 1f6340510b..5e59853b66 100644 --- a/packages/client/src/components/MkCwButton.vue +++ b/packages/client/src/components/MkCwButton.vue @@ -28,7 +28,7 @@ const emit = defineEmits<{ (ev: "update:modelValue", v: boolean): void; }>(); -const el = ref(); +const el = ref(); const label = computed(() => { return concat([ @@ -52,7 +52,7 @@ function focus() { } defineExpose({ - focus + focus, }); @@ -73,7 +73,8 @@ defineExpose({ } } } - &:hover > span, &:focus > span { + &:hover > span, + &:focus > span { background: var(--cwFg) !important; color: var(--cwBg) !important; } @@ -93,7 +94,8 @@ defineExpose({ border-radius: 999px; box-shadow: 0 2px 6px rgb(0 0 0 / 20%); } - &:hover, &:focus { + &:hover, + &:focus { > span { background: var(--panelHighlight); } diff --git a/packages/client/src/components/MkEmojiPicker.vue b/packages/client/src/components/MkEmojiPicker.vue index 88d207babb..3dd54ed840 100644 --- a/packages/client/src/components/MkEmojiPicker.vue +++ b/packages/client/src/components/MkEmojiPicker.vue @@ -174,7 +174,7 @@ import { deviceKind } from "@/scripts/device-kind"; import { emojiCategories, instance } from "@/instance"; import { i18n } from "@/i18n"; import { defaultStore } from "@/store"; -import { FocusTrap } from 'focus-trap-vue'; +import { FocusTrap } from "focus-trap-vue"; const props = withDefaults( defineProps<{ diff --git a/packages/client/src/components/MkLaunchPad.vue b/packages/client/src/components/MkLaunchPad.vue index 759c215f73..b1f42ec76b 100644 --- a/packages/client/src/components/MkLaunchPad.vue +++ b/packages/client/src/components/MkLaunchPad.vue @@ -139,7 +139,8 @@ function close() { height: 100px; border-radius: 10px; - &:hover, &:focus-visible { + &:hover, + &:focus-visible { color: var(--accent); background: var(--accentedBg); text-decoration: none; diff --git a/packages/client/src/components/MkMenu.child.vue b/packages/client/src/components/MkMenu.child.vue index e5ca9e4ee4..83ae6b5a14 100644 --- a/packages/client/src/components/MkMenu.child.vue +++ b/packages/client/src/components/MkMenu.child.vue @@ -1,14 +1,14 @@