File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
packages/docs/app/.vitepress/sections/HomeHooks Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -24,11 +24,12 @@ const filteredHooks = computed(() =>
24
24
</script >
25
25
26
26
<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)]" >
30
29
<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
+ >
32
33
<svg
33
34
class =" stroke-[var(--vp-c-brand-1)]"
34
35
xmlns =" http://www.w3.org/2000/svg"
@@ -55,7 +56,7 @@ const filteredHooks = computed(() =>
55
56
class =" no-underline! text-[var(--vp-c-text-1)]! text-2xl"
56
57
>
57
58
<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 "
59
60
:class =" {
60
61
'opacity-50': hook.disabled
61
62
}"
You can’t perform that action at this time.
0 commit comments