Skip to content

Commit f7b0a00

Browse files
committed
chore: upgrade HomeBackground
1 parent 04a4848 commit f7b0a00

File tree

3 files changed

+34
-16
lines changed

3 files changed

+34
-16
lines changed
-630 KB
Binary file not shown.

packages/theme-default/src/components/HomeBackground/imgs/light.svg

Lines changed: 0 additions & 14 deletions
This file was deleted.

packages/theme-default/src/components/HomeBackground/index.scss

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,41 @@
1111

1212
pointer-events: none;
1313
user-select: none;
14-
background: url('./imgs/light.svg') no-repeat;
14+
background:
15+
radial-gradient(
16+
42.12% 56.13% at 100% 0%,
17+
rgba(83, 125, 255, 0.1) 0%,
18+
rgba(255, 255, 255, 0) 100%
19+
),
20+
radial-gradient(
21+
42.01% 79.63% at 52.86% 0%,
22+
#fff 0%,
23+
rgba(255, 255, 255, 0) 100%
24+
),
25+
radial-gradient(
26+
79.67% 58.09% at 0% 0%,
27+
rgba(126, 105, 255, 0.2) 0%,
28+
rgba(255, 255, 255, 0) 100%
29+
),
30+
#fff;
1531
}
1632

1733
.rp-dark .rp-home-background {
18-
background: url('./imgs/dark.png') no-repeat;
34+
background:
35+
radial-gradient(
36+
42.12% 56.13% at 100% 0%,
37+
#0c1d48 0%,
38+
rgba(18, 18, 18, 0) 100%
39+
),
40+
radial-gradient(
41+
55.81% 87.78% at 48.37% 0%,
42+
#000000 0%,
43+
rgba(18, 18, 18, 0) 89.55%
44+
),
45+
radial-gradient(
46+
122.65% 88.24% at 0% 0%,
47+
#34268a 0%,
48+
rgba(18, 18, 18, 0) 100%
49+
),
50+
#121212;
1951
}

0 commit comments

Comments
 (0)