mirror of
https://github.com/remvze/moodist.git
synced 2025-12-17 00:44:14 +00:00
style: add title to timer
This commit is contained in:
parent
96ca376885
commit
a3c384d105
3 changed files with 12 additions and 3 deletions
|
|
@ -1 +1,6 @@
|
|||
/* WIP */
|
||||
.title {
|
||||
margin-bottom: 16px;
|
||||
font-family: var(--font-heading);
|
||||
font-size: var(--font-md);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue