statuspage/ts_web/elements/internal/uplinternal-miniheading.ts

27 lines
679 B
TypeScript
Raw Normal View History

import { customElement, DeesElement, html, type TemplateResult } from '@design.estate/dees-element';
2021-09-23 12:30:02 +00:00
import * as domtools from '@design.estate/dees-domtools';
2021-09-23 12:30:02 +00:00
@customElement('uplinternal-miniheading')
export class UplinternalMiniheading extends DeesElement {
public render(): TemplateResult {
return html`
${domtools.elementBasic.styles}
<style>
:host {
display: block;
2023-01-05 12:37:28 +00:00
font-family: Inter;
2021-09-23 12:30:02 +00:00
}
h5 {
display: block;
max-width: 900px;
margin: 0px auto;
padding: 0px 0px 10px 0px;
color: #707070;
}
</style>
<h5>${this.textContent}</h5>
`;
}
}