diff --git a/hyperglass/models/config/web.py b/hyperglass/models/config/web.py index dd0ea4a..6bc1310 100644 --- a/hyperglass/models/config/web.py +++ b/hyperglass/models/config/web.py @@ -156,7 +156,7 @@ class ThemeColors(HyperglassModel): black: Color = "#000000" white: Color = "#ffffff" - dark: Color = "#121212" + dark: Color = "#010101" light: Color = "#f5f6f7" gray: Color = "#c1c7cc" red: Color = "#d84b4b" diff --git a/hyperglass/ui/components/header/header.tsx b/hyperglass/ui/components/header/header.tsx index 70ea337..07aba3b 100644 --- a/hyperglass/ui/components/header/header.tsx +++ b/hyperglass/ui/components/header/header.tsx @@ -1,7 +1,7 @@ import { useRef } from 'react'; import { Flex, ScaleFade } from '@chakra-ui/react'; import { AnimatedDiv } from '~/components'; -import { useColorValue, useBreakpointValue } from '~/context'; +import { useBreakpointValue } from '~/context'; import { useBooleanValue, useLGState } from '~/hooks'; import { Title } from './title'; @@ -10,8 +10,6 @@ import type { THeader } from './types'; export const Header: React.FC = (props: THeader) => { const { resetForm, ...rest } = props; - const bg = useColorValue('white', 'black'); - const { isSubmitting } = useLGState(); const titleRef = useRef({} as HTMLDivElement); @@ -25,18 +23,7 @@ export const Header: React.FC = (props: THeader) => { const justify = useBreakpointValue({ base: 'flex-start', lg: 'center' }); return ( - + = (props: TFrame) => { const { isSubmitting } = useLGState(); const { resetForm } = useLGMethods(); - const bg = useColorValue('white', 'black'); - const color = useColorValue('black', 'white'); - const containerRef = useRef({} as HTMLDivElement); function handleReset(): void { @@ -27,9 +24,7 @@ export const Frame: React.FC = (props: TFrame) => { return ( <>