Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 1368 | Rev 1370 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1368 Rev 1369
Línea 12... Línea 12...
12
import useFetch from '../../hooks/useFetch'
12
import useFetch from '../../hooks/useFetch'
Línea 13... Línea 13...
13
 
13
 
Línea 14... Línea 14...
14
import styles from './PoliciesLayout.module.scss'
14
import styles from './PoliciesLayout.module.scss'
15
 
15
 
16
const StyledBreadcrumb = styled(Chip)(({ theme }) => {
-
 
17
  const backgroundColor =
-
 
18
    theme.palette.mode === 'light'
-
 
Línea 19... Línea 16...
19
      ? theme.palette.grey[100]
16
const StyledBreadcrumb = styled(Chip)(({ theme }) => {
20
      : theme.palette.grey[800]
17
  const backgroundColor = theme.palette.text.primary
21
 
18
 
22
  return {
19
  return {
23
    backgroundColor,
20
    backgroundColor,
24
    height: theme.spacing(3),
21
    height: theme.spacing(3),
25
    color: theme.palette.text.primary,
22
    color: theme.palette.background.default,
26
    fontWeight: theme.typography.fontWeightRegular,
23
    fontWeight: theme.typography.fontWeightRegular,
27
    '&:hover, &:focus': {
24
    '&:hover, &:focus': {
28
      backgroundColor: emphasize(backgroundColor, 0.06)
25
      backgroundColor: emphasize(backgroundColor, 0.06)
29
    },
-
 
30
    '&:active': {
-
 
31
      display: 'none',
26
    },
32
      boxShadow: theme.shadows[1],
27
    '&:active': {
33
      backgroundColor: emphasize(backgroundColor, 0.12)
28
      display: 'none'
Línea 34... Línea 29...
34
    }
29
    }