This repository has been archived by the owner on Aug 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Yunus Gürlek
authored and
Yunus Gürlek
committed
Jun 24, 2023
1 parent
3bb9937
commit bdc259e
Showing
18 changed files
with
134 additions
and
69 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,8 @@ | ||
module.exports = (req, res) => { | ||
if (!req.body.theme || (req.body.theme != 'dark' && req.body.theme != 'light')) | ||
return res.json({ success: false, error: 'bad_request' }); | ||
|
||
req.session.theme = req.body.theme; | ||
|
||
return res.json({ success: true }); | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
:root { | ||
--main-color: rgba(120, 169, 255, 1); | ||
--warning-color: rgba(192, 3, 3, 1); | ||
--box-color: rgba(6, 6, 9, 1); | ||
--background-color: rgba(13, 13, 15, 1); | ||
--background-color-two: rgba(8, 8, 10, 1); | ||
--border-color: rgba(248, 248, 248, 0.2); | ||
--hover-color: rgba(148, 148, 148, 0.2); | ||
--hover-color-light: rgba(254, 254, 254, 0.8); | ||
--button-text-color: rgba(250, 250, 250, 1); | ||
--text-color: rgba(254, 254, 254, 1); | ||
--text-color-two: rgba(236, 236, 236, 1); | ||
--placeholder-color: rgba(248, 248, 248, 0.6); | ||
|
||
--footer-bottom-color: rgba(1, 1, 2, 1); | ||
--navbar-each-empty-line-background-color: rgba(30, 30, 30, 1) | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
:root { | ||
--main-color: rgba(120, 169, 255, 1); | ||
--warning-color: rgba(192, 3, 3, 1); | ||
--box-color: rgba(212, 212, 212, 1); | ||
--background-color: rgba(256, 256, 256, 1); | ||
--background-color-two: rgba(248, 248, 248, 1); | ||
--border-color: rgba(136, 136, 136, 0.2); | ||
--hover-color: rgba(196, 196, 196, 0.2); | ||
--hover-color-light: rgba(188, 188, 188, 0.8); | ||
--button-text-color: rgba(12, 12, 16, 1); | ||
--text-color: rgba(4, 4, 15, 1); | ||
--text-color-two: rgba(6, 6, 12, 1); | ||
--placeholder-color: rgba(6, 6, 8, 0.6); | ||
|
||
--footer-bottom-color: rgba(224, 224, 224, 1); | ||
--navbar-each-empty-line-background-color: rgba(248, 248, 248, 1) | ||
} |
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
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