diff --git a/src/components/App/SideBar/FilterSearch/MaxResults/index.tsx b/src/components/App/SideBar/FilterSearch/MaxResults/index.tsx index 01a4c1adc..f4ba7981c 100644 --- a/src/components/App/SideBar/FilterSearch/MaxResults/index.tsx +++ b/src/components/App/SideBar/FilterSearch/MaxResults/index.tsx @@ -1,5 +1,7 @@ import { Slider } from '@mui/material' import { HeadingWrapper, PopoverBody, SourceNodesStepWrapper, SubHeading, VolumeControl } from '../index' +import styled from 'styled-components' +import { colors } from '~/utils' type MaxResultsProps = { maxResults: number @@ -21,22 +23,29 @@ export const MaxResults = ({ maxResults, setMaxResults }: MaxResultsProps) => { - 1 - {maxResults} + 0 + 300 - ) } + +const CustomSlider = styled(Slider)({ + '& .MuiSlider-valueLabel': { + backgroundColor: `${colors.primaryBlue}`, + }, +}) diff --git a/src/components/App/SideBar/FilterSearch/SourceNodes/index.tsx b/src/components/App/SideBar/FilterSearch/SourceNodes/index.tsx index 4dd06b6a4..c4f8d5bb1 100644 --- a/src/components/App/SideBar/FilterSearch/SourceNodes/index.tsx +++ b/src/components/App/SideBar/FilterSearch/SourceNodes/index.tsx @@ -1,4 +1,6 @@ import { Slider } from '@mui/material' +import styled from 'styled-components' +import { colors } from '~/utils/colors' import { HeadingWrapper, PopoverBody, SourceNodesStepWrapper, SubHeading, VolumeControl } from '../index' type SourceNodesProps = { @@ -21,22 +23,29 @@ export const SourceNodes = ({ sourceNodes, setSourceNodes }: SourceNodesProps) = - 1 - {sourceNodes} + 0 + 100 - ) } + +const CustomSlider = styled(Slider)({ + '& .MuiSlider-valueLabel': { + backgroundColor: `${colors.primaryBlue}`, + }, +})