react-garden
Version:
React + TypeScript + ThreeJS app using Material UI on NextJS, Apollo Client, GraphQL + WordPress REST APIs, for ThreeD web development.. a part of the threed.ai code family.
27 lines (23 loc) • 641 B
text/typescript
// ThreeD Garden Base Styles
import colors from "~/themes/theme-light/base/colors"
const { info, dark } = colors
const globals = {
html: {
scrollBehavior: "smooth",
},
"*, *::before, *::after": {
margin: 0,
padding: 0,
},
"a, a:link, a:visited": {
textDecoration: "none !important",
},
"a.link, .link, a.link:link, .link:link, a.link:visited, .link:visited": {
color: `${dark.main} !important`,
transition: "color 150ms ease-in !important",
},
"a.link:hover, .link:hover, a.link:focus, .link:focus": {
color: `${info.main} !important`,
},
}
export default globals