Skip to content

Commit aafb68d

Browse files
committed
style: add antialiasing smooth to font
1 parent 30db874 commit aafb68d

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

src/components/Footer.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const navData = navigation as NavData;
6868

6969
{
7070
showIllustration && (
71-
<div class="3xl:right-55 2-5xl:right-50 absolute -top-[94px] right-15 z-20 hidden lg:right-25 lg:inline-block">
71+
<div class="3xl:right-55 2-5xl:right-50 absolute -top-[94px] right-15 z-10 hidden lg:right-25 lg:inline-block">
7272
<Image
7373
src={ImageTwoMen}
7474
alt="Two Person Talking"
@@ -84,7 +84,7 @@ const navData = navigation as NavData;
8484
}
8585

8686
<!-- Main Footer Content -->
87-
<div class="footer-main-container bg-midnight-fjord">
87+
<div class="bg-midnight-fjord relative z-20">
8888
<div class="footer-main">
8989
<div
9090
class="footer-grid fade-in--pure"

src/v1/styles/base.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111

1212
@layer base {
1313
html {
14-
scroll-behavior: smooth;
14+
@apply scroll-smooth;
1515
}
1616

17-
html {
18-
/* @apply antialiased; */
17+
body {
1918
@apply font-primary;
19+
@apply antialiased;
2020
@apply bg-glacier-mist-900;
2121
}
2222

src/v1/styles/starlight.css

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,11 @@
1414

1515
@layer base {
1616
html {
17-
scroll-behavior: smooth;
17+
@apply scroll-smooth;
1818
}
1919

20-
html,
2120
body {
22-
/* @apply antialiased; */
21+
@apply antialiased;
2322
@apply font-primary;
2423
}
2524

0 commit comments

Comments
 (0)