From 2d76c444f6873460a25db77175c8da84392ce53e Mon Sep 17 00:00:00 2001 From: Chirag Chandrashekhar Date: Fri, 2 Jan 2026 22:16:52 +0530 Subject: [PATCH] feat: integrate theme support in ImportCollection component (#6639) * feat: integrate theme support in ImportCollection component for improved styling consistency * chore: remove debug console log from ImportCollection component * refactor: update theme import in ImportCollection component for improved consistency --- .../src/components/Sidebar/ImportCollection/index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/bruno-app/src/components/Sidebar/ImportCollection/index.js b/packages/bruno-app/src/components/Sidebar/ImportCollection/index.js index c98131bfb..9ad1d139f 100644 --- a/packages/bruno-app/src/components/Sidebar/ImportCollection/index.js +++ b/packages/bruno-app/src/components/Sidebar/ImportCollection/index.js @@ -10,6 +10,7 @@ import { isWSDLCollection } from 'utils/importers/wsdl-collection'; import { isBrunoCollection } from 'utils/importers/bruno-collection'; import { isOpenCollection } from 'utils/importers/opencollection'; import FullscreenLoader from './FullscreenLoader/index'; +import { useTheme } from 'providers/Theme'; const convertFileToObject = async (file) => { const text = await file.text(); @@ -35,6 +36,7 @@ const convertFileToObject = async (file) => { }; const ImportCollection = ({ onClose, handleSubmit }) => { + const { theme } = useTheme(); const [isLoading, setIsLoading] = useState(false); const [dragActive, setDragActive] = useState(false); const fileInputRef = useRef(null); @@ -155,8 +157,9 @@ const ImportCollection = ({ onClose, handleSubmit }) => {

Drop file to import or{' '}