From 8a5cebe9d0cf63e83ee56c2b4d118f95506ff3b0 Mon Sep 17 00:00:00 2001 From: ryo-ma Date: Mon, 21 Sep 2020 09:10:41 +0900 Subject: [PATCH 1/4] Update README.md --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index b361bba..77c4588 100644 --- a/README.md +++ b/README.md @@ -211,6 +211,17 @@ https://github-profile-trophy.vercel.app/?username=ryo-ma&theme=dracula

+### monokai + +``` +https://github-profile-trophy.vercel.app/?username=ryo-ma&theme=monokai +``` + +

+ +

+ + ## Margin Width You can put a margin in the width between trophies. From 0c8a84d5acaa50fc857ed668bf2a5ab9bd90d12f Mon Sep 17 00:00:00 2001 From: ryo-ma Date: Mon, 21 Sep 2020 22:40:16 +0900 Subject: [PATCH 2/4] Update README.md --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 77c4588..940307b 100644 --- a/README.md +++ b/README.md @@ -171,6 +171,7 @@ Available themes. | [onedark](#onedark) | | [gruvbox](#gruvbox) | | [dracula](#dracula) | +| [monokai](#monokai) | ### flat @@ -229,7 +230,7 @@ You can put a margin in the width between trophies. `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 ```

@@ -243,13 +244,13 @@ You can put a margin in the height between trophies. `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 ``` -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 ```

From cf046f368a1392f4393ec0ddc536d1eb171aa947 Mon Sep 17 00:00:00 2001 From: Vega Deftwing Date: Wed, 23 Sep 2020 23:28:02 -0500 Subject: [PATCH 3/4] Added chalk based theme MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Theme colors mostly taken from https://github.com/Mayccoll/Gogh/blob/master/themes/chalk.sh . I had to add some extra colors to make things look good with enough contrast, but I think this will work well. I couldn't actually figure out how to test it since the github app generates images rather than html&css that I can try out in browser ╮(─▽─)╭ --- src/theme.ts | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/theme.ts b/src/theme.ts index 7a67aa1..c307b2d 100644 --- a/src/theme.ts +++ b/src/theme.ts @@ -143,6 +143,30 @@ export const COLORS: {[name: string]: Theme} = { DEFAULT_RANK_SHADOW: "#75715e", DEFAULT_RANK_TEXT: "#282828", }, + chalk: { + BACKGROUND: "#2d2d2d", + TITLE: "#fed37e", + ICON_CIRCLE: "#e4e4e4", + TEXT: "#d4d4d4", + LAUREL: "#a9d3ab", + SECRET_RANK_1: "#d6add5", + SECRET_RANK_2: "#79d4d5", + SECRET_RANK_3: "#66d9ef", + SECRET_RANK_TEXT: "#7e622a", + 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 { From 66a8e5e9405b13e765ca04ef4a518dbf5ca2e3bc Mon Sep 17 00:00:00 2001 From: ryo-ma Date: Sat, 26 Sep 2020 01:41:01 +0900 Subject: [PATCH 4/4] Fix the secret trophy color about chalk theme --- src/theme.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/theme.ts b/src/theme.ts index c307b2d..e6fdb89 100644 --- a/src/theme.ts +++ b/src/theme.ts @@ -149,10 +149,10 @@ export const COLORS: {[name: string]: Theme} = { ICON_CIRCLE: "#e4e4e4", TEXT: "#d4d4d4", LAUREL: "#a9d3ab", - SECRET_RANK_1: "#d6add5", - SECRET_RANK_2: "#79d4d5", + SECRET_RANK_1: "#f58e8e", + SECRET_RANK_2: "#d6add5", SECRET_RANK_3: "#66d9ef", - SECRET_RANK_TEXT: "#7e622a", + SECRET_RANK_TEXT: "#f58e8e", NEXT_RANK_BAR: "#7aabd4", S_RANK_BASE: "#fed37e", S_RANK_SHADOW: "#fed37e",