13.04 components + maps

This commit is contained in:
2024-04-13 19:26:25 +03:00
parent f2df14caa3
commit d79676cbb4
15 changed files with 362 additions and 69 deletions

View File

@@ -0,0 +1,19 @@
import styled from "@emotion/styled"
import { css } from '@emotion/react'
export const StyledLink = styled.a`
font-weight: 400;
text-decoration: underline;
text-decoration-skip-ink: none;
color: ${(props: any) => props.contrast ? 'var(--text-contrast)' : 'var(--dark-link)'};
${props => {
if (props.contrast) {
return css`
&:hover {
color: var(--dark-link);
}
`
}
}}
`;