style: add title to timer

This commit is contained in:
MAZE 2024-06-16 18:49:15 +03:30
parent 96ca376885
commit a3c384d105
3 changed files with 12 additions and 3 deletions

View file

@ -1 +1,6 @@
/* WIP */
.title {
margin-bottom: 16px;
font-family: var(--font-heading);
font-size: var(--font-md);
font-weight: 600;
}

View file

@ -3,6 +3,8 @@ import { Modal } from '@/components/modal';
import { Form } from './form';
import { Timers } from './timers';
import styles from './countdown-timer.module.css';
interface TimerProps {
onClose: () => void;
show: boolean;
@ -11,6 +13,7 @@ interface TimerProps {
export function CountdownTimer({ onClose, show }: TimerProps) {
return (
<Modal show={show} onClose={onClose}>
<h2 className={styles.title}>Countdown Timer</h2>
<Form />
<Timers />
</Modal>

View file

@ -8,8 +8,9 @@
margin-bottom: 16px;
& .title {
font-family: var(--font-display);
font-size: var(--font-lg);
font-family: var(--font-heading);
font-size: var(--font-md);
font-weight: 600;
line-height: 1;
}