Skip to content
Snippets Groups Projects
Commit e1334fb0 authored by esikkala's avatar esikkala
Browse files

TopBarSearchField: fade -> alpha

parent 821bd942
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ import React from 'react' ...@@ -2,7 +2,7 @@ import React from 'react'
import PropTypes from 'prop-types' import PropTypes from 'prop-types'
import intl from 'react-intl-universal' import intl from 'react-intl-universal'
import { withStyles } from '@material-ui/core/styles' import { withStyles } from '@material-ui/core/styles'
import { fade } from '@material-ui/core/styles/colorManipulator' import { alpha } from '@material-ui/core/styles/colorManipulator'
import SearchIcon from '@material-ui/icons/Search' import SearchIcon from '@material-ui/icons/Search'
import InputBase from '@material-ui/core/InputBase' import InputBase from '@material-ui/core/InputBase'
// import CircularProgress from '@material-ui/core/CircularProgress'; // import CircularProgress from '@material-ui/core/CircularProgress';
...@@ -12,9 +12,9 @@ const styles = theme => ({ ...@@ -12,9 +12,9 @@ const styles = theme => ({
search: { search: {
position: 'relative', position: 'relative',
borderRadius: theme.shape.borderRadius, borderRadius: theme.shape.borderRadius,
backgroundColor: fade(theme.palette.common.white, 0.15), backgroundColor: alpha(theme.palette.common.white, 0.15),
'&:hover': { '&:hover': {
backgroundColor: fade(theme.palette.common.white, 0.25) backgroundColor: alpha(theme.palette.common.white, 0.25)
}, },
// marginRight: theme.spacing(3), // marginRight: theme.spacing(3),
// marginLeft: theme.spacing(2.5), // marginLeft: theme.spacing(2.5),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment