Skip to content
Snippets Groups Projects
Commit 8786bd56 authored by Sina Rohde's avatar Sina Rohde
Browse files

added dark mode and typography

parent 433163d3
No related branches found
No related tags found
2 merge requests!7Revert "MAINT: Ignore venv and package-lock.json",!5F fdo details
......@@ -25,6 +25,7 @@ import VerifiedIcon from '@mui/icons-material/Verified'
import ReportIcon from '@mui/icons-material/Report'
import { styled, ThemeProvider } from '@mui/material/styles'
import Details from '../../../../src/components/fdos/details'
import { Padding } from '@mui/icons-material'
const resolvePid = (pid: string) => `https://hdl.handle.net/${pid}`
......@@ -74,19 +75,6 @@ const ShowFDO = () => {
// divider={<Divider orientation="vertical" flexItem />}
spacing={2}
>
<ThemeProvider
theme={{
palette: {
primary: {
main: '#ffffff',
dark: '#ffffff'
}
}
}}
>
</ThemeProvider>
<Item>
<MenuList>
<MenuItem>
......
......@@ -16,17 +16,19 @@ const StyledTableCell = styled(TableCell)(({ theme }) => ({
},
[`&.${tableCellClasses.body}`]: {
fontSize: 16,
backgroundColor: theme.palette.common.white
backgroundColor: theme.palette.common.white,
...theme.applyStyles('dark', {
backgroundColor: '#262c32'
})
}
}))
const StyledTableRow = styled(TableRow)(({ theme }) => ({
'&:nth-of-type(odd)': {
backgroundColor: theme.palette.action.hover },
'&:nth-of-type(odd)': { backgroundColor: theme.palette.action.hover },
// hide last border
'&:last-child td, &:last-child th': {
border: 0
border: 0
}
}))
......
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