Skip to content

Commit d3de4c1

Browse files
committed
fix(web): unify settings nav icon tones
1 parent 27bef6a commit d3de4c1

2 files changed

Lines changed: 3 additions & 27 deletions

File tree

packages/web/src/theme/icon-theme.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ describe("theme icon resolver", () => {
124124
expect.objectContaining({ tone: "info" })
125125
);
126126
expect(getIconPresentation(themeId, "nav.settings.appearance")).toEqual(
127-
expect.objectContaining({ tone: "accent" })
127+
expect.objectContaining({ tone: "secondary" })
128128
);
129129
}
130130
});
@@ -162,7 +162,7 @@ describe("theme icon resolver", () => {
162162
expect.objectContaining({ tone: "info" })
163163
);
164164
expect(getIconPresentation(themeId, "nav.settings.appearance")).toEqual(
165-
expect.objectContaining({ tone: "accent" })
165+
expect.objectContaining({ tone: "secondary" })
166166
);
167167
expect(getIconPresentation(themeId, "nav.panelTerminal")).toEqual(
168168
expect.objectContaining({ tone: "current" })
@@ -224,7 +224,7 @@ describe("theme icon resolver", () => {
224224
expect.objectContaining({ tone: "accent" })
225225
);
226226
expect(getIconPresentation(themeId, "nav.settings.appearance")).toEqual(
227-
expect.objectContaining({ tone: "accent" })
227+
expect.objectContaining({ tone: "secondary" })
228228
);
229229
expect(getIconPresentation(themeId, "nav.settings.providers")).toEqual(
230230
expect.objectContaining({ tone: "info" })

packages/web/src/theme/registry.ts

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,6 @@ const THEMES_REGISTRY: ReadonlyArray<AppThemeDefinition> = [
171171
...BASE_ICON_THEME.icons["git.commit"],
172172
tone: "info",
173173
},
174-
"nav.settings.appearance": {
175-
...BASE_ICON_THEME.icons["nav.settings.appearance"],
176-
tone: "accent",
177-
},
178174
}),
179175
monaco: {
180176
base: "vs-dark",
@@ -255,10 +251,6 @@ const THEMES_REGISTRY: ReadonlyArray<AppThemeDefinition> = [
255251
...BASE_ICON_THEME.icons["git.commit"],
256252
tone: "info",
257253
},
258-
"nav.settings.appearance": {
259-
...BASE_ICON_THEME.icons["nav.settings.appearance"],
260-
tone: "accent",
261-
},
262254
}),
263255
monaco: {
264256
base: "vs",
@@ -346,10 +338,6 @@ const THEMES_REGISTRY: ReadonlyArray<AppThemeDefinition> = [
346338
...BASE_ICON_THEME.icons["git.action.refresh"],
347339
tone: "info",
348340
},
349-
"nav.settings.appearance": {
350-
...BASE_ICON_THEME.icons["nav.settings.appearance"],
351-
tone: "accent",
352-
},
353341
}),
354342
monaco: {
355343
base: "vs-dark",
@@ -437,10 +425,6 @@ const THEMES_REGISTRY: ReadonlyArray<AppThemeDefinition> = [
437425
...BASE_ICON_THEME.icons["git.action.refresh"],
438426
tone: "info",
439427
},
440-
"nav.settings.appearance": {
441-
...BASE_ICON_THEME.icons["nav.settings.appearance"],
442-
tone: "accent",
443-
},
444428
}),
445429
monaco: {
446430
base: "vs",
@@ -536,10 +520,6 @@ const THEMES_REGISTRY: ReadonlyArray<AppThemeDefinition> = [
536520
...BASE_ICON_THEME.icons["git.commit"],
537521
tone: "accent",
538522
},
539-
"nav.settings.appearance": {
540-
...BASE_ICON_THEME.icons["nav.settings.appearance"],
541-
tone: "accent",
542-
},
543523
"nav.settings.providers": {
544524
...BASE_ICON_THEME.icons["nav.settings.providers"],
545525
tone: "info",
@@ -647,10 +627,6 @@ const THEMES_REGISTRY: ReadonlyArray<AppThemeDefinition> = [
647627
...BASE_ICON_THEME.icons["git.commit"],
648628
tone: "accent",
649629
},
650-
"nav.settings.appearance": {
651-
...BASE_ICON_THEME.icons["nav.settings.appearance"],
652-
tone: "accent",
653-
},
654630
"nav.settings.providers": {
655631
...BASE_ICON_THEME.icons["nav.settings.providers"],
656632
tone: "info",

0 commit comments

Comments
 (0)