blob: d3b098c6a0cd5a0b58f45cc18e082755beea9585 [file] [log] [blame]
Adrià Vilanova Martínezf276ac72022-10-13 22:16:22 +02001import {css} from 'lit';
2
Adrià Vilanova Martínez6f62c7d2022-11-05 20:48:52 +01003// This is used to customize some colors. Also, we use this to pass the dark
4// theme color scheme (it's defined in variables prefixed with --TWPT).
Adrià Vilanova Martínezf276ac72022-10-13 22:16:22 +02005export const SHARED_MD3_STYLES = css`
6 :host {
Adrià Vilanova Martínez6f62c7d2022-11-05 20:48:52 +01007 --md-sys-color-primary: var(--TWPT-md-sys-color-primary, #6750a4);
8 --md-sys-color-on-primary: var(--TWPT-md-sys-color-on-primary, #fff);
9 --md-sys-color-surface: var(--TWPT-md-sys-color-surface, rgb(227, 255, 251));
10 --md-sys-color-on-surface: var(--TWPT-md-sys-color-on-surface);
11 --md-sys-color-on-surface-rgb: var(--TWPT-md-sys-color-on-surface-rgb);
12 --md-sys-color-on-surface-variant: var(--TWPT-md-sys-color-on-surface-variant);
13 --md-list-list-divider-color: var(--TWPT-md-list-list-divider-color);
14 --md-ripple-hover-state-layer-color: var(--TWPT-md-ripple-hover-state-layer-color);
15 --md-ripple-pressed-state-layer-color: var(--TWPT-md-ripple-pressed-state-layer-color);
16 --md-icon-button-unselected-icon-color: var(--TWPT-custom-md-icon-color);
17 --md-icon-button-unselected-hover-icon-color: var(--TWPT-custom-md-icon-color);
18 --md-icon-button-unselected-focus-icon-color: var(--TWPT-custom-md-icon-color);
19 --md-icon-button-unselected-pressed-icon-color: var(--TWPT-custom-md-icon-color);
20 --mdc-theme-on-surface: var(--TWPT-primary-text, #000);
21 --mdc-dialog-heading-ink-color: var(--TWPT-primary-text);
22 --mdc-theme-surface: var(--TWPT-primary-background, #fff);
Adrià Vilanova Martínezf276ac72022-10-13 22:16:22 +020023 }
24`;