Skip to content

Commit c36952a

Browse files
authored
feat(theme): add github (@KevinRnbrg) (monkeytypegame#6193)
### Description Added new theme "github" with colors used from GitHub. ### 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! - [ ] 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. Theme screenshots: ![typing](https://github.com/user-attachments/assets/c5343d2c-4070-4839-ac06-38468cc9a294) ![result](https://github.com/user-attachments/assets/164e0c61-1d98-4b14-933a-c4c2dd62e913) ![settings](https://github.com/user-attachments/assets/8d051708-8df5-42f8-83e2-aecf8ee854ee) ![profile_1](https://github.com/user-attachments/assets/40c481e6-43a9-4cfd-afd4-5097e680dabb) ![profile_2](https://github.com/user-attachments/assets/0446777f-e04f-4b1b-9f0c-2f1fdef90c2e)
1 parent 649f9d2 commit c36952a

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

frontend/static/themes/_list.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1251,5 +1251,12 @@
12511251
"mainColor": "#bef0ff",
12521252
"subColor": "#fe9841",
12531253
"textColor": "#dbdeeb"
1254+
},
1255+
{
1256+
"name": "github",
1257+
"bgColor": "#212830",
1258+
"mainColor": "#41ce5c",
1259+
"subColor": "#788386",
1260+
"textColor": "#ccdae6"
12541261
}
12551262
]

frontend/static/themes/github.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
:root {
2+
--bg-color: #212830;
3+
--main-color: #41ce5c;
4+
--caret-color: #41ce5c;
5+
--sub-color: #788386;
6+
--sub-alt-color: #141b23;
7+
--text-color: #ccdae6;
8+
--error-color: #c23e3a;
9+
--error-extra-color: #c23e3a;
10+
--colorful-error-color: #c23e3a;
11+
--colorful-error-extra-color: #c23e3a;
12+
}

0 commit comments

Comments
 (0)