Skip to content

The open alternative to Salesforce, designed for AI.

Added Proper theme color for Favorite Input box (#11434)

Vaibhav Devereab63214efaa2
diff --git a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerInput.tsx b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerInput.tsx
index 3847a214dfc..70da180cbe7 100644
--- a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerInput.tsx
+++ b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerInput.tsx
@@ -1,12 +1,11 @@
import { TextInputV2 } from '@/ui/input/components/TextInputV2';
import { useScopedHotkeys } from '@/ui/utilities/hotkey/hooks/useScopedHotkeys';
import { useListenClickOutside } from '@/ui/utilities/pointer-event/hooks/useListenClickOutside';
-import styled from '@emotion/styled';
import { FocusEvent, useRef } from 'react';
import { Key } from 'ts-key-enum';
-import { useHotkeyScopeOnMount } from '~/hooks/useHotkeyScopeOnMount';
import { isDefined } from 'twenty-shared/utils';
import { IconComponent, TablerIconsProps } from 'twenty-ui/display';
+import { useHotkeyScopeOnMount } from '~/hooks/useHotkeyScopeOnMount';
type NavigationDrawerInputProps = {
className?: string;
@@ -20,10 +19,6 @@ type NavigationDrawerInputProps = {
hotkeyScope: string;
};
-const StyledInput = styled(TextInputV2)`
- background-color: white;
-`;
-
export const NavigationDrawerInput = ({
className,
placeholder,
@@ -71,7 +66,7 @@ export const NavigationDrawerInput = ({
};
return (
- <StyledInput
+ <TextInputV2
className={className}
LeftIcon={Icon}
ref={inputRef}