fix(core): update
This commit is contained in:
33
ts_web/elements/shared/cloudly-sectionheading.ts
Normal file
33
ts_web/elements/shared/cloudly-sectionheading.ts
Normal file
@ -0,0 +1,33 @@
|
||||
import * as plugins from '../../plugins.js';
|
||||
|
||||
import {
|
||||
customElement,
|
||||
html,
|
||||
DeesElement,
|
||||
property,
|
||||
type TemplateResult,
|
||||
cssManager,
|
||||
css,
|
||||
unsafeCSS,
|
||||
type CSSResult,
|
||||
state,
|
||||
} from '@design.estate/dees-element';
|
||||
|
||||
@customElement('cloudly-sectionheading')
|
||||
export class CloudlySectionheading extends DeesElement {
|
||||
public static styles = [
|
||||
cssManager.defaultStyles,
|
||||
css`
|
||||
h1 {
|
||||
font-family: 'Cal Sans';
|
||||
letter-spacing: 0.025em;
|
||||
}
|
||||
`,
|
||||
]
|
||||
|
||||
public render() {
|
||||
return html`
|
||||
<h1><slot></slot></h1>
|
||||
`;
|
||||
}
|
||||
}
|
1
ts_web/elements/shared/index.ts
Normal file
1
ts_web/elements/shared/index.ts
Normal file
@ -0,0 +1 @@
|
||||
export * from './cloudly-sectionheading.js';
|
Reference in New Issue
Block a user