mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-12-29 03:20:46 +08:00
feat(theme): add Vesper theme (@SameerJS6) (#6443)
### Description Adds Vesper theme. Based on Vesper for VSCode theme from [Rauno Freiberg](https://github.com/raunofreiberg/vesper) <!-- Please describe the change(s) made in your PR --> ### Checks - [ ] Adding quotes? - [ ] Make sure to include translations for the quotes in the description (or another comment) so we can verify their content. - [x] Adding a language or a theme? - [ ] If is a language, did you edit `_list.json`, `_groups.json` and add `languages.json`? - [x] If is a theme, did you add the theme.css? - Also please add a screenshot of the theme, it would be extra awesome if you do so! - [x] Check if any open issues are related to this PR; if so, be sure to tag them below. - [x] Make sure the PR title follows the Conventional Commits standard. (https://www.conventionalcommits.org for more info) - [x] Make sure to include your GitHub username prefixed with @ inside parentheses at the end of the PR title. <!-- label(optional scope): pull request title (@your_github_username) --> <!-- I know I know they seem boring but please do them, they help us and you will find out it also helps you.--> ## Preview ### Main Page:  ### Settings Page:  ### Toasts: #### Error Toast:  #### Info Toast:  #### Success Toast:  <!-- the issue(s) your PR resolves if any (delete if that is not the case) --> <!-- please also reference any issues and or PRs related to your pull request --> <!-- Also remove it if you are not following any issues. --> <!-- pro tip: you can mention an issue, PR, or discussion on GitHub by referencing its hash number e.g: [#1234](https://github.com/monkeytypegame/monkeytype/pull/1234) --> <!-- pro tip: you can press . (dot or period) in the code tab of any GitHub repo to get access to GitHub's VS Code web editor Enjoy! :) -->
This commit is contained in:
parent
644c59cd9b
commit
6acaeb41f1
2 changed files with 60 additions and 0 deletions
|
|
@ -55,6 +55,13 @@
|
|||
"subColor": "#616161",
|
||||
"textColor": "#f5e6c8"
|
||||
},
|
||||
{
|
||||
"name": "vesper",
|
||||
"bgColor": "#101010",
|
||||
"mainColor": "#ffc799",
|
||||
"subColor": "#99ffe4",
|
||||
"textColor": "#ffffff"
|
||||
},
|
||||
{
|
||||
"name": "our_theme",
|
||||
"bgColor": "#ce1226",
|
||||
|
|
|
|||
53
frontend/static/themes/vesper.css
Normal file
53
frontend/static/themes/vesper.css
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
:root {
|
||||
--bg-color: #101010;
|
||||
--main-color: #ffc799;
|
||||
--caret-color: #99ffe4;
|
||||
--sub-color: #a0a0a0;
|
||||
--sub-alt-color: #1c1c1c;
|
||||
--text-color: #ffffff;
|
||||
--error-color: #ff8080;
|
||||
--error-extra-color: #b25959;
|
||||
--colorful-error-color: #99ffe4;
|
||||
--colorful-error-extra-color: #99ffe4;
|
||||
}
|
||||
|
||||
/* Background & Text Colors */
|
||||
#notificationCenter .notif.bad {
|
||||
--notif-border-color: #b25959;
|
||||
--notif-background-color: #ff8080;
|
||||
}
|
||||
|
||||
#notificationCenter .notif.good {
|
||||
--notif-border-color: #99ffe4;
|
||||
--notif-background-color: #99ffe4;
|
||||
}
|
||||
|
||||
#notificationCenter .notif.notice {
|
||||
--notif-border-color: #afdbf5;
|
||||
--notif-background-color: #afdbf5;
|
||||
}
|
||||
|
||||
/* Hover Styles */
|
||||
#notificationCenter .notif:hover.good {
|
||||
--notif-background-color: #6bb29f;
|
||||
}
|
||||
#notificationCenter .notif:hover.bad {
|
||||
--notif-background-color: #8b4444;
|
||||
}
|
||||
#notificationCenter .notif:hover.notice {
|
||||
--notif-background-color: #5d91ab;
|
||||
/* #7896a8 */
|
||||
}
|
||||
|
||||
/* Content Colors */
|
||||
#notificationCenter .notif .message {
|
||||
color: var(--bg-color);
|
||||
}
|
||||
|
||||
#notificationCenter .notif .message .title {
|
||||
color: var(--bg-color);
|
||||
}
|
||||
|
||||
#notificationCenter .notif .icon {
|
||||
color: var(--bg-color);
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue