UNPKG

9.6 kBSCSSView Raw
1// Expose the M2 APIs under an `m2-` prefix in order to distinguish them from the M3 APIs.
2@forward './core/m2' as m2-*;
3
4// New theming APIs
5@forward './core/theming/inspection' show get-theme-version, get-theme-type, get-theme-color,
6 get-theme-typography, get-theme-density, theme-has, theme-remove;
7@forward './core/theming/definition' show define-theme, define-colors, define-typography,
8 define-density;
9@forward './core/theming/palettes' show $red-palette, $green-palette, $blue-palette,
10 $yellow-palette, $cyan-palette, $magenta-palette, $orange-palette,
11 $chartreuse-palette, $spring-green-palette, $azure-palette, $violet-palette, $rose-palette;
12@forward './core/theming/color-api-backwards-compatibility' show
13 color-variants-backwards-compatibility;
14
15@forward './core/theming/theming' show $theme-ignore-duplication-warnings,
16 $theme-legacy-inspection-api-compatibility;
17@forward './core/theming/theming' as private-* show private-clamp-density;
18@forward './core/typography/typography' show typography-hierarchy;
19@forward './core/typography/typography-utils' show font-shorthand;
20@forward './core/tokens/m2' show m2-tokens-from-theme;
21@forward './core/tokens/m3-tokens' show system-level-colors,
22 system-level-typography, system-level-elevation, system-level-shape,
23 system-level-motion, system-level-state;
24
25// Private/Internal
26@forward './core/density/private/all-density' show all-component-densities;
27@forward './core/theming/theming' show private-check-duplicate-theme-styles,
28 private-legacy-get-theme, private-is-theme-object;
29@forward './core/style/private' show private-theme-elevation;
30@forward './core/style/vendor-prefixes' as private-* show private-user-select;
31@forward './core/style/variables' as private-* show $private-swift-ease-in-duration,
32 $private-swift-ease-in-timing-function, $private-swift-ease-out-timing-function,
33 $private-ease-in-out-curve-function, $private-swift-ease-out-duration, $private-xsmall;
34@forward './core/style/sass-utils' as private-*;
35@forward './core/style/validation' as private-*;
36
37// Structural
38@forward './core/core' show core;
39@forward './core/ripple/ripple' show ripple;
40@forward './core/focus-indicators/focus-indicators' show strong-focus-indicators;
41@forward './core/focus-indicators/private' as private-strong-focus-indicators-*;
42@forward './core/style/elevation' show elevation, overridable-elevation, elevation-transition;
43
44// Theme bundles
45@forward './core/theming/all-theme' show all-component-themes, all-component-bases;
46@forward './core/color/all-color' show all-component-colors;
47@forward './core/typography/all-typography' show all-component-typographies;
48
49// Component themes
50@forward './core/core-theme' as core-* show core-color, core-theme, core-typography, core-density,
51 core-base, core-overrides;
52@forward './core/ripple/ripple-theme' as ripple-* show ripple-color, ripple-theme, ripple-base,
53 ripple-overrides;
54@forward './core/option/option-theme' as option-* show option-color, option-typography,
55 option-theme, option-density, option-base, option-overrides;
56@forward './core/option/optgroup-theme' as optgroup-* show optgroup-color, optgroup-typography,
57 optgroup-theme, optgroup-density, optgroup-base, optgroup-overrides;
58@forward './core/selection/pseudo-checkbox/pseudo-checkbox-theme' as pseudo-checkbox-* show
59 pseudo-checkbox-color, pseudo-checkbox-typography, pseudo-checkbox-theme, pseudo-checkbox-density,
60 pseudo-checkbox-base, pseudo-checkbox-overrides;
61@forward './core/selection/pseudo-checkbox/pseudo-checkbox-common' as pseudo-checkbox-* show
62 pseudo-checkbox-legacy-size;
63@forward './core/focus-indicators/focus-indicators-theme' as strong-focus-indicators-* show
64 strong-focus-indicators-color, strong-focus-indicators-theme;
65@forward './autocomplete/autocomplete-theme' as autocomplete-* show autocomplete-theme,
66 autocomplete-color, autocomplete-typography, autocomplete-density, autocomplete-base,
67 autocomplete-overrides;
68@forward './badge/badge-theme' as badge-* show badge-theme, badge-color, badge-typography,
69 badge-density, badge-base, badge-overrides;
70@forward './bottom-sheet/bottom-sheet-theme' as bottom-sheet-* show bottom-sheet-theme,
71 bottom-sheet-color, bottom-sheet-typography, bottom-sheet-density, bottom-sheet-base,
72 bottom-sheet-overrides;
73@forward './button/button-theme' as button-* show button-theme, button-color, button-typography,
74 button-density, button-base, button-overrides;
75@forward './button/fab-theme' as fab-* show fab-color, fab-typography,
76 fab-density, fab-theme, fab-base, fab-overrides;
77@forward './button/icon-button-theme' as icon-button-* show icon-button-color,
78 icon-button-typography, icon-button-density, icon-button-theme, icon-button-base,
79 icon-button-overrides;
80@forward './button-toggle/button-toggle-theme' as button-toggle-* show button-toggle-theme,
81 button-toggle-color, button-toggle-typography, button-toggle-density, button-toggle-base,
82 button-toggle-overrides;
83@forward './card/card-theme' as card-* show card-theme, card-color, card-typography, card-density,
84 card-base, card-overrides;
85@forward './checkbox/checkbox-theme' as checkbox-* show checkbox-theme, checkbox-color,
86 checkbox-typography, checkbox-density, checkbox-base, checkbox-overrides;
87@forward './chips/chips-theme' as chips-* show chips-theme, chips-color, chips-typography,
88 chips-density, chips-base, chips-overrides;
89@forward './datepicker/datepicker-theme' as datepicker-* show datepicker-theme, datepicker-color,
90 datepicker-typography, datepicker-date-range-colors, datepicker-density, datepicker-base,
91 datepicker-overrides;
92@forward './dialog/dialog-theme' as dialog-* show dialog-theme, dialog-color, dialog-typography,
93 dialog-density, dialog-base, dialog-overrides;
94@forward './dialog/dialog-legacy-padding' as dialog-* show dialog-legacy-padding;
95@forward './divider/divider-theme' as divider-* show divider-theme, divider-color,
96 divider-typography, divider-density, divider-base, divider-overrides;
97@forward './expansion/expansion-theme' as expansion-* show expansion-theme, expansion-color,
98 expansion-typography, expansion-density, expansion-base, expansion-overrides;
99@forward './form-field/form-field-theme' as form-field-* show form-field-theme,
100 form-field-color, form-field-typography, form-field-density, form-field-base,
101 form-field-overrides;
102@forward './grid-list/grid-list-theme' as grid-list-* show grid-list-theme, grid-list-color,
103 grid-list-typography, grid-list-density, grid-list-base, grid-list-overrides;
104@forward './icon/icon-theme' as icon-* show icon-theme, icon-color, icon-typography, icon-density,
105 icon-base, icon-overrides;
106@forward './input/input-theme' as input-* show input-theme, input-color, input-typography,
107 input-density, input-base, input-overrides;
108@forward './list/list-theme' as list-* show list-theme, list-color, list-typography,
109 list-density, list-base, list-overrides;
110@forward './menu/menu-theme' as menu-* show menu-theme, menu-color, menu-typography, menu-density,
111 menu-base, menu-overrides;
112@forward './paginator/paginator-theme' as paginator-* show paginator-theme, paginator-color,
113 paginator-typography, paginator-density, paginator-base, paginator-overrides;
114@forward './progress-bar/progress-bar-theme' as progress-bar-* show
115 progress-bar-theme, progress-bar-color, progress-bar-typography,
116 progress-bar-density, progress-bar-base, progress-bar-overrides;
117@forward './progress-spinner/progress-spinner-theme' as progress-spinner-* show
118 progress-spinner-theme, progress-spinner-color, progress-spinner-typography,
119 progress-spinner-density, progress-spinner-base, progress-spinner-overrides;
120@forward './radio/radio-theme' as radio-* show radio-theme, radio-color, radio-typography,
121 radio-density, radio-base, radio-overrides;
122@forward './select/select-theme' as select-* show select-theme, select-color, select-typography,
123 select-density, select-base, select-overrides;
124@forward './sidenav/sidenav-theme' as sidenav-* show sidenav-theme, sidenav-color,
125 sidenav-typography, sidenav-density, sidenav-base, sidenav-overrides;
126@forward './slide-toggle/slide-toggle-theme' as slide-toggle-* show
127 slide-toggle-theme, slide-toggle-color, slide-toggle-typography, slide-toggle-density,
128 slide-toggle-base, slide-toggle-overrides;
129@forward './slider/slider-theme' as slider-* show slider-theme, slider-color, slider-typography,
130 slider-density, slider-base, slider-overrides;
131@forward './snack-bar/snack-bar-theme' as snack-bar-* show snack-bar-theme, snack-bar-color,
132 snack-bar-typography, snack-bar-density, snack-bar-base, snack-bar-overrides;
133@forward './sort/sort-theme' as sort-* show sort-theme, sort-color, sort-typography, sort-density,
134 sort-base, sort-overrides;
135@forward './stepper/stepper-theme' as stepper-* show stepper-theme, stepper-color,
136 stepper-typography, stepper-density, stepper-base, stepper-overrides;
137@forward './table/table-theme' as table-* show table-theme, table-color, table-typography,
138 table-density, table-base, table-overrides;
139@forward './tabs/tabs-theme' as tabs-* show tabs-theme, tabs-color, tabs-typography, tabs-density,
140 tabs-base, tabs-overrides;
141@forward './toolbar/toolbar-theme' as toolbar-* show toolbar-theme, toolbar-color,
142 toolbar-typography, toolbar-density, toolbar-base, toolbar-overrides;
143@forward './tooltip/tooltip-theme' as tooltip-* show tooltip-theme, tooltip-color,
144 tooltip-typography, tooltip-density, tooltip-base, tooltip-overrides;
145@forward './tree/tree-theme' as tree-* show tree-theme, tree-color, tree-typography, tree-density,
146 tree-base, tree-overrides;