Link

Example

Link

Implementation

import { LitElement, css, html } from 'lit'; import { customElement } from 'lit/decorators.js'; @customElement('zakuni-link') export class ZakuniLink extends LitElement { static styles = css` a { color: rgb(var(--accent)); text-decoration: none; } a:hover { color: rgb(var(--accent-dark)); } a:active { color: rgb(var(--accent-light)); } `; render() { return html` <a href="#"><slot /></a> `; } }