From 4e6aa0deffd0a347aa51f15ba551b11dd3c69154 Mon Sep 17 00:00:00 2001 From: Alex Simons Date: Sat, 17 Jul 2021 14:38:52 -0500 Subject: [PATCH] Updated Settings UI (#92) * Updated Settings UI * Updated changelog --- CHANGELOG.md | 6 +++++ README.md | 2 ++ buildSrc/yarn.lock | 8 +++--- package.json | 52 +++++++++++++++++++------------------- src/NotificationService.ts | 2 +- src/StickerService.ts | 5 ++++ 6 files changed, 44 insertions(+), 31 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 29b83cf..d1eb2f9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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! diff --git a/README.md b/README.md index c994f8e..9cbbd96 100644 --- a/README.md +++ b/README.md @@ -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** diff --git a/buildSrc/yarn.lock b/buildSrc/yarn.lock index 7008c46..c958ad2 100644 --- a/buildSrc/yarn.lock +++ b/buildSrc/yarn.lock @@ -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" diff --git a/package.json b/package.json index 8932b52..e23c31d 100644 --- a/package.json +++ b/package.json @@ -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": { @@ -801,12 +801,6 @@ "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", @@ -814,9 +808,9 @@ "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" }, { @@ -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", @@ -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", @@ -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" }, { @@ -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", diff --git a/src/NotificationService.ts b/src/NotificationService.ts index e43cb7f..9130e7b 100644 --- a/src/NotificationService.ts +++ b/src/NotificationService.ts @@ -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); diff --git a/src/StickerService.ts b/src/StickerService.ts index 1890089..b8a783e 100644 --- a/src/StickerService.ts +++ b/src/StickerService.ts @@ -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, @@ -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 */