Files
catalog/ts_web/elements/internal/uplinternal-miniheading.ts

34 lines
953 B
TypeScript
Raw Normal View History

2025-06-29 19:55:58 +00:00
import { customElement, DeesElement, html, type TemplateResult, css, cssManager, unsafeCSS } from '@design.estate/dees-element';
import * as domtools from '@design.estate/dees-domtools';
2025-06-29 19:55:58 +00:00
import { fonts, colors, spacing } from '../../styles/shared.styles.js';
2021-09-23 14:30:02 +02:00
@customElement('uplinternal-miniheading')
export class UplinternalMiniheading extends DeesElement {
2025-06-29 19:55:58 +00:00
public static styles = [
domtools.elementBasic.staticStyles,
css`
:host {
display: block;
font-family: ${unsafeCSS(fonts.base)};
}
h5 {
display: block;
max-width: 1200px;
margin: 0px auto;
padding: 0px 0px ${unsafeCSS(spacing.md)} 0px;
color: ${colors.text.secondary};
font-size: 14px;
font-weight: 600;
letter-spacing: 0.025em;
text-transform: uppercase;
}
`
];
2021-09-23 14:30:02 +02:00
public render(): TemplateResult {
return html`
<h5>${this.textContent}</h5>
`;
}
}