Skip to content

Commit ff10bac

Browse files
authored
feat(theme): add sunset theme (@catdogdonkey) (monkeytypegame#6467)
### Description Just added a new theme (I tried my best to not make this similar to any themes, but if it is similar to one, please tell me!) #### Screenshots ![sunset home](https://github.com/user-attachments/assets/dc02a1b8-047e-4097-a9a4-d42998116fdb) ![sunset test](https://github.com/user-attachments/assets/ffc61f2b-43bd-4ef3-953a-0495a22721b7) ![sunset settings](https://github.com/user-attachments/assets/bf74a5ee-346e-4f14-9ec9-d3ea4d293c03) ![sunset values](https://github.com/user-attachments/assets/cf87d0d7-b954-4862-b5ec-8d14ffea5d5f) ### 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.-->
1 parent e0d1ee4 commit ff10bac

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

frontend/static/themes/_list.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1279,5 +1279,12 @@
12791279
"mainColor": "#41ce5c",
12801280
"subColor": "#788386",
12811281
"textColor": "#ccdae6"
1282+
},
1283+
{
1284+
"name": "sunset",
1285+
"bgColor": "#211e24",
1286+
"mainColor": "#f79777",
1287+
"subColor": "#5b578e",
1288+
"textColor": "#f4e0c9"
12821289
}
12831290
]

frontend/static/themes/sunset.css

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
:root {
2+
--bg-color: #211e24;
3+
--main-color: #f79777;
4+
--caret-color: #ffca99;
5+
--sub-color: #5b578e;
6+
--sub-alt-color: #161319;
7+
--text-color: #f4e0c9;
8+
--error-color: #66a1ff;
9+
--error-extra-color: #376ca4;
10+
--colorful-error-color: #66a1ff;
11+
--colorful-error-extra-color: #376ca4;
12+
}
13+
14+
nav > .textButton:nth-child(1),
15+
nav > .textButton:nth-child(2),
16+
nav > .textButton:nth-child(3),
17+
nav > .textButton:nth-child(4) {
18+
color: #f79777;
19+
}
20+
21+
nav > .textButton:nth-child(1):hover,
22+
nav > .textButton:nth-child(2):hover,
23+
nav > .textButton:nth-child(3):hover,
24+
nav > .textButton:nth-child(4):hover {
25+
color: #ffca99;
26+
}

0 commit comments

Comments
 (0)