Styling of home

This commit is contained in:
Sebastian Seedorf
2022-08-22 17:04:39 +02:00
parent 537a18fb88
commit d964748a66
55 changed files with 1791 additions and 341 deletions

View File

@@ -0,0 +1,8 @@
.root {
padding: 1em 0.5em;
border: 1px solid var(--color-text, var(--md-sys-color-on-background));
margin: 0 0 1em;
background-color: var(--color-bg, var(--md-sys-color-background));
border-radius: 4px;
font-size: var(--md-sys-typescale-body-small-font-size);
}

View File

@@ -0,0 +1,9 @@
import { FC, InputHTMLAttributes } from 'react'
import styles from './Input.module.css'
import cx from 'classnames'
type Props = InputHTMLAttributes<HTMLInputElement>
export const Input: FC<Props> = ({ className, ...rest }) => {
return <input className={cx(className, styles.root)} {...rest} />
}