Skip to content

Commit a31e143

Browse files
committed
fix(styles): large blur radius is causing color issues with safari
1 parent 56b3ce5 commit a31e143

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Diff for: docs/index.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,14 @@ features:
3333
title: Ship Fast Sites
3434
details: Fast initial load with static HTML, fast post-load navigation with client-side routing.
3535
---
36+
3637
<style>
3738
:root {
3839
--vp-home-hero-name-color: transparent;
3940
--vp-home-hero-name-background: -webkit-linear-gradient(120deg, #bd34fe 30%, #41d1ff);
4041

4142
--vp-home-hero-image-background-image: linear-gradient(-45deg, #bd34fe 50%, #47caff 50%);
42-
--vp-home-hero-image-filter: blur(40px);
43+
--vp-home-hero-image-filter: blur(44px);
4344
}
4445

4546
@media (min-width: 640px) {
@@ -50,7 +51,7 @@ features:
5051

5152
@media (min-width: 960px) {
5253
:root {
53-
--vp-home-hero-image-filter: blur(72px);
54+
--vp-home-hero-image-filter: blur(68px);
5455
}
5556
}
5657
</style>

Diff for: template/.vitepress/theme/style.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
#bd34fe 50%,
104104
#47caff 50%
105105
);
106-
--vp-home-hero-image-filter: blur(40px);
106+
--vp-home-hero-image-filter: blur(44px);
107107
}
108108

109109
@media (min-width: 640px) {
@@ -114,7 +114,7 @@
114114

115115
@media (min-width: 960px) {
116116
:root {
117-
--vp-home-hero-image-filter: blur(72px);
117+
--vp-home-hero-image-filter: blur(68px);
118118
}
119119
}
120120

0 commit comments

Comments
 (0)