Skip to content

Commit 6913ddd

Browse files
Move a color to Layout
1 parent 5579af6 commit 6913ddd

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

src/layouts/Layout.astro

+4
Original file line numberDiff line numberDiff line change
@@ -79,4 +79,8 @@ const { title } = Astro.props;
7979
--tw-bg-opacity: 1;
8080
background-color: rgb(147 197 253 / var(--tw-bg-opacity));
8181
}
82+
p > a {
83+
--tw-text-opacity: 1;
84+
color: rgb(59 130 246 / var(--tw-text-opacity));
85+
}
8286
</style>

src/pages/projects.astro

+1-6
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,4 @@ import Layout from "../layouts/Layout.astro";
3535
</main>
3636
</Layout>
3737

38-
<style>
39-
a {
40-
--tw-text-opacity: 1;
41-
color: rgb(59 130 246 / var(--tw-text-opacity));
42-
}
43-
</style>
38+
<style></style>

0 commit comments

Comments
 (0)