2025-06-29 19:55:58 +00:00
|
|
|
import { customElement, DeesElement, html, type TemplateResult, css, cssManager, unsafeCSS } from '@design.estate/dees-element';
|
2024-06-26 20:28:09 +02:00
|
|
|
import * as domtools from '@design.estate/dees-domtools';
|
2025-12-23 09:26:37 +00:00
|
|
|
import * as sharedStyles 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;
|
2025-12-23 09:26:37 +00:00
|
|
|
font-family: ${unsafeCSS(sharedStyles.fonts.base)};
|
2025-06-29 19:55:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
h5 {
|
|
|
|
|
display: block;
|
|
|
|
|
max-width: 1200px;
|
|
|
|
|
margin: 0px auto;
|
2025-12-23 09:26:37 +00:00
|
|
|
padding: 0px 0px ${unsafeCSS(sharedStyles.spacing.sm)} 0px;
|
|
|
|
|
color: ${sharedStyles.colors.text.secondary};
|
|
|
|
|
font-size: 12px;
|
2025-06-29 19:55:58 +00:00
|
|
|
font-weight: 600;
|
2025-12-23 09:26:37 +00:00
|
|
|
letter-spacing: 0.05em;
|
2025-06-29 19:55:58 +00:00
|
|
|
text-transform: uppercase;
|
|
|
|
|
}
|
|
|
|
|
`
|
|
|
|
|
];
|
|
|
|
|
|
2021-09-23 14:30:02 +02:00
|
|
|
public render(): TemplateResult {
|
|
|
|
|
return html`
|
|
|
|
|
<h5>${this.textContent}</h5>
|
|
|
|
|
`;
|
|
|
|
|
}
|
|
|
|
|
}
|