From b4eadcabd9c08ab814b9ba007af3aaa923202a0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ev=C5=BEen=20Gasta?= <46690189+gastoner@users.noreply.github.com> Date: Thu, 5 Sep 2024 22:16:12 +0200 Subject: [PATCH] chore: adds missing colors for modal dropdown element (#8437) Signed-off-by: Evzen Gasta --- packages/main/src/plugin/color-registry.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/packages/main/src/plugin/color-registry.ts b/packages/main/src/plugin/color-registry.ts index fa94d0752..3b32b2806 100644 --- a/packages/main/src/plugin/color-registry.ts +++ b/packages/main/src/plugin/color-registry.ts @@ -1090,6 +1090,8 @@ export class ColorRegistry { protected initDropdown(): void { const dropdown = 'dropdown-'; const select = 'select-'; + const modal = 'modal-'; + const input = 'input-'; this.registerColor(`${dropdown}bg`, { dark: colorPalette.charcoal[600], @@ -1133,6 +1135,19 @@ export class ColorRegistry { dark: colorPalette.charcoal[800], light: colorPalette.gray[200], }); + + this.registerColor(`${modal}${dropdown}highlight`, { + dark: colorPalette.purple[600], + light: colorPalette.purple[300], + }); + this.registerColor(`${modal}${dropdown}text`, { + dark: colorPalette.white, + light: colorPalette.charcoal[900], + }); + this.registerColor(`${input}${select}hover-text`, { + dark: colorPalette.gray[900], + light: colorPalette.charcoal[200], + }); } // labels