Skip to content

Commit b0bfb08

Browse files
author
Ondrej Machala
committed
fix: disable font transitions on hero
1 parent 3818d46 commit b0bfb08

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/.vitepress/theme/custom.css

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,13 @@
3131
--vp-home-hero-image-filter: blur(72px);
3232
}
3333

34-
/* Hero name gradient */
34+
/* Hero name gradient - no transition */
35+
.VPHero .name,
36+
.VPHero .text,
37+
.VPHero .tagline {
38+
transition: none;
39+
}
40+
3541
.VPHero .name {
3642
background: linear-gradient(135deg, #7c3aed 0%, #f97316 100%);
3743
-webkit-background-clip: text;

0 commit comments

Comments
 (0)