-
-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Support for Dark Mode 🌙 (#1015)
Issue - #1006 - [x] Added CSS Variables for managing the colors - [x] Changes mode based on the user's color preference I have changed the color scheme according to my taste. Feel free to change it or let me know if any more changes are required. --------- Co-authored-by: Steven <[email protected]>
- Loading branch information
1 parent
6fb3b98
commit 0169964
Showing
7 changed files
with
47 additions
and
15 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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
:root { | ||
--brand-color: #16864d; | ||
--background: #fafafa; | ||
--foreground: #18181b; | ||
--muted: #e4e4e7; | ||
--muted-foreground: #3f3f46; | ||
--border: #d4d4d8; | ||
--search-input: #fff; | ||
} | ||
|
||
@media (prefers-color-scheme: dark) { | ||
:root { | ||
--brand-color: #32de85; | ||
--background: #09090b; | ||
--foreground: #f4f4f5; | ||
--muted: #27272a; | ||
--muted-foreground: #d4d4d8; | ||
--border: #3f3f46; | ||
--search-input: #18181b; | ||
} | ||
} |
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
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
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
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
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
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
0169964
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
packagephobia – ./
packagephobia.vercel.app
packagephobia-packagephobia.vercel.app
packagephobia-git-main-packagephobia.vercel.app
packagephobia.com