fix(core): update

This commit is contained in:
2020-11-29 02:11:28 +00:00
parent dd8c40568e
commit 6d81526bd1
3 changed files with 487 additions and 46 deletions

View File

@ -1,8 +1,8 @@
import { LitElement, property, html, customElement, TemplateResult } from 'lit-element';
import { DeesElement, property, html, customElement, TemplateResult } from '@designestate/dees-element';
import * as domtools from '@designestate/dees-domtools';
@customElement('uptimelink-webwidget')
export class UptimelinkWebwidget extends LitElement {
export class UptimelinkWebwidget extends DeesElement {
public static demo = () => html`
<uptimelink-webwidget projectSlug="uptime.link"></uptimelink-webwidget>
`;
@ -34,9 +34,10 @@ export class UptimelinkWebwidget extends LitElement {
width: 150px;
border-radius: 20px;
height: 30px;
background: #222;
background: ${this.goBright ? '#fff' : '#222' };
box-shadow: ${this.goBright ? '0px 0px 5px rgba(0,0,0,0.1)' : ''};
padding: 5px;
color: #CCC;
color: ${this.goBright ? '#333' : '#CCC' };
cursor: pointer;
}
.statusindicator {