refactored styles to extract btn

This commit is contained in:
Danny Coates 2019-01-16 12:38:43 -08:00
parent ae256141da
commit 57422d6406
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
7 changed files with 110 additions and 135 deletions

View file

@ -18,10 +18,7 @@ module.exports = function(name, url) {
value="${url}"
readonly="true"
/>
<button
class="rounded bg-blue hover\:bg-blue-dark focus\:bg-blue-darker cursor-pointer text-center text-white py-2 px-6 h-12 w-full flex flex-no-shrink items-center justify-center font-semibold"
onclick="${copy}"
>
<button class="btn rounded w-full flex-no-shrink" onclick="${copy}">
${state.translate('copyUrlFormButton')}
</button>
<a