Minor style updates

This commit is contained in:
Sean Edmunds
2025-07-31 16:41:59 -05:00
parent 7277ff501b
commit 70c28f54b8
3 changed files with 75 additions and 68 deletions

View File

@@ -244,6 +244,13 @@ export function ThemeEditor({
}}
pos={'absolute'}
right={0}
style={{
color: selectedTheme.backgroundColor,
backgroundColor: selectedTheme.primaryColor,
borderRadius: 0,
borderBottomLeftRadius: 10,
borderTopRightRadius: 10,
}}
>
<FiImage size={20} />
</ActionIcon>
@@ -273,7 +280,7 @@ export function ThemeEditor({
Change{' '}
{BackgroundProperties[colorId as keyof typeof BackgroundProperties]}
</Text>
{colorId === 'backgroundColor' && (
{(colorId === 'backgroundColor' || colorId === 'searchColor') && (
<ColorPicker
value={colorValue}
onChange={(e) => {
@@ -283,12 +290,11 @@ export function ThemeEditor({
backgroundColor: e,
});
}}
format={'hex'}
format={'hexa'}
w={'90%'}
mb={'1.5rem'}
/>
)}
{colorId !== 'backgroundColor' && (
{colorId !== 'backgroundColor' && colorId !== 'searchColor' && (
<ColorPicker
value={colorValue}
onChange={(e) => {
@@ -298,8 +304,9 @@ export function ThemeEditor({
[colorId]: e,
});
}}
format={'hexa'}
format={'hex'}
w={'90%'}
mb={'1.5rem'}
/>
)}
<TextInput
@@ -528,7 +535,7 @@ export function ThemeEditor({
</Group>
)}
{key === 'backgroundImage' && (
<Group w={'100%'} justify='center'>
<Group w={'100%'} justify='center' gap={4}>
<Image
w={'40%'}
src={