Skip to content

Commit 5850ed3

Browse files
committed
refactor: Move icons into light/dark folders
This follows the vscode styles where all icons for dark mode are in the `dark` folder and all for light mode in the `light` folder. They always have the same name.
1 parent a2f8c85 commit 5850ed3

File tree

6 files changed

+4
-4
lines changed

6 files changed

+4
-4
lines changed
File renamed without changes.
File renamed without changes.

extensions/ql-vscode/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,8 @@
178178
"command": "codeQL.chooseDatabase",
179179
"title": "CodeQL: Choose Database",
180180
"icon": {
181-
"light": "media/black-plus.svg",
182-
"dark": "media/white-plus.svg"
181+
"light": "media/light/plus.svg",
182+
"dark": "media/dark/plus.svg"
183183
}
184184
},
185185
{

extensions/ql-vscode/src/databases-ui.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ type ThemableIconPath = { light: string; dark: string } | string;
1515
* Path to icons to display next to currently selected database.
1616
*/
1717
const SELECTED_DATABASE_ICON: ThemableIconPath = {
18-
light: 'media/check-light-mode.svg',
19-
dark: 'media/check-dark-mode.svg',
18+
light: 'media/light/check.svg',
19+
dark: 'media/dark/check.svg',
2020
};
2121

2222
/**

0 commit comments

Comments
 (0)