Skip to content

Commit

Permalink
Updated Settings UI (#92)
Browse files Browse the repository at this point in the history
* Updated Settings UI

* Updated changelog
  • Loading branch information
Unthrottled authored Jul 17, 2021
1 parent 557e60f commit 4e6aa0d
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 31 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

# 14.1.1 [Settings UI Enhancement]

- Updated the VSCode [Settings UI](https://code.visualstudio.com/docs/getstarted/settings) to support installed wallpapers!
![Screenshot from 2021-07-17 14-27-59](https://user-images.githubusercontent.com/15972415/126047756-2410b041-09bb-4783-8a33-f05f47869891.png)


# 14.1.0 [Custom Assets]

Added the ability for you to add your own assets to be used by the themes!
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ This feature will set the background image to the current theme's official wallp

Hey alright, you have the ability to set the image to be used for all the doki-themes. Allowed image types: jpg, png, gif. You'll have to put these changes in the `settings.json` in your VSCode.

You can also use the [settings UI](https://code.visualstudio.com/docs/getstarted/settings) just search for `Doki` and you should find the relevant settings.

**Note**: All path values _must_ be an absolute path that resolves to a file on the machine running VSCode.

**Custom Sticker**
Expand Down
8 changes: 4 additions & 4 deletions buildSrc/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1873,10 +1873,10 @@ dir-glob@^3.0.1:
dependencies:
path-type "^4.0.0"

doki-build-source@1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/doki-build-source/-/doki-build-source-1.3.0.tgz#b7516a96317ff559737f6e87fc81b931bbb1977c"
integrity sha512-3Z+BMS0p/FGOlCwuhBauAYeV+DXAF+5HdkMCVSYCYZkbLsqfsymnBM7Unw+vbrHJfI14P0gDuOTbgKOHX9V4Gw==
doki-build-source@1.4.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/doki-build-source/-/doki-build-source-1.4.0.tgz#93121324c155b8e755415503b72f007828817b2a"
integrity sha512-Mt11nNgcE0qSqRX4IysOH9U+G/MEjMLp/TX+x3xZJakAWcOOABIH/911bdgj7+buZoPIbzXsBdky5nnCdSHsYg==

domain-browser@^1.1.1:
version "1.2.0"
Expand Down
52 changes: 26 additions & 26 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "The Doki Theme",
"description": "A bunch of themes with cute anime girls. Code with your waifu!",
"publisher": "unthrottled",
"version": "14.1.0",
"version": "14.1.1",
"license": "MIT",
"icon": "Doki-Theme.png",
"galleryBanner": {
Expand Down Expand Up @@ -801,22 +801,16 @@
"path": "./generatedThemes/Mai Light.theme.json",
"uiTheme": "vs"
},
{
"id": "dce48196-ff46-470c-b5f9-d1e23f4a79d3",
"label": "Doki Theme: DDLC: Monika",
"path": "./generatedThemes/Monika Dark.theme.json",
"uiTheme": "vs-dark"
},
{
"id": "9a310731-ab2d-40f5-b502-fa5419f799a2",
"label": "Doki Theme: DDLC: Monika",
"path": "./generatedThemes/Monika Light.theme.json",
"uiTheme": "vs"
},
{
"id": "a7e0aa28-739a-4671-80ae-3980997e6b71",
"label": "Doki Theme: DDLC: Natsuki",
"path": "./generatedThemes/Natsuki Dark.theme.json",
"id": "dce48196-ff46-470c-b5f9-d1e23f4a79d3",
"label": "Doki Theme: DDLC: Monika",
"path": "./generatedThemes/Monika Dark.theme.json",
"uiTheme": "vs-dark"
},
{
Expand All @@ -825,6 +819,12 @@
"path": "./generatedThemes/Natsuki Light.theme.json",
"uiTheme": "vs"
},
{
"id": "a7e0aa28-739a-4671-80ae-3980997e6b71",
"label": "Doki Theme: DDLC: Natsuki",
"path": "./generatedThemes/Natsuki Dark.theme.json",
"uiTheme": "vs-dark"
},
{
"id": "cb8ef4b7-0844-4a04-b08b-754086598de4",
"label": "Doki Theme: DDLC: Sayori",
Expand All @@ -837,18 +837,18 @@
"path": "./generatedThemes/Sayori Dark.theme.json",
"uiTheme": "vs-dark"
},
{
"id": "a14733d6-8e15-4e75-b6b8-509f323e5b3b",
"label": "Doki Theme: DDLC: Yuri",
"path": "./generatedThemes/Yuri Dark.theme.json",
"uiTheme": "vs-dark"
},
{
"id": "cecf3f92-76d4-4f14-9a9c-3d558b6b3b68",
"label": "Doki Theme: DDLC: Yuri",
"path": "./generatedThemes/Yuri Light.theme.json",
"uiTheme": "vs"
},
{
"id": "a14733d6-8e15-4e75-b6b8-509f323e5b3b",
"label": "Doki Theme: DDLC: Yuri",
"path": "./generatedThemes/Yuri Dark.theme.json",
"uiTheme": "vs-dark"
},
{
"id": "b93ab4ea-ff96-4459-8fa2-0caae5bc7116",
"label": "Doki Theme: DM: Kanna",
Expand Down Expand Up @@ -880,15 +880,15 @@
"uiTheme": "vs-dark"
},
{
"id": "c5e92ad9-2fa0-491e-b92a-48ab92d13597",
"id": "ea9a13f6-fa7f-46a4-ba6e-6cefe1f55160",
"label": "Doki Theme: DxD: Rias",
"path": "./generatedThemes/Rias Crimson.theme.json",
"path": "./generatedThemes/Rias Onyx.theme.json",
"uiTheme": "vs-dark"
},
{
"id": "ea9a13f6-fa7f-46a4-ba6e-6cefe1f55160",
"id": "c5e92ad9-2fa0-491e-b92a-48ab92d13597",
"label": "Doki Theme: DxD: Rias",
"path": "./generatedThemes/Rias Onyx.theme.json",
"path": "./generatedThemes/Rias Crimson.theme.json",
"uiTheme": "vs-dark"
},
{
Expand Down Expand Up @@ -1065,18 +1065,18 @@
"path": "./generatedThemes/Rem.theme.json",
"uiTheme": "vs-dark"
},
{
"id": "bac375a4-abb3-44d5-9bef-8039eb83fec0",
"label": "Doki Theme: SAO: Asuna",
"path": "./generatedThemes/Asuna Dark.theme.json",
"uiTheme": "vs-dark"
},
{
"id": "546e8fb8-6082-4ef5-a5e3-44790686f02f",
"label": "Doki Theme: SAO: Asuna",
"path": "./generatedThemes/Asuna Light.theme.json",
"uiTheme": "vs"
},
{
"id": "bac375a4-abb3-44d5-9bef-8039eb83fec0",
"label": "Doki Theme: SAO: Asuna",
"path": "./generatedThemes/Asuna Dark.theme.json",
"uiTheme": "vs-dark"
},
{
"id": "d39df813-8701-463b-a964-b8cb7714d1cc",
"label": "Doki Theme: Steins Gate: Kurisu",
Expand Down
2 changes: 1 addition & 1 deletion src/NotificationService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { VSCodeGlobals } from "./VSCodeGlobals";
import { attemptToGreetUser } from "./WelcomeService";

const SAVED_VERSION = "doki.theme.version";
const DOKI_THEME_VERSION = "v14.1.0";
const DOKI_THEME_VERSION = "v14.1.1";

export function attemptToNotifyUpdates(context: vscode.ExtensionContext) {
const savedVersion = VSCodeGlobals.globalState.get(SAVED_VERSION);
Expand Down
5 changes: 5 additions & 0 deletions src/StickerService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ function buildWallpaperCss({
[id="workbench.parts.editor"] .split-view-view .editor-container .editor-instance>.monaco-editor .overflow-guard>.monaco-scrollable-element::before,
.overflow-guard,
.tab,
/* settings UI */
.settings-editor>.settings-body .settings-toc-container,
/* end settings UI */
.tabs-container,
.monaco-pane-view,
.composite.title,
Expand Down Expand Up @@ -62,6 +65,8 @@ function buildWallpaperCss({
background-size: cover !important;
}
/*settings UI */
.monaco-list.list_id_1 .monaco-list-rows,
/* source control diff editor */
.lines-content.monaco-editor-background,
/* output panel */
Expand Down

0 comments on commit 4e6aa0d

Please sign in to comment.