esp-web-tools
Version:
Web tools for ESP devices
30 lines (25 loc) • 942 B
JavaScript
import { css } from "lit";
// We set font-size to 16px and all the mdc typography styles
// because it defaults to rem, which means that the font-size
// of the host website would influence the ESP Web Tools dialog.
export const dialogStyles = css `
:host {
--roboto-font: Roboto, system-ui;
--text-color: rgba(0, 0, 0, 0.6);
--danger-color:
--md-sys-color-primary:
--md-sys-color-on-primary:
--md-ref-typeface-brand: var(--roboto-font);
--md-ref-typeface-plain: var(--roboto-font);
--md-sys-color-surface:
--md-sys-color-surface-container:
--md-sys-color-surface-container-high:
--md-sys-color-surface-container-highest:
--md-sys-color-secondary-container:
--md-sys-typescale-headline-font: var(--roboto-font);
--md-sys-typescale-title-font: var(--roboto-font);
}
a {
color: var(--md-sys-color-primary);
}
`;