diff --git a/frontend/src/components/tools/automate/AutomationCreation.tsx b/frontend/src/components/tools/automate/AutomationCreation.tsx index 1b8d60741..995e6e6d6 100644 --- a/frontend/src/components/tools/automate/AutomationCreation.tsx +++ b/frontend/src/components/tools/automate/AutomationCreation.tsx @@ -148,20 +148,19 @@ export default function AutomationCreation({ mode, existingAutomation, onBack, o return (
- {t("automate.creation.description", "Automations run tools sequentially. To get started, add tools in the order you want them to run.")} + {t("automate.creation.description", "Automations run tools sequentially. To get started, add tools in the order you want them to run.")} {/* Automation Name and Icon */} - + - - {t('automate.creation.name.label', 'Automation Name')} * - setAutomationName(e.currentTarget.value)} size="sm" /> diff --git a/frontend/src/components/tools/automate/IconSelector.tsx b/frontend/src/components/tools/automate/IconSelector.tsx index 1af38ee00..9294d5635 100644 --- a/frontend/src/components/tools/automate/IconSelector.tsx +++ b/frontend/src/components/tools/automate/IconSelector.tsx @@ -22,11 +22,10 @@ export default function IconSelector({ value = "SettingsIcon", onChange, size = }; const iconSize = size === "sm" ? 16 : size === "md" ? 18 : 20; - const actionIconSize = size === "sm" ? "sm" : size === "md" ? "md" : "lg"; return ( - - + + {t("automate.creation.icon.label", "Icon")} diff --git a/frontend/src/theme/mantineTheme.ts b/frontend/src/theme/mantineTheme.ts index 561e456f7..74a9627b3 100644 --- a/frontend/src/theme/mantineTheme.ts +++ b/frontend/src/theme/mantineTheme.ts @@ -109,7 +109,26 @@ export const mantineTheme = createTheme({ }, TextInput: { - styles: { + styles: (theme: any) => ({ + input: { + backgroundColor: 'var(--bg-surface)', + borderColor: 'var(--border-default)', + color: 'var(--text-primary)', + outline: 'white', + '&:focus': { + borderColor: 'var(--color-primary-500)', + boxShadow: '0 0 0 1px var(--color-primary-500)', + }, + }, + label: { + color: 'var(--text-secondary)', + fontWeight: 'var(--font-weight-medium)', + }, + }), + }, + + PasswordInput: { + styles: (theme: any) => ({ input: { backgroundColor: 'var(--bg-surface)', borderColor: 'var(--border-default)', @@ -123,7 +142,7 @@ export const mantineTheme = createTheme({ color: 'var(--text-secondary)', fontWeight: 'var(--font-weight-medium)', }, - }, + }), }, Select: {