Add and use postcss-import, move button component

This commit is contained in:
Oliver Davies 2019-06-11 21:21:44 +01:00
parent 2b86365e0c
commit 1f10536d46
7 changed files with 64 additions and 34 deletions

View file

@ -0,0 +1,18 @@
.btn {
@apply text-sm font-thin antialiased text-white px-4 py-3 no-underline rounded mx-1 bg-blue-300;
&:hover,
&:focus {
@apply bg-blue-400
}
}
.btn.is-secondary {
@apply bg-gray-500;
&:hover,
&:focus {
@apply bg-gray-600
}
}