Merge branch 'VegaDeftwing-master'

This commit is contained in:
ryo-ma 2020-09-26 01:44:20 +09:00
commit 50bc8b278e
2 changed files with 39 additions and 3 deletions

View file

@ -171,6 +171,7 @@ Available themes.
| [onedark](#onedark) | | [onedark](#onedark) |
| [gruvbox](#gruvbox) | | [gruvbox](#gruvbox) |
| [dracula](#dracula) | | [dracula](#dracula) |
| [monokai](#monokai) |
### flat ### flat
@ -211,6 +212,17 @@ https://github-profile-trophy.vercel.app/?username=ryo-ma&theme=dracula
<img width="660" src="https://user-images.githubusercontent.com/6661165/92490273-c91f2b00-f22b-11ea-9481-b5daae4d7bc3.png"> <img width="660" src="https://user-images.githubusercontent.com/6661165/92490273-c91f2b00-f22b-11ea-9481-b5daae4d7bc3.png">
</p> </p>
### monokai
```
https://github-profile-trophy.vercel.app/?username=ryo-ma&theme=monokai
```
<p align="center">
<img width="660" src="https://user-images.githubusercontent.com/6661165/93725426-2c289e80-fbea-11ea-96a4-f6490ccf2126.png">
</p>
## Margin Width ## Margin Width
You can put a margin in the width between trophies. You can put a margin in the width between trophies.
@ -218,7 +230,7 @@ You can put a margin in the width between trophies.
`Default: margin-w=0` `Default: margin-w=0`
``` ```
http://localhost:8080/?username=ryo-ma&margin-w=15 https://github-profile-trophy.vercel.app/?username=ryo-ma&margin-w=15
``` ```
<p align="center"> <p align="center">
@ -232,13 +244,13 @@ You can put a margin in the height between trophies.
`Default: margin-h=0` `Default: margin-h=0`
``` ```
http://localhost:8080/?username=ryo-ma&margin-h=15 https://github-profile-trophy.vercel.app/?username=ryo-ma&margin-h=15
``` ```
## Example layout ## Example layout
``` ```
http://localhost:8080/?username=ryo-ma&column=3&margin-w=15&margin-h=15 https://github-profile-trophy.vercel.app/?username=ryo-ma&column=3&margin-w=15&margin-h=15
``` ```
<p align="center"> <p align="center">

View file

@ -143,6 +143,30 @@ export const COLORS: {[name: string]: Theme} = {
DEFAULT_RANK_SHADOW: "#75715e", DEFAULT_RANK_SHADOW: "#75715e",
DEFAULT_RANK_TEXT: "#282828", DEFAULT_RANK_TEXT: "#282828",
}, },
chalk: {
BACKGROUND: "#2d2d2d",
TITLE: "#fed37e",
ICON_CIRCLE: "#e4e4e4",
TEXT: "#d4d4d4",
LAUREL: "#a9d3ab",
SECRET_RANK_1: "#f58e8e",
SECRET_RANK_2: "#d6add5",
SECRET_RANK_3: "#66d9ef",
SECRET_RANK_TEXT: "#f58e8e",
NEXT_RANK_BAR: "#7aabd4",
S_RANK_BASE: "#fed37e",
S_RANK_SHADOW: "#fed37e",
S_RANK_TEXT: "#2d2d2d",
A_RANK_BASE: "#79D4D5",
A_RANK_SHADOW: "#79D4D5",
A_RANK_TEXT: "#2d2d2d",
B_RANK_BASE: "#f58e8e",
B_RANK_SHADOW: "#f58e8e",
B_RANK_TEXT: "#2d2d2d",
DEFAULT_RANK_BASE: "#75715e",
DEFAULT_RANK_SHADOW: "#75715e",
DEFAULT_RANK_TEXT: "#2d2d2d",
},
}; };
export interface Theme { export interface Theme {