Skip to content

Commit

Permalink
Add variables for gradients
Browse files Browse the repository at this point in the history
  • Loading branch information
subinasr authored and samshara committed Oct 15, 2024
1 parent feccc5a commit 894d00c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .changeset/fluffy-months-film.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"go-web-app": patch
---

Add a new 404 page
16 changes: 9 additions & 7 deletions app/src/views/FourHundredFour/styles.module.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
.four-hundred-four {
display: flex;
flex-direction: column;
/* FIXME: To be moved to go-ui */
--four-hundred-four-heading-gradient: repeating-linear-gradient(
-50deg,
red 10px,
transparent,
transparent 20px
)

.main-section-container {
display: flex;
Expand All @@ -23,12 +30,7 @@
gap: var(--go-ui-spacing-xs);

.four-hundred-four-heading {
background: repeating-linear-gradient(
-50deg,
red 10px,
transparent,
transparent 20px
);
background: var(--four-hundred-four-heading-gradient);
background-clip: text;
color: transparent;
font-size: 8rem;
Expand Down Expand Up @@ -62,4 +64,4 @@
top: 0;
opacity: 0.1;
}
}
}

0 comments on commit 894d00c

Please sign in to comment.