Skip to content

Commit

Permalink
Merge pull request #1404 from hackforla/1401-fe-update-color-of-repor…
Browse files Browse the repository at this point in the history
…ts-dropdown

1401 fe update color of reports dropdown
  • Loading branch information
jekijo authored Oct 17, 2022
2 parents 19178af + bc97f49 commit c389c20
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions client/components/Header.jsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import React from 'react';
import { NavLink, Link } from 'react-router-dom';
import { makeStyles } from '@material-ui/core/styles';
import {
AppBar,
Button,
Toolbar,
Typography,
Menu,
MenuItem,
} from '@material-ui/core';
import AppBar from '@material-ui/core/AppBar';
import Button from '@material-ui/core/Button';
import Toolbar from '@material-ui/core/Toolbar';
import Typography from '@material-ui/core/Typography';
import Menu from '@material-ui/core/Menu';
import MenuItem from '@material-ui/core/MenuItem';

import fonts from '@theme/fonts';
import colors from '@theme/colors';

// Header should make use of style overrides to look the same regardless of light/dark theme.
const useStyles = makeStyles(theme => ({
Expand Down Expand Up @@ -37,10 +37,13 @@ const useStyles = makeStyles(theme => ({
fontWeight: theme.typography.fontWeightBold,
flexGrow: 1,
},
menuPaper: {
backgroundColor: colors.textPrimaryDark,
},
}));

const activeStyle = {
borderBottom: '1px solid yellow',
borderBottom: `1px solid ${colors.primaryFocus}`,
};

// TODO: links/routing, mobile
Expand Down Expand Up @@ -83,6 +86,7 @@ const Header = () => {
vertical: 'bottom',
horizontal: 'left',
}}
classes={{ paper: classes.menuPaper }}
>
<Link to="/reports/overview-combined">
<MenuItem onClick={handleClose}>
Expand Down

0 comments on commit c389c20

Please sign in to comment.