Skip to content

Commit

Permalink
Fixed the GitHub Dashboard (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
Unthrottled authored Nov 7, 2020
1 parent 6b2af28 commit 0dd76f3
Show file tree
Hide file tree
Showing 35 changed files with 193 additions and 92 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Changelog
---

# 4.2.3 [Dashboard Fix]

- Fixed the GitHub dashboard look and feel

# 4.2.2 [Tooltip Fix]

- Fixed the tool tip overlay color.
Expand Down
13 changes: 7 additions & 6 deletions buildSrc/src/BuildThemes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -466,12 +466,13 @@ walkDir(githubThemeDefinitionDirectoryPath)
})

.then(dokiThemes =>
walkDir(path.resolve(__dirname, '..', 'temp'))
.then(paths => paths.map(p => {
return {
url: p,
}
}))
//walkDir(path.resolve(__dirname, '..', 'temp'))
// .then(paths => paths.map(p => {
// return {
// url: p,
// }
// }))
Promise.resolve()

// local cached CSS (fast)
.then(()=> fs.readFileSync(path.resolve(githubTemplateDirectoryPath, 'tempCss.css.txt'), {encoding:"utf-8"}))
Expand Down
3 changes: 3 additions & 0 deletions buildSrc/templates/tempCss.css.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
:root {
--color-previewable-comment-form-bg: {{textEditorBackground}};
--color-bg-canvas: {{baseBackground}};
--color-bg-canvas-inset: {{baseBackground}};
--color-bg-primary: {{baseBackground}};
--color-calendar-graph-day-bg: {{codeBlock}};
--color-underlinenav-counter-text: {{foregroundColor}};
Expand All @@ -55,6 +56,8 @@
--color-calendar-graph-day-L4-bg: {{stopColor}};
--color-verified-badge-bg: #00000000;
--color-bg-overlay: {{secondaryBackground}};
--color-border-primary: {{borderColor}};
--color-border-primary: {{borderColor}};
}

.suggester li:hover .octicon,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "doki-theme-github",
"version": "4.2.2",
"version": "4.2.3",
"dependencies": {
}
}
9 changes: 6 additions & 3 deletions themes/aqua.user.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* ==UserStyle==
@name Doki-Theme: Aqua
@namespace github.com/doki-theme
@version 4.2.2
@version 4.2.3
@description Browse code with your waifu.
@author Unthrottled
@license MIT
Expand Down Expand Up @@ -42,6 +42,7 @@
:root {
--color-previewable-comment-form-bg: #262940;
--color-bg-canvas: #282b42;
--color-bg-canvas-inset: #282b42;
--color-bg-primary: #282b42;
--color-calendar-graph-day-bg: #2e3149;
--color-underlinenav-counter-text: #bbbbbb;
Expand All @@ -55,6 +56,8 @@
--color-calendar-graph-day-L4-bg: #688dee;
--color-verified-badge-bg: #00000000;
--color-bg-overlay: #242942;
--color-border-primary: #2a334b;
--color-border-primary: #2a334b;
}

