diff --git a/packages/bruno-app/src/components/Dropdown/StyledWrapper.js b/packages/bruno-app/src/components/Dropdown/StyledWrapper.js index ee857ac61..05de1d1c2 100644 --- a/packages/bruno-app/src/components/Dropdown/StyledWrapper.js +++ b/packages/bruno-app/src/components/Dropdown/StyledWrapper.js @@ -33,6 +33,10 @@ const Wrapper = styled.div` padding: 0.35rem 0.6rem; cursor: pointer; + .icon { + color: ${(props) => props.theme.dropdown.iconColor}; + } + &:hover { background-color: ${(props) => props.theme.dropdown.hoverBg}; } diff --git a/packages/bruno-app/src/components/Environments/EnvironmentSelector/StyledWrapper.js b/packages/bruno-app/src/components/Environments/EnvironmentSelector/StyledWrapper.js index a0f5681f5..4db3ada01 100644 --- a/packages/bruno-app/src/components/Environments/EnvironmentSelector/StyledWrapper.js +++ b/packages/bruno-app/src/components/Environments/EnvironmentSelector/StyledWrapper.js @@ -2,7 +2,7 @@ import styled from 'styled-components'; const Wrapper = styled.div` .current-enviroment { - background: #efefef; + background-color: ${(props) => props.theme.sidebar.workspace.bg}; border-radius: 15px; .caret { diff --git a/packages/bruno-app/src/components/Icons/Send/index.js b/packages/bruno-app/src/components/Icons/Send/index.js new file mode 100644 index 000000000..15b4fa8c9 --- /dev/null +++ b/packages/bruno-app/src/components/Icons/Send/index.js @@ -0,0 +1,17 @@ +import React from 'react'; + +const SendIcon = ({color, width}) => { + return ( + + ); +} + +export default SendIcon; diff --git a/packages/bruno-app/src/components/RequestPane/QueryParams/StyledWrapper.js b/packages/bruno-app/src/components/RequestPane/QueryParams/StyledWrapper.js index b0f26f0b3..ba312fc77 100644 --- a/packages/bruno-app/src/components/RequestPane/QueryParams/StyledWrapper.js +++ b/packages/bruno-app/src/components/RequestPane/QueryParams/StyledWrapper.js @@ -32,6 +32,7 @@ const Wrapper = styled.div` width: 100%; border: solid 1px transparent; outline: none !important; + background-color: inherit; &:focus { outline: none !important; diff --git a/packages/bruno-app/src/components/RequestPane/QueryUrl/StyledWrapper.js b/packages/bruno-app/src/components/RequestPane/QueryUrl/StyledWrapper.js index a5abce2b7..7ec35f33e 100644 --- a/packages/bruno-app/src/components/RequestPane/QueryUrl/StyledWrapper.js +++ b/packages/bruno-app/src/components/RequestPane/QueryUrl/StyledWrapper.js @@ -4,18 +4,18 @@ const Wrapper = styled.div` height: 2.3rem; div.method-selector-container { - background-color: var(--color-sidebar-background); + background-color: ${(props) => props.theme.requestTabPanel.url.bg}; border-top-left-radius: 3px; border-bottom-left-radius: 3px; } div.input-container { - background-color: var(--color-sidebar-background); + background-color: ${(props) => props.theme.requestTabPanel.url.bg}; border-top-right-radius: 3px; border-bottom-right-radius: 3px; input { - background-color: var(--color-sidebar-background); + background-color: ${(props) => props.theme.requestTabPanel.url.bg}; outline: none; box-shadow: none; diff --git a/packages/bruno-app/src/components/RequestPane/QueryUrl/index.js b/packages/bruno-app/src/components/RequestPane/QueryUrl/index.js index 8487417ad..3fe81acd7 100644 --- a/packages/bruno-app/src/components/RequestPane/QueryUrl/index.js +++ b/packages/bruno-app/src/components/RequestPane/QueryUrl/index.js @@ -3,10 +3,12 @@ import get from 'lodash/get'; import { useDispatch } from 'react-redux'; import { requestUrlChanged, updateRequestMethod } from 'providers/ReduxStore/slices/collections'; import HttpMethodSelector from './HttpMethodSelector'; +import { useTheme } from 'providers/Theme'; +import SendIcon from 'components/Icons/Send'; import StyledWrapper from './StyledWrapper'; -import SendSvg from 'assets/send.svg'; const QueryUrl = ({ item, collection, handleRun }) => { + const { theme } = useTheme(); const dispatch = useDispatch(); const method = item.draft ? get(item, 'draft.request.method') : get(item, 'request.method'); let url = item.draft ? get(item, 'draft.request.url') : get(item, 'request.url'); @@ -48,7 +50,7 @@ const QueryUrl = ({ item, collection, handleRun }) => { onChange={(event) => onUrlChange(event.target.value)} />