Skip to content

Commit

Permalink
colour updates to match design
Browse files Browse the repository at this point in the history
  • Loading branch information
brettedw committed Sep 3, 2024
1 parent 6d2243d commit 2132252
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions web/src/app/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ export const DARK_GREY = '#A7A7A7'
export const LIGHT_GREY = '#DADADA'
export const MEDIUM_GREY = '#B5B5B5'

export const INFO_PANEL_HEADER_BACKGROUND = '#e4e4e5'
export const INFO_PANEL_CONTENT_BACKGROUND = '#f0f0f0'
export const INFO_PANEL_HEADER_BACKGROUND = '#BFBFBF'
export const INFO_PANEL_CONTENT_BACKGROUND = '#EEEEEE'
export const TRANSPARENT_COLOUR = '#0000'

interface WeatherParams {
Expand Down
4 changes: 2 additions & 2 deletions web/src/features/fba/components/AboutDataPopover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as React from 'react'
import Popover from '@mui/material/Popover'
import Typography from '@mui/material/Typography'
import InfoIcon from '@mui/icons-material/Info'
import { theme } from 'app/theme'
import { INFO_PANEL_CONTENT_BACKGROUND, theme } from 'app/theme'

interface AboutDataProps {
advisoryThreshold: number
Expand Down Expand Up @@ -42,7 +42,7 @@ const AboutDataPopover = ({ advisoryThreshold }: AboutDataProps) => {
}}
onClose={handlePopoverClose}
disableRestoreFocus
slotProps={{ paper: { sx: { maxWidth: 350, backgroundColor: '#EEEEEE' } } }}
slotProps={{ paper: { sx: { maxWidth: 350, backgroundColor: INFO_PANEL_CONTENT_BACKGROUND } } }}
>
<Typography
sx={{
Expand Down

0 comments on commit 2132252

Please sign in to comment.