import { LitElement, css, html } from "lit" import "iconify-icon"; export default class Element extends LitElement { static override styles = css` .feature-card { display: flex; flex-grow: 1; flex-direction: column; align-items: center; justify-content: end; padding: 1rem; border-radius: 0.5rem; background-color: #e3e8ed; height: 200px; overflow: hidden; } .feature-name { padding-top: 1rem; font-weight: 500; color: #0f172a; margin: 0; } ` static override properties = { title: { type: String }, icon: { type: String }, image: { type: String }, color: { type: String }, "text-color": { type: String }, } override title: string = "" icon: string = "" image: string = "" color: string = "" "text-color": string = "" override render() { return html`
${this.icon && html``} ${this.image && html``}

${this.title}

` } } if (typeof customElements !== "undefined" && !customElements.get("doc-feature")) { customElements.define("doc-feature", Element) }