-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat([sc-9893]): add baground styling
- Loading branch information
1 parent
f950ba1
commit 9fa6e88
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,17 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; | ||
|
||
body { | ||
background: linear-gradient(to bottom, | ||
rgba(255, 255, 255, 0) 0%, | ||
rgba(255, 255, 255, 1) 300px), | ||
fixed 0 0 / 20px 20px radial-gradient(#d1d1d1 1px, transparent 0), | ||
fixed 10px 10px / 20px 20px radial-gradient(#d1d1d1 1px, transparent 0); | ||
} | ||
|
||
.dark body { | ||
background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #111 300px), | ||
fixed 0 0 / 20px 20px radial-gradient(#313131 1px, transparent 0), | ||
fixed 10px 10px / 20px 20px radial-gradient(#313131 1px, transparent 0); | ||
} |