|
|
@ -3,7 +3,12 @@ import { Switch, Box } from '@material-ui/core'; |
|
|
|
import { ClassNameMap } from '@material-ui/styles'; |
|
|
|
import { ClassNameMap } from '@material-ui/styles'; |
|
|
|
import { makeStyles } from '@material-ui/core/styles'; |
|
|
|
import { makeStyles } from '@material-ui/core/styles'; |
|
|
|
import { HeaderText } from '../Text'; |
|
|
|
import { HeaderText } from '../Text'; |
|
|
|
import { BLUE, PURPLE_OFF, RED_ON } from '../../lib/consts/DEFAULT_THEME'; |
|
|
|
import { |
|
|
|
|
|
|
|
BLUE, |
|
|
|
|
|
|
|
PURPLE_OFF, |
|
|
|
|
|
|
|
RED_ON, |
|
|
|
|
|
|
|
SELECTED_ANVIL, |
|
|
|
|
|
|
|
} from '../../lib/consts/DEFAULT_THEME'; |
|
|
|
import anvilState from '../../lib/consts/ANVILS'; |
|
|
|
import anvilState from '../../lib/consts/ANVILS'; |
|
|
|
import { AnvilContext } from '../AnvilContext'; |
|
|
|
import { AnvilContext } from '../AnvilContext'; |
|
|
|
|
|
|
|
|
|
|
@ -11,7 +16,7 @@ const useStyles = makeStyles(() => ({ |
|
|
|
root: { |
|
|
|
root: { |
|
|
|
width: '100%', |
|
|
|
width: '100%', |
|
|
|
'&:hover $child': { |
|
|
|
'&:hover $child': { |
|
|
|
backgroundColor: '#00ff00', |
|
|
|
backgroundColor: SELECTED_ANVIL, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
anvilName: { |
|
|
|
anvilName: { |
|
|
|