Add onedakr to theme

This commit is contained in:
ryo-ma 2020-09-06 22:38:48 +09:00
parent 59c6ed6007
commit c29557d866
2 changed files with 31 additions and 0 deletions

View file

@ -145,6 +145,7 @@ Available themes.
| theme |
| ---- |
| flat |
| onedark |
| gruvbox |
### flat
@ -155,6 +156,12 @@ https://github-profile-trophy.vercel.app/?username=ryo-ma&theme=flat
<img width="660" src="https://user-images.githubusercontent.com/6661165/92325601-039b9300-f087-11ea-983a-fce8133549ee.png">
### flat
```
https://github-profile-trophy.vercel.app/?username=ryo-ma&theme=onedark
```
### gruvbox
```

View file

@ -47,6 +47,30 @@ export const COLORS: {[name: string]: Theme} = {
DEFAULT_RANK_SHADOW: "#777",
DEFAULT_RANK_TEXT: "#333",
},
onedark: {
PRIMARY: "#282c34",
SECONDARY: "#e5c07b",
ICON_CIRCLE: "#FFF",
TEXT: "#e06c75",
LAUREL: "#98c379",
SECRET_RANK_1: "#e06c75",
SECRET_RANK_2: "#c678dd",
SECRET_RANK_3: "#61afef",
SECRET_RANK_TEXT: "#c678dd",
NEXT_RANK_BAR: "#e5c07b",
S_RANK_BASE: "#e5c07b",
S_RANK_SHADOW: "#e5c07b",
S_RANK_TEXT: "#282c34",
A_RANK_BASE: "#56b6c2",
A_RANK_SHADOW: "#56b6c2",
A_RAKN_TEXT: "#282c34",
B_RANK_BASE: "#c678dd",
B_RANK_SHADOW: "#c678dd",
B_RANK_TEXT: "#282c34",
DEFAULT_RANK_BASE: "#abb2bf",
DEFAULT_RANK_SHADOW: "#abb2bf",
DEFAULT_RANK_TEXT: "#282c34",
},
gruvbox: {
PRIMARY: "#282828",
SECONDARY: "#ebdbb2",