Files
pingvin-share/frontend/src/styles/global.style.tsx
2024-02-05 16:11:49 +01:00

27 lines
619 B
TypeScript

import { Global } from "@mantine/core";
const GlobalStyle = () => {
return (
<Global
styles={(theme) => ({
a: {
color: "inherit",
textDecoration: "none",
},
"table.md, table.md th:nth-of-type(odd), table.md td:nth-of-type(odd)":
{
background:
theme.colorScheme == "dark"
? "rgba(50, 50, 50, 0.5)"
: "rgba(220, 220, 220, 0.5)",
},
"table.md td": {
paddingLeft: "0.5em",
paddingRight: "0.5em",
},
})}
/>
);
};
export default GlobalStyle;