Skip to content

Commit 3dc5bf7

Browse files
Use rainbow text
1 parent ea54886 commit 3dc5bf7

File tree

3 files changed

+16
-8
lines changed

3 files changed

+16
-8
lines changed

src/components/Features1.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const Features1 = () => {
2323
<div className="mx-auto lg:mx-auto w-11/12 sm:w-4/5 md:w-3/4 lg:w-unset">
2424
<span className="block-subtitle">Embrace Innovation</span>
2525
<h2 className="mt-6 mb-8 text-4xl lg:text-5xl block-big-title">
26-
Unlike any <span className="retro-text-gradient font-extrabold">tech</span> you used before
26+
Unlike any <span className="rainbow-text-gradient font-extrabold">tech</span> you used before
2727
</h2>
2828
<p className="mb-10 text-secondaryText leading-loose">
2929
Discover a new level of data analysis with our innovative and

src/components/Features2.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export const Features2 = () => (
3838
Join the Movement
3939
</span>
4040
<h2 className="mt-6 mb-8 text-4xl lg:text-5xl block-big-title">
41-
Awesome <span className="retro-text-gradient font-extrabold">Open-Source</span> Community
41+
Awesome <span className="rainbow-text-gradient font-extrabold">Open-Source</span> Community
4242
</h2>
4343
<p className="mb-12 text-secondaryText leading-loose">
4444
Developers from all over the world contribute to our open-source

src/layouts/Layout.astro

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ const { title } = Astro.props;
4545
}
4646

4747
.rainbow-text-gradient {
48-
--scaling: 200%;
48+
--scaling: 500%;
4949
background: linear-gradient(
5050
90deg,
51-
#ff3b3b,
51+
/* #ff3b3b,
5252
#ff803b,
5353
#ffff3b,
5454
#80ff3b,
@@ -60,16 +60,24 @@ const { title } = Astro.props;
6060
#803bff,
6161
#ff3bff,
6262
#ff3b80,
63-
#ff3b3b
63+
#ff3b3b */
64+
#ef505c,
65+
#9c45e4,
66+
#185fee,
67+
#2ff5ec,
68+
#11d68b,
69+
#ffcc16,
70+
#ef505c
6471
);
6572
background-size: var(--scaling) 100%;
6673
background-position: 0 0;
6774
-webkit-background-clip: text;
6875
-webkit-text-fill-color: transparent;
69-
animation: rainbow 10s linear infinite;
76+
animation: rainbow 35s linear infinite;
7077
display: inline-block;
71-
filter: drop-shadow(0 0 0.5px #fff) drop-shadow(0 1px 1.5px #fff)
72-
brightness(1.5);
78+
/* filter: drop-shadow(0 0 0.5px #fff) drop-shadow(0 1px 1.5px #fff)
79+
brightness(1.5); */
80+
filter: saturate(0.6) brightness(1.3) drop-shadow(0 1px 1.5px #000);
7381
}
7482

7583
@keyframes rainbow {

0 commit comments

Comments
 (0)