Add letter spacing
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Kasper Juul Hermansen 2022-04-25 22:59:07 +02:00
parent 6928ca2a88
commit e68370f319
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23
3 changed files with 20 additions and 5 deletions

View File

@ -19,7 +19,7 @@ const CreateWish: FC<CreateWishProps> = (props) => {
type="text" type="text"
name="wishName" name="wishName"
placeholder="Your wish!" placeholder="Your wish!"
className="w-full appearance-none bg-pink-100 p-6 text-center text-lg outline-none" className="w-full appearance-none bg-pink-100 p-6 text-center text-xl outline-none font-medium"
onChange={(e) => onChange={(e) =>
props.onSubmit({ ...props.wish, name: e.target.value }) props.onSubmit({ ...props.wish, name: e.target.value })
} }

View File

@ -1,3 +1,7 @@
@tailwind base; @tailwind base;
@tailwind components; @tailwind components;
@tailwind utilities; @tailwind utilities;
* {
@apply tracking-normal;
}

View File

@ -4,10 +4,21 @@ module.exports = {
'./components/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}',
], ],
theme: { theme: {
extend: { extend: {},
fontFamily: {
sans: ['"Dancing Script"', 'cursive'], fontFamily: {
}, sans: ['"Dancing Script"', 'cursive'],
},
letterSpacing: {
tightest: '-.075em',
tighter: '-.05em',
tight: '-.025em',
normal: '0.03em',
wide: '.045em',
wider: '.07em',
widest: '.1em',
widest: '.25em',
}, },
}, },
plugins: [], plugins: [],