Skip to content

Commit

Permalink
Merge pull request #9 from WhyFenceCode/main
Browse files Browse the repository at this point in the history
mod: style:
  • Loading branch information
WhyFenceCode authored May 1, 2024
2 parents e8429fc + 720fbc4 commit 8d2ac04
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/styles/root.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
--sl-color-gray-5: #353840;
--sl-color-gray-6: #24272e;
--sl-color-black: #17181c;

--background-image-opacity: 0.4;
}
/* Light mode colors. */
:root[data-theme='light'] {
Expand All @@ -26,6 +28,8 @@
--sl-color-gray-6: #e7edff;
--sl-color-gray-7: #f3f6ff;
--sl-color-black: #ffffff;

--background-image-opacity: 1.0;
}

.bg-img {
Expand All @@ -34,7 +38,7 @@
left: 0;
width: 100%;
height: 130vh;
opacity: 0.4;
opacity: var(--background-image-opacity);
background: url(../assets/banner.webp);
background-repeat: no-repeat;
background-size: cover;
Expand Down

0 comments on commit 8d2ac04

Please sign in to comment.