would be worse than one rule. The
* theme variables come from the document, which custom properties reach
* into shadow roots, and the fallbacks cover the case where they do not.
*/
code {
padding: 0.15em 0.4em;
border-radius: 0.25rem;
background: color-mix(in srgb, currentColor 10%, transparent);
font-family: var(--font-mono, ui-monospace, monospace);
font-size: 0.9em;
}
`,
];
override render() {
return html`
About
This route is rendered by the router controller in app-root. Add a
route by extending the array passed to new Router(...).
- Patterns use URLPattern syntax, so
/users/:id works.
- Matched groups arrive as the
params argument.
- Use
Routes for nested routing inside a page.
`;
}
}
declare global {
interface HTMLElementTagNameMap {
'about-page': AboutPage;
}
}