fix(core): update

This commit is contained in:
2020-12-09 14:06:24 +00:00
parent 2f9711a094
commit 3a2f3500fd
3 changed files with 75 additions and 75 deletions

View File

@@ -1,9 +1,11 @@
import { customElement, html, LitElement, property, TemplateResult } from 'lit-element';
import { customElement, html, DeesElement, property, TemplateResult } from '@designestate/dees-element';
import * as domtools from '@designestate/dees-domtools';
@customElement('dees-button')
export class DeesButton extends LitElement {
export class DeesButton extends DeesElement {
public static demo = () => html`<dees-button></dees-button>`
@property()
text: string;
@@ -13,9 +15,6 @@ export class DeesButton extends LitElement {
@property()
disabled = false;
@property()
isQuote = false;
@property()
isHidden = false;
@@ -43,15 +42,14 @@ export class DeesButton extends LitElement {
font-size: 14px;
display: block;
text-align: center;
background: #333;
background: ${this.goBright ? '#eee' : '#333'};
border-top: 1px solid #444;
border-radius: 2px;
line-height: 40px;
padding: 0px 10px;
min-width: 100px;
color: ${this.isQuote ? '#ffffff' : '#333333' };
user-select: none;
color: #ccc;
color: ${this.goBright ? '#333' : ' #ccc'};
}
.button:hover {