added signin button color experiment. closes #1306 (#1320)

This commit is contained in:
Danny Coates 2019-05-03 10:10:56 -07:00 committed by Donovan Preston
parent b82177dc44
commit 23ecb632eb
9 changed files with 157 additions and 82 deletions

View file

@ -8,6 +8,7 @@ class Account extends Component {
this.emit = emit;
this.enabled = state.capabilities.account;
this.local = state.components[name] = {};
this.buttonClass = '';
this.setState();
}
@ -62,7 +63,8 @@ class Account extends Component {
return html`
<send-account>
<button
class="p-2 md:p-4 border rounded-lg text-blue-dark border-blue-dark hover:text-white hover:bg-blue-dark focus:outline"
class="px-4 py-2 md:px-8 md:py-4 focus:outline signin ${this
.buttonClass}"
onclick="${e => this.login(e)}"
title="${translate('signInOnlyButton')}"
>