Skip to content

Commit

Permalink
Updated readme and yaml editing syntax (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
Unthrottled authored Feb 6, 2021
1 parent 273dc23 commit 3c01dd2
Show file tree
Hide file tree
Showing 41 changed files with 1,231 additions and 1,220 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Changelog
---

# 5.1.1 [Consistency Updates]

- Updated syntax coloring when editing yaml files and readme files.

# 5.1.0 [GitHub Updates]

- Fixed major styling issues with newest GitHub style update.
Expand Down
2 changes: 2 additions & 0 deletions buildSrc/src/BuildThemes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ function constructNamedColorTemplate(
...resolvedColors,
...resolvedColorTemplate,
...resolvedNameColors,
accentColorEditor: dokiThemeTemplateJson.overrides?.editorScheme?.colors?.accentColor ||
dokiThemeTemplateJson.colors.accentColor,
};
}

Expand Down
5 changes: 5 additions & 0 deletions buildSrc/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ export interface MasterDokiThemeDefinition {
product?: 'community' | 'ultimate';
stickers: Stickers;
colors: StringDictonary<string>;
overrides?: {
editorScheme? : {
colors: StringDictonary<string>;
}
}
}

export interface StringDictonary<T> {
Expand Down
8 changes: 4 additions & 4 deletions buildSrc/templates/tempCss.css.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19663,7 +19663,7 @@ a.notifications-dropdown-see-all:hover, .top-nav .dropdown-menu a:hover {
color: #8da6ce !important;
}
.cm-variable-2, span.cm-tag {
color: #607392 !important;
color: {{infoForeground}} !important;
}
.cm-variable-3, span.cm-def {
color: #607392 !important;
Expand All @@ -19672,7 +19672,7 @@ a.notifications-dropdown-see-all:hover, .top-nav .dropdown-menu a:hover {
color: {{keywordColor}} !important;
}
.cm-comment {
color: #777 !important;
color: {{classNameColor}} !important;
font-style: italic !important;
font-weight: normal !important;
}
Expand All @@ -19696,13 +19696,13 @@ a.notifications-dropdown-see-all:hover, .top-nav .dropdown-menu a:hover {
color: #d6bb6d !important;
}
.cm-header {
color: #ff6400 !important;
color: {{htmlTagColor}} !important;
}
.cm-hr {
color: #aeaeae !important;
}
.cm-link {
color: #ad9361 !important;
color: {{accentColorEditor}} !important;
font-style: italic !important;
text-decoration: none !important;
}
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": "5.1.0",
"version": "5.1.1",
"dependencies": {
}
}
10 changes: 5 additions & 5 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 5.1.0
@version 5.1.1
@description Browse code with your waifu.
@author Unthrottled
@license MIT
Expand Down Expand Up @@ -19663,7 +19663,7 @@ a.notifications-dropdown-see-all:hover, .top-nav .dropdown-menu a:hover {
color: #8da6ce !important;
}
.cm-variable-2, span.cm-tag {
color: #607392 !important;
color: #7b8bab !important;
}
.cm-variable-3, span.cm-def {
color: #607392 !important;
Expand All @@ -19672,7 +19672,7 @@ a.notifications-dropdown-see-all:hover, .top-nav .dropdown-menu a:hover {
color: #988F9A !important;
}
.cm-comment {
color: #777 !important;
color: #8dc6ef !important;
font-style: italic !important;
font-weight: normal !important;
}
Expand All @@ -19696,13 +19696,13 @@ a.notifications-dropdown-see-all:hover, .top-nav .dropdown-menu a:hover {
color: #d6bb6d !important;
}
.cm-header {
color: #ff6400 !important;
color: #a28a92 !important;
}
.cm-hr {
color: #aeaeae !important;
}
.cm-link {
color: #ad9361 !important;
color: #578CDA !important;
font-style: italic !important;
text-decoration: none !important;
}
Expand Down
14 changes: 7 additions & 7 deletions themes/asuna_dark.user.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* ==UserStyle==
@name Doki-Theme: Asuna Dark
@namespace github.com/doki-theme
@version 5.1.0
@version 5.1.1
@description Browse code with your waifu.
@author Unthrottled
@license MIT
Expand Down Expand Up @@ -18914,11 +18914,11 @@ table.files {
.blob-code-deletion, .CodeMirror-linebackground.conflict-background,
.conflict-gutter-marker,
.conflict-background + .CodeMirror-gutter-wrapper .CodeMirror-linenumber {
background-color: #40424599 !important;
background-color: #24242699 !important;
border-color: #600 !important;
}
.blob-num-deletion {
background-color: #40424599 !important;
background-color: #24242699 !important;
}
/* code splitter in diffs */
.blob-num-expandable, .blob-num-hunk {
Expand Down Expand Up @@ -19663,7 +19663,7 @@ a.notifications-dropdown-see-all:hover, .top-nav .dropdown-menu a:hover {
color: #8da6ce !important;
}
.cm-variable-2, span.cm-tag {
color: #607392 !important;
color: #7a3f41 !important;
}
.cm-variable-3, span.cm-def {
color: #607392 !important;
Expand All @@ -19672,7 +19672,7 @@ a.notifications-dropdown-see-all:hover, .top-nav .dropdown-menu a:hover {
color: #988F9A !important;
}
.cm-comment {
color: #777 !important;
color: #db974d !important;
font-style: italic !important;
font-weight: normal !important;
}
Expand All @@ -19696,13 +19696,13 @@ a.notifications-dropdown-see-all:hover, .top-nav .dropdown-menu a:hover {
color: #d6bb6d !important;
}
.cm-header {
color: #ff6400 !important;
color: #e53935 !important;
}
.cm-hr {
color: #aeaeae !important;
}
.cm-link {
color: #ad9361 !important;
color: #e0474b !important;
font-style: italic !important;
text-decoration: none !important;
}
Expand Down
10 changes: 5 additions & 5 deletions themes/asuna_light.user.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* ==UserStyle==
@name Doki-Theme: Asuna Light
@namespace github.com/doki-theme
@version 5.1.0
@version 5.1.1
@description Browse code with your waifu.
@author Unthrottled
@license MIT
Expand Down Expand Up @@ -19663,7 +19663,7 @@ a.notifications-dropdown-see-all:hover, .top-nav .dropdown-menu a:hover {
color: #8da6ce !important;
}
.cm-variable-2, span.cm-tag {
color: #607392 !important;
color: #a25252 !important;
}
.cm-variable-3, span.cm-def {
color: #607392 !important;
Expand All @@ -19672,7 +19672,7 @@ a.notifications-dropdown-see-all:hover, .top-nav .dropdown-menu a:hover {
color: #a61d0d !important;
}
.cm-comment {
color: #777 !important;
color: #db974d !important;
font-style: italic !important;
font-weight: normal !important;
}
Expand All @@ -19696,13 +19696,13 @@ a.notifications-dropdown-see-all:hover, .top-nav .dropdown-menu a:hover {
color: #d6bb6d !important;
}
.cm-header {
color: #ff6400 !important;
color: #e53935 !important;
}
.cm-hr {
color: #aeaeae !important;
}
.cm-link {
color: #ad9361 !important;
color: #212121 !important;
font-style: italic !important;
text-decoration: none !important;
}
Expand Down
10 changes: 5 additions & 5 deletions 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 5.1.0
@version 5.1.1
@description Browse code with your waifu.
@author Unthrottled
@license MIT
Expand Down Expand Up @@ -19663,7 +19663,7 @@ a.notifications-dropdown-see-all:hover, .top-nav .dropdown-menu a:hover {
color: #8da6ce !important;
}
.cm-variable-2, span.cm-tag {
color: #607392 !important;
color: #dd87a1 !important;
}
.cm-variable-3, span.cm-def {
color: #607392 !important;
Expand All @@ -19672,7 +19672,7 @@ a.notifications-dropdown-see-all:hover, .top-nav .dropdown-menu a:hover {
color: #C869A3 !important;
}
.cm-comment {
color: #777 !important;
color: #df81b8 !important;
font-style: italic !important;
font-weight: normal !important;
}
Expand All @@ -19696,13 +19696,13 @@ a.notifications-dropdown-see-all:hover, .top-nav .dropdown-menu a:hover {
color: #d6bb6d !important;
}
.cm-header {
color: #ff6400 !important;
color: #7B6970 !important;
}
.cm-hr {
color: #aeaeae !important;
}
.cm-link {
color: #ad9361 !important;
color: #5c84da !important;
font-style: italic !important;
text-decoration: none !important;
}
Expand Down
10 changes: 5 additions & 5 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 5.1.0
@version 5.1.1
@description Browse code with your waifu.
@author Unthrottled
@license MIT
Expand Down Expand Up @@ -19663,7 +19663,7 @@ a.notifications-dropdown-see-all:hover, .top-nav .dropdown-menu a:hover {
color: #8da6ce !important;
}
.cm-variable-2, span.cm-tag {
color: #607392 !important;
color: #7c7262 !important;
}
.cm-variable-3, span.cm-def {
color: #607392 !important;
Expand All @@ -19672,7 +19672,7 @@ a.notifications-dropdown-see-all:hover, .top-nav .dropdown-menu a:hover {
color: #ffba2f !important;
}
.cm-comment {
color: #777 !important;
color: #d53a4a !important;
font-style: italic !important;
font-weight: normal !important;
}
Expand All @@ -19696,13 +19696,13 @@ a.notifications-dropdown-see-all:hover, .top-nav .dropdown-menu a:hover {
color: #d6bb6d !important;
}
.cm-header {
color: #ff6400 !important;
color: #a28a92 !important;
}
.cm-hr {
color: #aeaeae !important;
}
.cm-link {
color: #ad9361 !important;
color: #f4fa8c !important;
font-style: italic !important;
text-decoration: none !important;
}
Expand Down
16 changes: 8 additions & 8 deletions 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 5.1.0
@version 5.1.1
@description Browse code with your waifu.
@author Unthrottled
@license MIT
Expand Down Expand Up @@ -46,8 +46,8 @@
--color-bg-canvas: #fefefa !important;
--color-bg-canvas-inset: #fefefa !important;
--color-bg-primary: #fefefa !important;
--color-calendar-graph-day-bg: #F3F2E2 !important;
--color-workflow-card-bg: #F3F2E2 !important;
--color-calendar-graph-day-bg: #f4f3ee !important;
--color-workflow-card-bg: #f4f3ee !important;
--color-bg-tertiary: #FFFEF9 !important;
--color-bg-secondary: #FFF6E4 !important;
--color-bg-discussions-row-emoji-box: #fffef7 !important;
Expand All @@ -64,7 +64,7 @@
--color-bg-overlay: #fffff7 !important;
--color-border-primary: #f1f4e0 !important;
--color-border-primary: #f1f4e0 !important;
--color-notifications-row-read-bg: #F3F2E2 !important;
--color-notifications-row-read-bg: #f4f3ee !important;
--color-notifications-row-bg: #FFF6E4 !important;
--color-input-disabled-bg: #FFFFBC !important;
--color-input-disabled-border: #f1f4e0 !important;
Expand Down Expand Up @@ -19663,7 +19663,7 @@ a.notifications-dropdown-see-all:hover, .top-nav .dropdown-menu a:hover {
color: #8da6ce !important;
}
.cm-variable-2, span.cm-tag {
color: #607392 !important;
color: #aaaaaa !important;
}
.cm-variable-3, span.cm-def {
color: #607392 !important;
Expand All @@ -19672,7 +19672,7 @@ a.notifications-dropdown-see-all:hover, .top-nav .dropdown-menu a:hover {
color: #E36207 !important;
}
.cm-comment {
color: #777 !important;
color: #c79c19 !important;
font-style: italic !important;
font-weight: normal !important;
}
Expand All @@ -19696,13 +19696,13 @@ a.notifications-dropdown-see-all:hover, .top-nav .dropdown-menu a:hover {
color: #d6bb6d !important;
}
.cm-header {
color: #ff6400 !important;
color: #22863a !important;
}
.cm-hr {
color: #aeaeae !important;
}
.cm-link {
color: #ad9361 !important;
color: #b6323f !important;
font-style: italic !important;
text-decoration: none !important;
}
Expand Down
Loading

0 comments on commit 3c01dd2

Please sign in to comment.