mirror of
https://github.com/wassname/template.git
synced 2026-06-28 22:38:35 +08:00
21 lines
341 B
JavaScript
21 lines
341 B
JavaScript
import { Template } from '../mixins/template';
|
|
import { body } from '../helpers/layout';
|
|
|
|
const T = Template('d-abstract', `
|
|
<style>
|
|
:host {
|
|
display: block;
|
|
font-size: 23px;
|
|
line-height: 1.7em;
|
|
margin-bottom: 140px;
|
|
}
|
|
${body('d-abstract')}
|
|
</style>
|
|
|
|
<slot></slot>
|
|
`);
|
|
|
|
export class Abstract extends T(HTMLElement) {
|
|
|
|
}
|