.suggester li:hover .octicon,
Expand Down Expand Up @@ -19225,7 +19228,7 @@ a.notifications-dropdown-see-all:hover, .top-nav .dropdown-menu a:hover {
}
/* constant */
.pl-cce {
color: #BD93F9 !important;
color: #86dbfd !important;
font-weight: normal !important;
}
/* constant.character.escape */
Expand All @@ -19234,7 +19237,7 @@ a.notifications-dropdown-see-all:hover, .top-nav .dropdown-menu a:hover {
}
/* constant.numeric */
.pl-coc {
color: #BD93F9 !important;
color: #86dbfd !important;
}
/* constant.other.color */
.pl-cos {
Expand Down
5 changes: 4 additions & 1 deletion themes/asuna.user.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* ==UserStyle==
@name Doki-Theme: Asuna
@namespace github.com/doki-theme
@version 4.2.2
@version 4.2.3
@description Browse code with your waifu.
@author Unthrottled
@license MIT
Expand Down Expand Up @@ -42,6 +42,7 @@
:root {
--color-previewable-comment-form-bg: #fcfcfc;
--color-bg-canvas: #ffffff;
--color-bg-canvas-inset: #ffffff;
--color-bg-primary: #ffffff;
--color-calendar-graph-day-bg: #f6f6f6;
--color-underlinenav-counter-text: #252427;
Expand All @@ -55,6 +56,8 @@
--color-calendar-graph-day-L4-bg: #ec081e;
--color-verified-badge-bg: #00000000;
--color-bg-overlay: #fcfcfc;
--color-border-primary: #eeeeee;
--color-border-primary: #eeeeee;
}

.suggester li:hover .octicon,
Expand Down
5 changes: 4 additions & 1 deletion themes/beatrice.user.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* ==UserStyle==
@name Doki-Theme: Beatrice
@namespace github.com/doki-theme
@version 4.2.2
@version 4.2.3
@description Browse code with your waifu.
@author Unthrottled
@license MIT
Expand Down Expand Up @@ -42,6 +42,7 @@
:root {
--color-previewable-comment-form-bg: #FFE5F1;
--color-bg-canvas: #ffe4f1;
--color-bg-canvas-inset: #ffe4f1;
--color-bg-primary: #ffe4f1;
--color-calendar-graph-day-bg: #FDD8FF;
--color-underlinenav-counter-text: #000000;
Expand All @@ -55,6 +56,8 @@
--color-calendar-graph-day-L4-bg: #fbadff;
--color-verified-badge-bg: #00000000;
--color-bg-overlay: #f3cfe0;
--color-border-primary: #F1D7E6;
--color-border-primary: #F1D7E6;
}

.suggester li:hover .octicon,
Expand Down
9 changes: 6 additions & 3 deletions themes/darkness_dark.user.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* ==UserStyle==
@name Doki-Theme: Darkness Dark
@namespace github.com/doki-theme
@version 4.2.2
@version 4.2.3
@description Browse code with your waifu.
@author Unthrottled
@license MIT
Expand Down Expand Up @@ -42,6 +42,7 @@
:root {
--color-previewable-comment-form-bg: #0a0904;
--color-bg-canvas: #080703;
--color-bg-canvas-inset: #080703;
--color-bg-primary: #080703;
--color-calendar-graph-day-bg: #191715;
--color-underlinenav-counter-text: #c3c3c3;
Expand All @@ -55,6 +56,8 @@
--color-calendar-graph-day-L4-bg: #ee6a12;
--color-verified-badge-bg: #00000000;
--color-bg-overlay: #100d03;
--color-border-primary: #1c1500;
--color-border-primary: #1c1500;
}

.suggester li:hover .octicon,
Expand Down Expand Up @@ -19225,7 +19228,7 @@ a.notifications-dropdown-see-all:hover, .top-nav .dropdown-menu a:hover {
}
/* constant */
.pl-cce {
color: #BD93F9 !important;
color: #86dbfd !important;
font-weight: normal !important;
}
/* constant.character.escape */
Expand All @@ -19234,7 +19237,7 @@ a.notifications-dropdown-see-all:hover, .top-nav .dropdown-menu a:hover {
}
/* constant.numeric */
.pl-coc {
color: #BD93F9 !important;
color: #86dbfd !important;
}
/* constant.other.color */
.pl-cos {
Expand Down
5 changes: 4 additions & 1 deletion themes/darkness_light.user.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* ==UserStyle==
@name Doki-Theme: Darkness Light
@namespace github.com/doki-theme
@version 4.2.2
@version 4.2.3
@description Browse code with your waifu.
@author Unthrottled
@license MIT
Expand Down Expand Up @@ -42,6 +42,7 @@
:root {
--color-previewable-comment-form-bg: #FFFEF9;
--color-bg-canvas: #fefefa;
--color-bg-canvas-inset: #fefefa;
--color-bg-primary: #fefefa;
--color-calendar-graph-day-bg: #F3F2E2;
--color-underlinenav-counter-text: #000000;
Expand All @@ -55,6 +56,8 @@
--color-calendar-graph-day-L4-bg: #FCFFA5;
--color-verified-badge-bg: #00000000;
--color-bg-overlay: #fffff7;
--color-border-primary: #f1f4e0;
--color-border-primary: #f1f4e0;
}

.suggester li:hover .octicon,
Expand Down
9 changes: 6 additions & 3 deletions themes/emilia_dark.user.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* ==UserStyle==
@name Doki-Theme: Emilia Dark
@namespace github.com/doki-theme
@version 4.2.2
@version 4.2.3
@description Browse code with your waifu.
@author Unthrottled
@license MIT
Expand Down Expand Up @@ -42,6 +42,7 @@
:root {
--color-previewable-comment-form-bg: #492d5a;
--color-bg-canvas: #4e3162;
--color-bg-canvas-inset: #4e3162;
--color-bg-primary: #4e3162;
--color-calendar-graph-day-bg: #402a54;
--color-underlinenav-counter-text: #DADADA;
Expand All @@ -55,6 +56,8 @@
--color-calendar-graph-day-L4-bg: #F667FF;
--color-verified-badge-bg: #00000000;
--color-bg-overlay: #4e2d62;
--color-border-primary: #553a63;
--color-border-primary: #553a63;
}

.suggester li:hover .octicon,
Expand Down Expand Up @@ -19225,7 +19228,7 @@ a.notifications-dropdown-see-all:hover, .top-nav .dropdown-menu a:hover {
}
/* constant */
.pl-cce {
color: #BD93F9 !important;
color: #86dbfd !important;
font-weight: normal !important;
}
/* constant.character.escape */
Expand All @@ -19234,7 +19237,7 @@ a.notifications-dropdown-see-all:hover, .top-nav .dropdown-menu a:hover {
}
/* constant.numeric */
.pl-coc {
color: #BD93F9 !important;
color: #86dbfd !important;
}
/* constant.other.color */
.pl-cos {
Expand Down
5 changes: 4 additions & 1 deletion themes/emilia_light.user.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* ==UserStyle==
@name Doki-Theme: Emilia Light
@namespace github.com/doki-theme
@version 4.2.2
@version 4.2.3
@description Browse code with your waifu.
@author Unthrottled
@license MIT
Expand Down Expand Up @@ -42,6 +42,7 @@
:root {
--color-previewable-comment-form-bg: #fbf0ff;
--color-bg-canvas: #fcf3ff;
--color-bg-canvas-inset: #fcf3ff;
--color-bg-primary: #fcf3ff;
--color-calendar-graph-day-bg: #f2eaf6;
--color-underlinenav-counter-text: #252427;
Expand All @@ -55,6 +56,8 @@
--color-calendar-graph-day-L4-bg: #e984ed;
--color-verified-badge-bg: #00000000;
--color-bg-overlay: #faecff;
--color-border-primary: #e9d8f6;
--color-border-primary: #e9d8f6;
}

.suggester li:hover .octicon,
Expand Down
9 changes: 6 additions & 3 deletions themes/hatsune_miku.user.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* ==UserStyle==
@name Doki-Theme: Hatsune Miku
@namespace github.com/doki-theme
@version 4.2.2
@version 4.2.3
@description Browse code with your waifu.
@author Unthrottled
@license MIT
Expand Down Expand Up @@ -42,6 +42,7 @@
:root {
--color-previewable-comment-form-bg: #2f3635;
--color-bg-canvas: #293030;
--color-bg-canvas-inset: #293030;
--color-bg-primary: #293030;
--color-calendar-graph-day-bg: #293433;
--color-underlinenav-counter-text: #bbbbbb;
Expand All @@ -55,6 +56,8 @@
--color-calendar-graph-day-L4-bg: #68eede;
--color-verified-badge-bg: #00000000;
--color-bg-overlay: #313939;
--color-border-primary: #2d3839;
--color-border-primary: #2d3839;
}

.suggester li:hover .octicon,
Expand Down Expand Up @@ -19225,7 +19228,7 @@ a.notifications-dropdown-see-all:hover, .top-nav .dropdown-menu a:hover {
}
/* constant */
.pl-cce {
color: #BD93F9 !important;
color: #86dbfd !important;
font-weight: normal !important;
}
/* constant.character.escape */
Expand All @@ -19234,7 +19237,7 @@ a.notifications-dropdown-see-all:hover, .top-nav .dropdown-menu a:hover {
}
/* constant.numeric */
.pl-coc {
color: #BD93F9 !important;
color: #86dbfd !important;
}
/* constant.other.color */
.pl-cos {
Expand Down
Loading

0 comments on commit 0dd76f3

Please sign in to comment.