From 2ff99cbe5ba58d22c1d34be704065223a0cc89f3 Mon Sep 17 00:00:00 2001 From: provokateurin Date: Wed, 4 Dec 2024 10:32:46 +0100 Subject: [PATCH] fix(settings): Fix select input color Signed-off-by: provokateurin --- src/settings/AdminGroupSelect.tsx | 1 + src/settings/App.tsx | 1 + src/settings/FolderGroups.tsx | 2 +- src/settings/SubAdminGroupSelect.tsx | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/settings/AdminGroupSelect.tsx b/src/settings/AdminGroupSelect.tsx index 82dbe0634..1ac97304e 100644 --- a/src/settings/AdminGroupSelect.tsx +++ b/src/settings/AdminGroupSelect.tsx @@ -79,6 +79,7 @@ class AdminGroupSelect extends Component { input: (provided) => ({ ...provided, height: '30', + color: 'var(--color-main-text)', }), control: (provided) => ({ ...provided, diff --git a/src/settings/App.tsx b/src/settings/App.tsx index 4d9a04084..c25fa7bdc 100644 --- a/src/settings/App.tsx +++ b/src/settings/App.tsx @@ -453,6 +453,7 @@ function ManageAclSelect({ onChange, onSearch, folder }: ManageAclSelectProps) { ...base, margin: 0, padding: 0, + color: 'var(--color-main-text)', }), menu: (provided) => ({ ...provided, diff --git a/src/settings/FolderGroups.tsx b/src/settings/FolderGroups.tsx index ec782436c..215c8c46b 100644 --- a/src/settings/FolderGroups.tsx +++ b/src/settings/FolderGroups.tsx @@ -154,7 +154,7 @@ function AdminGroupSelect({allGroups, allCircles, onChange}: CircleGroupSelectPr input: (provided) => ({ ...provided, height: 30, - color: 'var(--color-primary-element-text)' + color: 'var(--color-main-text)', }), control: (provided) => ({ ...provided, diff --git a/src/settings/SubAdminGroupSelect.tsx b/src/settings/SubAdminGroupSelect.tsx index 52643192a..aa4d394ae 100644 --- a/src/settings/SubAdminGroupSelect.tsx +++ b/src/settings/SubAdminGroupSelect.tsx @@ -78,6 +78,7 @@ class SubAdminGroupSelect extends Component { input: (provided) => ({ ...provided, height: '30', + color: 'var(--color-main-text)', }), control: (provided) => ({ ...provided,