Skip to content

Commit edca663

Browse files
author
babin
committed
main 🧊 styles for hooks sections changes
1 parent 571f0b6 commit edca663

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

‎packages/docs/app/.vitepress/sections/HomeHooks/HomeHooks.vue

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,12 @@ const filteredHooks = computed(() =>
2424
</script>
2525

2626
<template>
27-
<div
28-
class="py-4! px-2! relative mt-10 h-[325px] overflow-hidden rounded-lg bg-[var(--vp-c-bg-soft)]"
29-
>
27+
<div class="mb-5 mt-12 text-center text-4xl font-bold">The hooks you need</div>
28+
<div class="py-4! px-2! relative h-[325px] overflow-hidden rounded-lg bg-[var(--vp-c-bg-soft)]">
3029
<div>
31-
<div class="flex w-fit items-center gap-3 rounded-lg bg-[var(--vp-c-bg)] p-2 px-4 text-2xl">
30+
<div
31+
class="flex w-fit items-center gap-3 rounded-lg bg-[var(--vp-c-default-soft)] p-2 px-4 text-2xl"
32+
>
3233
<svg
3334
class="stroke-[var(--vp-c-brand-1)]"
3435
xmlns="http://www.w3.org/2000/svg"
@@ -55,7 +56,7 @@ const filteredHooks = computed(() =>
5556
class="no-underline! text-[var(--vp-c-text-1)]! text-2xl"
5657
>
5758
<div
58-
class="items-center rounded-lg border-[1px] border-[var(--vp-c-bg)] bg-[var(--vp-c-bg)] px-6 py-2 hover:border-[var(--vp-c-brand-1)] hover:bg-[var(--vp-c-bg-alt)]"
59+
class="hover:border-[var(--vp-c-brand-1)]/80 items-center rounded-lg border-[1px] border-transparent bg-[var(--vp-c-default-soft)] px-6 py-2 transition-all duration-300 hover:shadow-md"
5960
:class="{
6061
'opacity-50': hook.disabled
6162
}"

0 commit comments

Comments
 (0)