@maicol07/material-web 2.2.0 → 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/button/internal/_shared.scss +2 -2
- package/button/internal/_touch-target.scss +1 -1
- package/labs/gb/components/appbar/_app-bar-tokens.scss +136 -0
- package/labs/gb/components/appbar/app-bar.scss +167 -0
- package/labs/gb/components/badge/_badge-tokens.scss +18 -0
- package/labs/gb/components/badge/badge.scss +49 -0
- package/labs/gb/components/button/_button-tokens.scss +200 -0
- package/labs/gb/components/button/button.scss +130 -0
- package/labs/gb/components/card/_card-tokens.scss +56 -0
- package/labs/gb/components/card/card.scss +74 -0
- package/labs/gb/components/checkbox/_checkbox-tokens.scss +66 -0
- package/labs/gb/components/checkbox/checkbox.scss +105 -0
- package/labs/gb/components/chip/_chip-tokens.scss +167 -0
- package/labs/gb/components/chip/chip.scss +99 -0
- package/labs/gb/components/divider/_divider-tokens.scss +11 -0
- package/labs/gb/components/divider/divider.scss +31 -0
- package/labs/gb/components/fab/_fab-tokens.scss +89 -0
- package/labs/gb/components/fab/fab.scss +78 -0
- package/labs/gb/components/focus/focus-ring.scss +91 -0
- package/labs/gb/components/iconbutton/_icon-button-tokens.scss +213 -0
- package/labs/gb/components/iconbutton/icon-button.scss +160 -0
- package/labs/gb/components/list/_list-tokens.scss +103 -0
- package/labs/gb/components/list/list.scss +217 -0
- package/labs/gb/components/menu/_menu-tokens.scss +161 -0
- package/labs/gb/components/menu/menu.scss +174 -0
- package/labs/gb/components/radio/_radio-tokens.scss +39 -0
- package/labs/gb/components/radio/radio.scss +74 -0
- package/labs/gb/components/ripple/ripple.scss +103 -0
- package/labs/gb/components/splitbutton/_split-button-tokens.scss +139 -0
- package/labs/gb/components/splitbutton/split-button.scss +164 -0
- package/labs/gb/components/switch/_switch-tokens.scss +58 -0
- package/labs/gb/components/switch/switch.scss +109 -0
- package/labs/gb/styles/color/internal/_color-tokens.scss +95 -0
- package/labs/gb/styles/color/md-color-tokens-full.scss +17 -0
- package/labs/gb/styles/color/md-color-tokens.scss +15 -0
- package/labs/gb/styles/elevation/md-elevation-tokens.scss +25 -0
- package/labs/gb/styles/icon/md-icon.scss +63 -0
- package/labs/gb/styles/m3.scss +14 -0
- package/labs/gb/styles/motion/md-motion-tokens-easing.scss +35 -0
- package/labs/gb/styles/shape/md-shape-tokens.scss +23 -0
- package/labs/gb/styles/space/md-space-tokens.scss +28 -0
- package/labs/gb/styles/tailwind.scss +349 -0
- package/labs/gb/styles/typography/internal/_typography-tokens.scss +149 -0
- package/labs/gb/styles/typography/md-typography-tokens.scss +14 -0
- package/list/internal/listitem/_list-item.scss +3 -0
- package/menu/internal/menuitem/_menu-item.scss +4 -1
- package/package.json +145 -27
- package/sass/ext/_assert.scss +82 -0
- package/sass/ext/_list_ext.scss +114 -0
- package/sass/ext/_map_ext.scss +222 -0
- package/sass/ext/_string_ext.scss +153 -0
- package/sass/ext/_throw.scss +83 -0
- package/sass/ext/_type.scss +66 -0
- package/{internal/sass → sass/ext}/_var.scss +86 -96
- package/sass/ext/tests.scss +18 -0
- package/slider/internal/_slider.scss +1 -0
- package/switch/internal/_switch.scss +1 -0
- package/tabs/internal/_tab.scss +0 -1
- package/tokens/_index.scss +57 -57
- package/tokens/_md-comp-assist-chip.scss +8 -8
- package/tokens/_md-comp-badge.scss +4 -4
- package/tokens/_md-comp-checkbox.scss +6 -6
- package/tokens/_md-comp-circular-progress.scss +4 -4
- package/tokens/_md-comp-dialog.scss +8 -8
- package/tokens/_md-comp-divider.scss +3 -3
- package/tokens/_md-comp-elevated-button.scss +8 -8
- package/tokens/_md-comp-elevated-card.scss +6 -6
- package/tokens/_md-comp-elevation.scss +3 -3
- package/tokens/_md-comp-fab-branded.scss +10 -10
- package/tokens/_md-comp-fab.scss +17 -17
- package/tokens/_md-comp-filled-button.scss +8 -8
- package/tokens/_md-comp-filled-card.scss +6 -6
- package/tokens/_md-comp-filled-field.scss +7 -7
- package/tokens/_md-comp-filled-icon-button.scss +6 -6
- package/tokens/_md-comp-filled-select.scss +8 -8
- package/tokens/_md-comp-filled-text-field.scss +7 -7
- package/tokens/_md-comp-filled-tonal-button.scss +8 -8
- package/tokens/_md-comp-filled-tonal-icon-button.scss +6 -6
- package/tokens/_md-comp-filter-chip.scss +8 -8
- package/tokens/_md-comp-focus-ring.scss +5 -5
- package/tokens/_md-comp-full-screen-dialog.scss +6 -6
- package/tokens/_md-comp-icon-button.scss +5 -5
- package/tokens/_md-comp-icon.scss +1 -1
- package/tokens/_md-comp-input-chip.scss +8 -8
- package/tokens/_md-comp-item.scss +4 -4
- package/tokens/_md-comp-linear-progress.scss +4 -4
- package/tokens/_md-comp-list-item.scss +5 -5
- package/tokens/_md-comp-list.scss +3 -3
- package/tokens/_md-comp-menu-item.scss +8 -8
- package/tokens/_md-comp-menu.scss +5 -5
- package/tokens/_md-comp-navigation-bar.scss +6 -6
- package/tokens/_md-comp-navigation-drawer.scss +6 -6
- package/tokens/_md-comp-outlined-button.scss +7 -7
- package/tokens/_md-comp-outlined-card.scss +6 -6
- package/tokens/_md-comp-outlined-field.scss +7 -7
- package/tokens/_md-comp-outlined-icon-button.scss +6 -6
- package/tokens/_md-comp-outlined-segmented-button.scss +7 -7
- package/tokens/_md-comp-outlined-select.scss +8 -8
- package/tokens/_md-comp-outlined-text-field.scss +6 -6
- package/tokens/_md-comp-primary-tab.scss +8 -8
- package/tokens/_md-comp-radio.scss +4 -4
- package/tokens/_md-comp-ripple.scss +4 -4
- package/tokens/_md-comp-secondary-tab.scss +8 -8
- package/tokens/_md-comp-slider.scss +7 -7
- package/tokens/_md-comp-suggestion-chip.scss +8 -8
- package/tokens/_md-comp-switch.scss +6 -6
- package/tokens/_md-comp-test-table.scss +2 -2
- package/tokens/_md-comp-text-button.scss +7 -7
- package/tokens/_md-ref-palette.scss +2 -2
- package/tokens/_md-ref-typeface.scss +2 -2
- package/tokens/_md-sys-color.scss +3 -3
- package/tokens/_md-sys-elevation.scss +1 -1
- package/tokens/_md-sys-motion.scss +1 -1
- package/tokens/_md-sys-shape.scss +2 -2
- package/tokens/_md-sys-state.scss +1 -1
- package/tokens/_md-sys-typescale.scss +3 -3
- package/tokens/v0_192/_index.scss +3 -102
- package/tokens/v0_192/_md-comp-assist-chip.scss +1 -106
- package/tokens/v0_192/_md-comp-badge.scss +1 -56
- package/tokens/v0_192/_md-comp-banner.scss +1 -71
- package/tokens/v0_192/_md-comp-bottom-app-bar.scss +1 -31
- package/tokens/v0_192/_md-comp-carousel-item.scss +1 -61
- package/tokens/v0_192/_md-comp-checkbox.scss +1 -124
- package/tokens/v0_192/_md-comp-circular-progress-indicator.scss +1 -36
- package/tokens/v0_192/_md-comp-data-table.scss +1 -94
- package/tokens/v0_192/_md-comp-date-input-modal.scss +1 -85
- package/tokens/v0_192/_md-comp-date-picker-docked.scss +1 -242
- package/tokens/v0_192/_md-comp-date-picker-modal.scss +1 -301
- package/tokens/v0_192/_md-comp-dialog.scss +1 -119
- package/tokens/v0_192/_md-comp-divider.scss +1 -23
- package/tokens/v0_192/_md-comp-elevated-button.scss +1 -87
- package/tokens/v0_192/_md-comp-elevated-card.scss +1 -55
- package/tokens/v0_192/_md-comp-extended-fab-branded.scss +1 -84
- package/tokens/v0_192/_md-comp-extended-fab-primary.scss +1 -92
- package/tokens/v0_192/_md-comp-extended-fab-secondary.scss +1 -93
- package/tokens/v0_192/_md-comp-extended-fab-surface.scss +1 -88
- package/tokens/v0_192/_md-comp-extended-fab-tertiary.scss +1 -93
- package/tokens/v0_192/_md-comp-fab-branded-large.scss +1 -58
- package/tokens/v0_192/_md-comp-fab-branded.scss +1 -58
- package/tokens/v0_192/_md-comp-fab-primary-large.scss +1 -63
- package/tokens/v0_192/_md-comp-fab-primary-small.scss +1 -63
- package/tokens/v0_192/_md-comp-fab-primary.scss +1 -63
- package/tokens/v0_192/_md-comp-fab-secondary-large.scss +1 -64
- package/tokens/v0_192/_md-comp-fab-secondary-small.scss +1 -64
- package/tokens/v0_192/_md-comp-fab-secondary.scss +1 -64
- package/tokens/v0_192/_md-comp-fab-surface-large.scss +1 -62
- package/tokens/v0_192/_md-comp-fab-surface-small.scss +1 -62
- package/tokens/v0_192/_md-comp-fab-surface.scss +1 -62
- package/tokens/v0_192/_md-comp-fab-tertiary-large.scss +1 -64
- package/tokens/v0_192/_md-comp-fab-tertiary-small.scss +1 -64
- package/tokens/v0_192/_md-comp-fab-tertiary.scss +1 -64
- package/tokens/v0_192/_md-comp-filled-autocomplete.scss +1 -234
- package/tokens/v0_192/_md-comp-filled-button.scss +1 -87
- package/tokens/v0_192/_md-comp-filled-card.scss +1 -57
- package/tokens/v0_192/_md-comp-filled-icon-button.scss +1 -78
- package/tokens/v0_192/_md-comp-filled-menu-button.scss +1 -96
- package/tokens/v0_192/_md-comp-filled-select.scss +1 -268
- package/tokens/v0_192/_md-comp-filled-text-field.scss +1 -188
- package/tokens/v0_192/_md-comp-filled-tonal-button.scss +1 -97
- package/tokens/v0_192/_md-comp-filled-tonal-icon-button.scss +1 -85
- package/tokens/v0_192/_md-comp-filter-chip.scss +1 -205
- package/tokens/v0_192/_md-comp-full-screen-dialog.scss +1 -109
- package/tokens/v0_192/_md-comp-icon-button.scss +1 -69
- package/tokens/v0_192/_md-comp-input-chip.scss +1 -182
- package/tokens/v0_192/_md-comp-linear-progress-indicator.scss +1 -38
- package/tokens/v0_192/_md-comp-list.scss +1 -250
- package/tokens/v0_192/_md-comp-menu.scss +1 -39
- package/tokens/v0_192/_md-comp-navigation-bar.scss +1 -110
- package/tokens/v0_192/_md-comp-navigation-drawer.scss +1 -160
- package/tokens/v0_192/_md-comp-navigation-rail.scss +1 -114
- package/tokens/v0_192/_md-comp-outlined-autocomplete.scss +1 -224
- package/tokens/v0_192/_md-comp-outlined-button.scss +1 -82
- package/tokens/v0_192/_md-comp-outlined-card.scss +1 -61
- package/tokens/v0_192/_md-comp-outlined-icon-button.scss +1 -78
- package/tokens/v0_192/_md-comp-outlined-menu-button.scss +1 -92
- package/tokens/v0_192/_md-comp-outlined-segmented-button.scss +1 -110
- package/tokens/v0_192/_md-comp-outlined-select.scss +1 -258
- package/tokens/v0_192/_md-comp-outlined-text-field.scss +1 -169
- package/tokens/v0_192/_md-comp-plain-tooltip.scss +1 -53
- package/tokens/v0_192/_md-comp-primary-navigation-tab.scss +1 -119
- package/tokens/v0_192/_md-comp-radio-button.scss +1 -66
- package/tokens/v0_192/_md-comp-rich-tooltip.scss +1 -117
- package/tokens/v0_192/_md-comp-scrim.scss +1 -23
- package/tokens/v0_192/_md-comp-search-bar.scss +1 -95
- package/tokens/v0_192/_md-comp-search-view.scss +1 -89
- package/tokens/v0_192/_md-comp-secondary-navigation-tab.scss +1 -82
- package/tokens/v0_192/_md-comp-sheet-bottom.scss +1 -41
- package/tokens/v0_192/_md-comp-sheet-floating.scss +1 -30
- package/tokens/v0_192/_md-comp-sheet-side.scss +1 -89
- package/tokens/v0_192/_md-comp-slider.scss +1 -113
- package/tokens/v0_192/_md-comp-snackbar.scss +1 -125
- package/tokens/v0_192/_md-comp-standard-menu-button.scss +1 -96
- package/tokens/v0_192/_md-comp-suggestion-chip.scss +1 -122
- package/tokens/v0_192/_md-comp-switch.scss +1 -136
- package/tokens/v0_192/_md-comp-text-button.scss +1 -75
- package/tokens/v0_192/_md-comp-time-input.scss +1 -215
- package/tokens/v0_192/_md-comp-time-picker.scss +1 -262
- package/tokens/v0_192/_md-comp-top-app-bar-large.scss +1 -59
- package/tokens/v0_192/_md-comp-top-app-bar-medium.scss +1 -59
- package/tokens/v0_192/_md-comp-top-app-bar-small-centered.scss +1 -66
- package/tokens/v0_192/_md-comp-top-app-bar-small.scss +1 -62
- package/tokens/v0_192/_md-ref-palette.scss +1 -104
- package/tokens/v0_192/_md-ref-typeface.scss +1 -18
- package/tokens/v0_192/_md-sys-color.scss +1 -130
- package/tokens/v0_192/_md-sys-elevation.scss +1 -19
- package/tokens/v0_192/_md-sys-motion.scss +1 -50
- package/tokens/v0_192/_md-sys-shape.scss +1 -28
- package/tokens/v0_192/_md-sys-state.scss +1 -17
- package/tokens/v0_192/_md-sys-typescale.scss +1 -281
- package/tokens/versions/latest/sass/_index.scss +241 -0
- package/tokens/versions/latest/sass/_md-comp-app-bar-large-flexible.scss +31 -0
- package/tokens/versions/latest/sass/_md-comp-app-bar-large.scss +35 -0
- package/tokens/versions/latest/sass/_md-comp-app-bar-medium-flexible.scss +31 -0
- package/tokens/versions/latest/sass/_md-comp-app-bar-medium.scss +35 -0
- package/tokens/versions/latest/sass/_md-comp-app-bar-small.scss +42 -0
- package/tokens/versions/latest/sass/_md-comp-app-bar.scss +59 -0
- package/tokens/versions/latest/sass/_md-comp-assist-chip.scss +134 -0
- package/tokens/versions/latest/sass/_md-comp-badge.scss +53 -0
- package/tokens/versions/latest/sass/_md-comp-banner.scss +147 -0
- package/tokens/versions/latest/sass/_md-comp-banners-basic.scss +86 -0
- package/tokens/versions/latest/sass/_md-comp-banners-rich.scss +89 -0
- package/tokens/versions/latest/sass/_md-comp-banners.scss +43 -0
- package/tokens/versions/latest/sass/_md-comp-bottom-app-bar.scss +37 -0
- package/tokens/versions/latest/sass/_md-comp-button-elevated.scss +125 -0
- package/tokens/versions/latest/sass/_md-comp-button-filled.scss +125 -0
- package/tokens/versions/latest/sass/_md-comp-button-group-connected-large.scss +31 -0
- package/tokens/versions/latest/sass/_md-comp-button-group-connected-medium.scss +31 -0
- package/tokens/versions/latest/sass/_md-comp-button-group-connected-small.scss +31 -0
- package/tokens/versions/latest/sass/_md-comp-button-group-connected-xlarge.scss +31 -0
- package/tokens/versions/latest/sass/_md-comp-button-group-connected-xsmall.scss +31 -0
- package/tokens/versions/latest/sass/_md-comp-button-group-standard-large.scss +29 -0
- package/tokens/versions/latest/sass/_md-comp-button-group-standard-medium.scss +29 -0
- package/tokens/versions/latest/sass/_md-comp-button-group-standard-small.scss +29 -0
- package/tokens/versions/latest/sass/_md-comp-button-group-standard-xlarge.scss +29 -0
- package/tokens/versions/latest/sass/_md-comp-button-group-standard-xsmall.scss +29 -0
- package/tokens/versions/latest/sass/_md-comp-button-large.scss +51 -0
- package/tokens/versions/latest/sass/_md-comp-button-medium.scss +51 -0
- package/tokens/versions/latest/sass/_md-comp-button-outlined.scss +124 -0
- package/tokens/versions/latest/sass/_md-comp-button-small.scss +51 -0
- package/tokens/versions/latest/sass/_md-comp-button-text.scss +60 -0
- package/tokens/versions/latest/sass/_md-comp-button-tonal.scss +125 -0
- package/tokens/versions/latest/sass/_md-comp-button-xlarge.scss +51 -0
- package/tokens/versions/latest/sass/_md-comp-button-xsmall.scss +51 -0
- package/tokens/versions/latest/sass/_md-comp-button.scss +163 -0
- package/tokens/versions/latest/sass/_md-comp-carousel-item.scss +79 -0
- package/tokens/versions/latest/sass/_md-comp-checkbox.scss +216 -0
- package/tokens/versions/latest/sass/_md-comp-circular-progress-indicator.scss +52 -0
- package/tokens/versions/latest/sass/_md-comp-data-table.scss +110 -0
- package/tokens/versions/latest/sass/_md-comp-date-input-modal.scss +80 -0
- package/tokens/versions/latest/sass/_md-comp-date-picker-docked.scss +241 -0
- package/tokens/versions/latest/sass/_md-comp-date-picker-modal.scss +295 -0
- package/tokens/versions/latest/sass/_md-comp-dialog.scss +157 -0
- package/tokens/versions/latest/sass/_md-comp-divider.scss +23 -0
- package/tokens/versions/latest/sass/_md-comp-drag-handle.scss +54 -0
- package/tokens/versions/latest/sass/_md-comp-elevated-button.scss +190 -0
- package/tokens/versions/latest/sass/_md-comp-elevated-card.scss +75 -0
- package/tokens/versions/latest/sass/_md-comp-extended-fab-branded.scss +100 -0
- package/tokens/versions/latest/sass/_md-comp-extended-fab-large.scss +36 -0
- package/tokens/versions/latest/sass/_md-comp-extended-fab-medium.scss +36 -0
- package/tokens/versions/latest/sass/_md-comp-extended-fab-primary-container.scss +61 -0
- package/tokens/versions/latest/sass/_md-comp-extended-fab-primary.scss +174 -0
- package/tokens/versions/latest/sass/_md-comp-extended-fab-secondary-container.scss +61 -0
- package/tokens/versions/latest/sass/_md-comp-extended-fab-secondary.scss +174 -0
- package/tokens/versions/latest/sass/_md-comp-extended-fab-small.scss +36 -0
- package/tokens/versions/latest/sass/_md-comp-extended-fab-surface.scss +108 -0
- package/tokens/versions/latest/sass/_md-comp-extended-fab-tertiary-container.scss +61 -0
- package/tokens/versions/latest/sass/_md-comp-extended-fab-tertiary.scss +174 -0
- package/tokens/versions/latest/sass/_md-comp-extended-fab.scss +36 -0
- package/tokens/versions/latest/sass/_md-comp-fab-branded-large.scss +127 -0
- package/tokens/versions/latest/sass/_md-comp-fab-branded.scss +75 -0
- package/tokens/versions/latest/sass/_md-comp-fab-large.scss +27 -0
- package/tokens/versions/latest/sass/_md-comp-fab-medium.scss +27 -0
- package/tokens/versions/latest/sass/_md-comp-fab-menu-primary-close-button.scss +51 -0
- package/tokens/versions/latest/sass/_md-comp-fab-menu-primary-container.scss +59 -0
- package/tokens/versions/latest/sass/_md-comp-fab-menu-secondary-close-button.scss +51 -0
- package/tokens/versions/latest/sass/_md-comp-fab-menu-secondary-container.scss +59 -0
- package/tokens/versions/latest/sass/_md-comp-fab-menu-tertiary-close-button.scss +51 -0
- package/tokens/versions/latest/sass/_md-comp-fab-menu-tertiary-container.scss +59 -0
- package/tokens/versions/latest/sass/_md-comp-fab-menu.scss +53 -0
- package/tokens/versions/latest/sass/_md-comp-fab-primary-container.scss +53 -0
- package/tokens/versions/latest/sass/_md-comp-fab-primary-large.scss +131 -0
- package/tokens/versions/latest/sass/_md-comp-fab-primary-small.scss +131 -0
- package/tokens/versions/latest/sass/_md-comp-fab-primary.scss +131 -0
- package/tokens/versions/latest/sass/_md-comp-fab-secondary-container.scss +53 -0
- package/tokens/versions/latest/sass/_md-comp-fab-secondary-large.scss +131 -0
- package/tokens/versions/latest/sass/_md-comp-fab-secondary-small.scss +131 -0
- package/tokens/versions/latest/sass/_md-comp-fab-secondary.scss +131 -0
- package/tokens/versions/latest/sass/_md-comp-fab-small.scss +27 -0
- package/tokens/versions/latest/sass/_md-comp-fab-surface-large.scss +139 -0
- package/tokens/versions/latest/sass/_md-comp-fab-surface.scss +83 -0
- package/tokens/versions/latest/sass/_md-comp-fab-tertiary-container.scss +53 -0
- package/tokens/versions/latest/sass/_md-comp-fab-tertiary-large.scss +131 -0
- package/tokens/versions/latest/sass/_md-comp-fab-tertiary-small.scss +131 -0
- package/tokens/versions/latest/sass/_md-comp-fab-tertiary.scss +131 -0
- package/tokens/versions/latest/sass/_md-comp-fab.scss +27 -0
- package/tokens/versions/latest/sass/_md-comp-filled-autocomplete.scss +279 -0
- package/tokens/versions/latest/sass/_md-comp-filled-button.scss +206 -0
- package/tokens/versions/latest/sass/_md-comp-filled-card.scss +75 -0
- package/tokens/versions/latest/sass/_md-comp-filled-icon-button.scss +178 -0
- package/tokens/versions/latest/sass/_md-comp-filled-menu-button.scss +118 -0
- package/tokens/versions/latest/sass/_md-comp-filled-select.scss +269 -0
- package/tokens/versions/latest/sass/_md-comp-filled-text-field.scss +221 -0
- package/tokens/versions/latest/sass/_md-comp-filled-tonal-button.scss +186 -0
- package/tokens/versions/latest/sass/_md-comp-filled-tonal-icon-button.scss +178 -0
- package/tokens/versions/latest/sass/_md-comp-filter-chip.scss +276 -0
- package/tokens/versions/latest/sass/_md-comp-full-screen-dialog.scss +199 -0
- package/tokens/versions/latest/sass/_md-comp-icon-button-filled.scss +82 -0
- package/tokens/versions/latest/sass/_md-comp-icon-button-large.scss +52 -0
- package/tokens/versions/latest/sass/_md-comp-icon-button-medium.scss +52 -0
- package/tokens/versions/latest/sass/_md-comp-icon-button-outlined.scss +86 -0
- package/tokens/versions/latest/sass/_md-comp-icon-button-small.scss +52 -0
- package/tokens/versions/latest/sass/_md-comp-icon-button-standard.scss +72 -0
- package/tokens/versions/latest/sass/_md-comp-icon-button-tonal.scss +82 -0
- package/tokens/versions/latest/sass/_md-comp-icon-button-xlarge.scss +52 -0
- package/tokens/versions/latest/sass/_md-comp-icon-button-xsmall.scss +52 -0
- package/tokens/versions/latest/sass/_md-comp-icon-button.scss +193 -0
- package/tokens/versions/latest/sass/_md-comp-input-chip.scss +300 -0
- package/tokens/versions/latest/sass/_md-comp-linear-progress-indicator.scss +60 -0
- package/tokens/versions/latest/sass/_md-comp-list-expand.scss +36 -0
- package/tokens/versions/latest/sass/_md-comp-list-reorder.scss +45 -0
- package/tokens/versions/latest/sass/_md-comp-list-reveal.scss +50 -0
- package/tokens/versions/latest/sass/_md-comp-list.scss +408 -0
- package/tokens/versions/latest/sass/_md-comp-loading-indicator.scss +38 -0
- package/tokens/versions/latest/sass/_md-comp-menu.scss +218 -0
- package/tokens/versions/latest/sass/_md-comp-menus-standard.scss +188 -0
- package/tokens/versions/latest/sass/_md-comp-menus-vibrant.scss +160 -0
- package/tokens/versions/latest/sass/_md-comp-menus.scss +141 -0
- package/tokens/versions/latest/sass/_md-comp-nav-bar-item-horizontal.scss +31 -0
- package/tokens/versions/latest/sass/_md-comp-nav-bar-item-vertical.scss +31 -0
- package/tokens/versions/latest/sass/_md-comp-nav-bar.scss +68 -0
- package/tokens/versions/latest/sass/_md-comp-nav-rail-collapsed.scss +35 -0
- package/tokens/versions/latest/sass/_md-comp-nav-rail-expanded.scss +47 -0
- package/tokens/versions/latest/sass/_md-comp-nav-rail-item-horizontal.scss +31 -0
- package/tokens/versions/latest/sass/_md-comp-nav-rail-item-vertical.scss +33 -0
- package/tokens/versions/latest/sass/_md-comp-nav-rail-item.scss +39 -0
- package/tokens/versions/latest/sass/_md-comp-nav-rail.scss +48 -0
- package/tokens/versions/latest/sass/_md-comp-navigation-bar.scss +150 -0
- package/tokens/versions/latest/sass/_md-comp-navigation-drawer.scss +187 -0
- package/tokens/versions/latest/sass/_md-comp-navigation-rail.scss +233 -0
- package/tokens/versions/latest/sass/_md-comp-outlined-autocomplete.scss +275 -0
- package/tokens/versions/latest/sass/_md-comp-outlined-button.scss +182 -0
- package/tokens/versions/latest/sass/_md-comp-outlined-card.scss +87 -0
- package/tokens/versions/latest/sass/_md-comp-outlined-menu-button.scss +117 -0
- package/tokens/versions/latest/sass/_md-comp-outlined-segmented-button.scss +121 -0
- package/tokens/versions/latest/sass/_md-comp-outlined-select.scss +266 -0
- package/tokens/versions/latest/sass/_md-comp-outlined-text-field.scss +216 -0
- package/tokens/versions/latest/sass/_md-comp-plain-tooltip.scss +45 -0
- package/tokens/versions/latest/sass/_md-comp-primary-navigation-tab.scss +130 -0
- package/tokens/versions/latest/sass/_md-comp-progress-indicator-circular.scss +47 -0
- package/tokens/versions/latest/sass/_md-comp-progress-indicator-linear.scss +65 -0
- package/tokens/versions/latest/sass/_md-comp-progress-indicator.scss +48 -0
- package/tokens/versions/latest/sass/_md-comp-radio-button.scss +72 -0
- package/tokens/versions/latest/sass/_md-comp-rich-tooltip.scss +113 -0
- package/tokens/versions/latest/sass/_md-comp-scrim.scss +23 -0
- package/tokens/versions/latest/sass/_md-comp-search-bar.scss +137 -0
- package/tokens/versions/latest/sass/_md-comp-search-view.scss +108 -0
- package/tokens/versions/latest/sass/_md-comp-secondary-navigation-tab.scss +104 -0
- package/tokens/versions/latest/sass/_md-comp-sheet-bottom.scss +52 -0
- package/tokens/versions/latest/sass/_md-comp-sheet-floating.scss +31 -0
- package/tokens/versions/latest/sass/_md-comp-sheet-side.scss +96 -0
- package/tokens/versions/latest/sass/_md-comp-slider-large.scss +31 -0
- package/tokens/versions/latest/sass/_md-comp-slider-medium.scss +31 -0
- package/tokens/versions/latest/sass/_md-comp-slider-small.scss +27 -0
- package/tokens/versions/latest/sass/_md-comp-slider-xlarge.scss +31 -0
- package/tokens/versions/latest/sass/_md-comp-slider-xsmall.scss +27 -0
- package/tokens/versions/latest/sass/_md-comp-slider.scss +307 -0
- package/tokens/versions/latest/sass/_md-comp-snackbar.scss +115 -0
- package/tokens/versions/latest/sass/_md-comp-split-button-large.scss +43 -0
- package/tokens/versions/latest/sass/_md-comp-split-button-medium.scss +43 -0
- package/tokens/versions/latest/sass/_md-comp-split-button-small.scss +43 -0
- package/tokens/versions/latest/sass/_md-comp-split-button-xlarge.scss +43 -0
- package/tokens/versions/latest/sass/_md-comp-split-button-xsmall.scss +45 -0
- package/tokens/versions/latest/sass/_md-comp-standard-menu-button.scss +103 -0
- package/tokens/versions/latest/sass/_md-comp-suggestion-chip.scss +134 -0
- package/tokens/versions/latest/sass/_md-comp-switch.scss +191 -0
- package/tokens/versions/latest/sass/_md-comp-text-button.scss +154 -0
- package/tokens/versions/latest/sass/_md-comp-time-input.scss +206 -0
- package/tokens/versions/latest/sass/_md-comp-time-picker.scss +257 -0
- package/tokens/versions/latest/sass/_md-comp-toolbar-docked.scss +36 -0
- package/tokens/versions/latest/sass/_md-comp-toolbar-floating-fab.scss +51 -0
- package/tokens/versions/latest/sass/_md-comp-toolbar-floating.scss +75 -0
- package/tokens/versions/latest/sass/_md-comp-toolbar-standard.scss +87 -0
- package/tokens/versions/latest/sass/_md-comp-toolbar-vibrant.scss +87 -0
- package/tokens/versions/latest/sass/_md-comp-top-app-bar-large.scss +92 -0
- package/tokens/versions/latest/sass/_md-comp-top-app-bar-medium.scss +92 -0
- package/tokens/versions/latest/sass/_md-comp-top-app-bar-small-centered.scss +112 -0
- package/tokens/versions/latest/sass/_md-comp-top-app-bar-small.scss +104 -0
- package/tokens/versions/latest/sass/_md-fab-surface-small.scss +139 -0
- package/tokens/versions/latest/sass/_md-outlined-icon-button.scss +166 -0
- package/tokens/versions/latest/sass/_md-ref-palette.scss +495 -0
- package/tokens/versions/latest/sass/_md-ref-typeface.scss +27 -0
- package/tokens/versions/latest/sass/_md-sys-color.scss +209 -0
- package/tokens/versions/latest/sass/_md-sys-color__dark.scss +209 -0
- package/tokens/versions/latest/sass/_md-sys-color__dark__high-contrast.scss +209 -0
- package/tokens/versions/latest/sass/_md-sys-color__dark__medium-contrast.scss +209 -0
- package/tokens/versions/latest/sass/_md-sys-color__high-contrast.scss +209 -0
- package/tokens/versions/latest/sass/_md-sys-color__medium-contrast.scss +209 -0
- package/tokens/versions/latest/sass/_md-sys-elevation.scss +35 -0
- package/tokens/versions/latest/sass/_md-sys-motion.scss +107 -0
- package/tokens/versions/latest/sass/_md-sys-shape.scss +67 -0
- package/tokens/versions/latest/sass/_md-sys-state-focus-indicator.scss +23 -0
- package/tokens/versions/latest/sass/_md-sys-state.scss +27 -0
- package/tokens/versions/latest/sass/_md-sys-typescale-emphasized.scss +559 -0
- package/tokens/versions/latest/sass/_md-sys-typescale.scss +571 -0
- package/tokens/versions/v0_192/_index.scss +107 -0
- package/tokens/versions/v0_192/_md-comp-assist-chip.scss +111 -0
- package/tokens/versions/v0_192/_md-comp-badge.scss +61 -0
- package/tokens/versions/v0_192/_md-comp-banner.scss +76 -0
- package/tokens/versions/v0_192/_md-comp-bottom-app-bar.scss +36 -0
- package/tokens/versions/v0_192/_md-comp-carousel-item.scss +66 -0
- package/tokens/versions/v0_192/_md-comp-checkbox.scss +129 -0
- package/tokens/versions/v0_192/_md-comp-circular-progress-indicator.scss +41 -0
- package/tokens/versions/v0_192/_md-comp-data-table.scss +99 -0
- package/tokens/versions/v0_192/_md-comp-date-input-modal.scss +90 -0
- package/tokens/versions/v0_192/_md-comp-date-picker-docked.scss +247 -0
- package/tokens/versions/v0_192/_md-comp-date-picker-modal.scss +306 -0
- package/tokens/versions/v0_192/_md-comp-dialog.scss +124 -0
- package/tokens/versions/v0_192/_md-comp-divider.scss +28 -0
- package/tokens/versions/v0_192/_md-comp-elevated-button.scss +92 -0
- package/tokens/versions/v0_192/_md-comp-elevated-card.scss +60 -0
- package/tokens/versions/v0_192/_md-comp-extended-fab-branded.scss +89 -0
- package/tokens/versions/v0_192/_md-comp-extended-fab-primary.scss +97 -0
- package/tokens/versions/v0_192/_md-comp-extended-fab-secondary.scss +98 -0
- package/tokens/versions/v0_192/_md-comp-extended-fab-surface.scss +93 -0
- package/tokens/versions/v0_192/_md-comp-extended-fab-tertiary.scss +98 -0
- package/tokens/versions/v0_192/_md-comp-fab-branded-large.scss +63 -0
- package/tokens/versions/v0_192/_md-comp-fab-branded.scss +63 -0
- package/tokens/versions/v0_192/_md-comp-fab-primary-large.scss +68 -0
- package/tokens/versions/v0_192/_md-comp-fab-primary-small.scss +68 -0
- package/tokens/versions/v0_192/_md-comp-fab-primary.scss +68 -0
- package/tokens/versions/v0_192/_md-comp-fab-secondary-large.scss +69 -0
- package/tokens/versions/v0_192/_md-comp-fab-secondary-small.scss +69 -0
- package/tokens/versions/v0_192/_md-comp-fab-secondary.scss +69 -0
- package/tokens/versions/v0_192/_md-comp-fab-surface-large.scss +67 -0
- package/tokens/versions/v0_192/_md-comp-fab-surface-small.scss +67 -0
- package/tokens/versions/v0_192/_md-comp-fab-surface.scss +67 -0
- package/tokens/versions/v0_192/_md-comp-fab-tertiary-large.scss +69 -0
- package/tokens/versions/v0_192/_md-comp-fab-tertiary-small.scss +69 -0
- package/tokens/versions/v0_192/_md-comp-fab-tertiary.scss +69 -0
- package/tokens/versions/v0_192/_md-comp-filled-autocomplete.scss +239 -0
- package/tokens/versions/v0_192/_md-comp-filled-button.scss +92 -0
- package/tokens/versions/v0_192/_md-comp-filled-card.scss +62 -0
- package/tokens/versions/v0_192/_md-comp-filled-icon-button.scss +83 -0
- package/tokens/versions/v0_192/_md-comp-filled-menu-button.scss +101 -0
- package/tokens/versions/v0_192/_md-comp-filled-select.scss +273 -0
- package/tokens/versions/v0_192/_md-comp-filled-text-field.scss +193 -0
- package/tokens/versions/v0_192/_md-comp-filled-tonal-button.scss +102 -0
- package/tokens/versions/v0_192/_md-comp-filled-tonal-icon-button.scss +90 -0
- package/tokens/versions/v0_192/_md-comp-filter-chip.scss +210 -0
- package/tokens/versions/v0_192/_md-comp-full-screen-dialog.scss +114 -0
- package/tokens/versions/v0_192/_md-comp-icon-button.scss +74 -0
- package/tokens/versions/v0_192/_md-comp-input-chip.scss +187 -0
- package/tokens/versions/v0_192/_md-comp-linear-progress-indicator.scss +43 -0
- package/tokens/versions/v0_192/_md-comp-list.scss +255 -0
- package/tokens/versions/v0_192/_md-comp-menu.scss +44 -0
- package/tokens/versions/v0_192/_md-comp-navigation-bar.scss +115 -0
- package/tokens/versions/v0_192/_md-comp-navigation-drawer.scss +165 -0
- package/tokens/versions/v0_192/_md-comp-navigation-rail.scss +119 -0
- package/tokens/versions/v0_192/_md-comp-outlined-autocomplete.scss +229 -0
- package/tokens/versions/v0_192/_md-comp-outlined-button.scss +87 -0
- package/tokens/versions/v0_192/_md-comp-outlined-card.scss +66 -0
- package/tokens/versions/v0_192/_md-comp-outlined-icon-button.scss +83 -0
- package/tokens/versions/v0_192/_md-comp-outlined-menu-button.scss +97 -0
- package/tokens/versions/v0_192/_md-comp-outlined-segmented-button.scss +115 -0
- package/tokens/versions/v0_192/_md-comp-outlined-select.scss +263 -0
- package/tokens/versions/v0_192/_md-comp-outlined-text-field.scss +174 -0
- package/tokens/versions/v0_192/_md-comp-plain-tooltip.scss +58 -0
- package/tokens/versions/v0_192/_md-comp-primary-navigation-tab.scss +124 -0
- package/tokens/versions/v0_192/_md-comp-radio-button.scss +71 -0
- package/tokens/versions/v0_192/_md-comp-rich-tooltip.scss +122 -0
- package/tokens/versions/v0_192/_md-comp-scrim.scss +28 -0
- package/tokens/versions/v0_192/_md-comp-search-bar.scss +100 -0
- package/tokens/versions/v0_192/_md-comp-search-view.scss +94 -0
- package/tokens/versions/v0_192/_md-comp-secondary-navigation-tab.scss +87 -0
- package/tokens/versions/v0_192/_md-comp-sheet-bottom.scss +46 -0
- package/tokens/versions/v0_192/_md-comp-sheet-floating.scss +35 -0
- package/tokens/versions/v0_192/_md-comp-sheet-side.scss +94 -0
- package/tokens/versions/v0_192/_md-comp-slider.scss +118 -0
- package/tokens/versions/v0_192/_md-comp-snackbar.scss +130 -0
- package/tokens/versions/v0_192/_md-comp-standard-menu-button.scss +101 -0
- package/tokens/versions/v0_192/_md-comp-suggestion-chip.scss +127 -0
- package/tokens/versions/v0_192/_md-comp-switch.scss +141 -0
- package/tokens/versions/v0_192/_md-comp-text-button.scss +80 -0
- package/tokens/versions/v0_192/_md-comp-time-input.scss +220 -0
- package/tokens/versions/v0_192/_md-comp-time-picker.scss +267 -0
- package/tokens/versions/v0_192/_md-comp-top-app-bar-large.scss +64 -0
- package/tokens/versions/v0_192/_md-comp-top-app-bar-medium.scss +64 -0
- package/tokens/versions/v0_192/_md-comp-top-app-bar-small-centered.scss +71 -0
- package/tokens/versions/v0_192/_md-comp-top-app-bar-small.scss +67 -0
- package/tokens/versions/v0_192/_md-ref-palette.scss +109 -0
- package/tokens/versions/v0_192/_md-ref-typeface.scss +23 -0
- package/tokens/versions/v0_192/_md-sys-color.scss +135 -0
- package/tokens/versions/v0_192/_md-sys-elevation.scss +24 -0
- package/tokens/versions/v0_192/_md-sys-motion.scss +55 -0
- package/tokens/versions/v0_192/_md-sys-shape.scss +33 -0
- package/tokens/versions/v0_192/_md-sys-state.scss +22 -0
- package/tokens/versions/v0_192/_md-sys-typescale.scss +286 -0
- package/tokens/versions/v0_192/index.test.scss +584 -0
- package/tokens/versions/v0_192/lib.test.scss +663 -0
- package/types/command-event.d.ts +22 -0
- package/types/css-imports.d.ts +12 -0
- package/types/popover.d.ts +22 -0
- package/internal/sass/_string-ext.scss +0 -195
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2026 Google LLC
|
|
3
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
//
|
|
5
|
+
|
|
6
|
+
// go/keep-sorted start by_regex='(.+) prefix_order=sass:
|
|
7
|
+
@use 'sass:meta';
|
|
8
|
+
@use '../../../../../sass/ext/map_ext';
|
|
9
|
+
@use '../../../../../tokens/versions/latest/sass/md-ref-palette';
|
|
10
|
+
@use '../../../../../tokens/versions/latest/sass/md-sys-color';
|
|
11
|
+
@use '../../../../../tokens/versions/latest/sass/md-sys-color-meta';
|
|
12
|
+
@use '../../../../../tokens/versions/latest/sass/md-sys-color__dark';
|
|
13
|
+
@use '../../../../../tokens/versions/latest/sass/md-sys-color__dark-meta';
|
|
14
|
+
// go/keep-sorted end
|
|
15
|
+
|
|
16
|
+
@mixin emit-custom-properties(
|
|
17
|
+
$light-vars: meta.module-variables(md-sys-color),
|
|
18
|
+
$light-meta: meta.module-variables(md-sys-color-meta),
|
|
19
|
+
$dark-vars: meta.module-variables(md-sys-color__dark),
|
|
20
|
+
$dark-meta: meta.module-variables(md-sys-color__dark-meta),
|
|
21
|
+
$include-palette: false,
|
|
22
|
+
$palette-vars: meta.module-variables(md-ref-palette),
|
|
23
|
+
) {
|
|
24
|
+
$color-tokens: (
|
|
25
|
+
'primary',
|
|
26
|
+
'on-primary',
|
|
27
|
+
'primary-container',
|
|
28
|
+
'on-primary-container',
|
|
29
|
+
'primary-fixed',
|
|
30
|
+
'primary-fixed-dim',
|
|
31
|
+
'on-primary-fixed',
|
|
32
|
+
'on-primary-fixed-variant',
|
|
33
|
+
'secondary',
|
|
34
|
+
'on-secondary',
|
|
35
|
+
'secondary-container',
|
|
36
|
+
'on-secondary-container',
|
|
37
|
+
'secondary-fixed',
|
|
38
|
+
'secondary-fixed-dim',
|
|
39
|
+
'on-secondary-fixed',
|
|
40
|
+
'on-secondary-fixed-variant',
|
|
41
|
+
'tertiary',
|
|
42
|
+
'on-tertiary',
|
|
43
|
+
'tertiary-container',
|
|
44
|
+
'on-tertiary-container',
|
|
45
|
+
'tertiary-fixed',
|
|
46
|
+
'tertiary-fixed-dim',
|
|
47
|
+
'on-tertiary-fixed',
|
|
48
|
+
'on-tertiary-fixed-variant',
|
|
49
|
+
'error',
|
|
50
|
+
'on-error',
|
|
51
|
+
'error-container',
|
|
52
|
+
'on-error-container',
|
|
53
|
+
'surface',
|
|
54
|
+
'surface-dim',
|
|
55
|
+
'surface-bright',
|
|
56
|
+
'surface-container-lowest',
|
|
57
|
+
'surface-container-low',
|
|
58
|
+
'surface-container',
|
|
59
|
+
'surface-container-high',
|
|
60
|
+
'surface-container-highest',
|
|
61
|
+
'on-surface',
|
|
62
|
+
'on-surface-variant',
|
|
63
|
+
'outline',
|
|
64
|
+
'outline-variant',
|
|
65
|
+
'inverse-surface',
|
|
66
|
+
'inverse-on-surface',
|
|
67
|
+
'inverse-primary',
|
|
68
|
+
'scrim',
|
|
69
|
+
'shadow',
|
|
70
|
+
);
|
|
71
|
+
|
|
72
|
+
@each $name in $color-tokens {
|
|
73
|
+
$light: map_ext.get-strict($light-vars, $name);
|
|
74
|
+
$dark: map_ext.get-strict($dark-vars, $name);
|
|
75
|
+
|
|
76
|
+
@if $include-palette {
|
|
77
|
+
// Change value to reference palette variables.
|
|
78
|
+
$light: map_ext.get-strict($light-meta, '#{$name}--resolved');
|
|
79
|
+
$dark: map_ext.get-strict($dark-meta, '#{$name}--resolved');
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
$value: $light;
|
|
83
|
+
@if $light != $dark {
|
|
84
|
+
$value: light-dark($light, $dark);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
--md-sys-color-#{$name}: #{$value};
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
@if $include-palette {
|
|
91
|
+
@each $name, $value in $palette-vars {
|
|
92
|
+
--md-ref-palette-#{$name}: #{$value};
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2026 Google LLC
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
// go/keep-sorted start by_regex='(.+) prefix_order=sass:
|
|
7
|
+
@use 'internal/color-tokens';
|
|
8
|
+
// go/keep-sorted end
|
|
9
|
+
|
|
10
|
+
@layer md.sys.color {
|
|
11
|
+
:root {
|
|
12
|
+
color-scheme: light dark;
|
|
13
|
+
@include color-tokens.emit-custom-properties(
|
|
14
|
+
$include-palette: true,
|
|
15
|
+
);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2026 Google LLC
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
// go/keep-sorted start by_regex='(.+) prefix_order=sass:
|
|
7
|
+
@use 'internal/color-tokens';
|
|
8
|
+
// go/keep-sorted end
|
|
9
|
+
|
|
10
|
+
@layer md.sys.color {
|
|
11
|
+
:root {
|
|
12
|
+
color-scheme: light dark;
|
|
13
|
+
@include color-tokens.emit-custom-properties;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2026 Google LLC
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
@layer md.sys.elevation {
|
|
7
|
+
:root {
|
|
8
|
+
--md-sys-elevation-shadow-0: none;
|
|
9
|
+
--md-sys-elevation-shadow-1:
|
|
10
|
+
0 1px 2px 0 hsl(from var(--md-sys-color-shadow) h s l / 0.3),
|
|
11
|
+
0 1px 3px 1px hsl(from var(--md-sys-color-shadow) h s l / 0.15);
|
|
12
|
+
--md-sys-elevation-shadow-2:
|
|
13
|
+
0 1px 2px 0 hsl(from var(--md-sys-color-shadow) h s l / 0.3),
|
|
14
|
+
0 2px 6px 2px hsl(from var(--md-sys-color-shadow) h s l / 0.15);
|
|
15
|
+
--md-sys-elevation-shadow-3:
|
|
16
|
+
0 1px 3px 0 hsl(from var(--md-sys-color-shadow) h s l / 0.3),
|
|
17
|
+
0 4px 8px 3px hsl(from var(--md-sys-color-shadow) h s l / 0.15);
|
|
18
|
+
--md-sys-elevation-shadow-4:
|
|
19
|
+
0 2px 3px 0 hsl(from var(--md-sys-color-shadow) h s l / 0.3),
|
|
20
|
+
0 6px 10px 4px hsl(from var(--md-sys-color-shadow) h s l / 0.15);
|
|
21
|
+
--md-sys-elevation-shadow-5:
|
|
22
|
+
0 4px 4px 0 hsl(from var(--md-sys-color-shadow) h s l / 0.3),
|
|
23
|
+
0 8px 12px 6px hsl(from var(--md-sys-color-shadow) h s l / 0.15);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2026 Google LLC
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
@property --md-icon-font {
|
|
7
|
+
syntax: '<string>#';
|
|
8
|
+
inherits: true;
|
|
9
|
+
initial-value: 'Material Symbols';
|
|
10
|
+
}
|
|
11
|
+
@property --md-icon-color {
|
|
12
|
+
syntax: '<color>';
|
|
13
|
+
inherits: true;
|
|
14
|
+
initial-value: currentColor;
|
|
15
|
+
}
|
|
16
|
+
@property --md-icon-size {
|
|
17
|
+
syntax: '<length-percentage>';
|
|
18
|
+
inherits: true;
|
|
19
|
+
initial-value: 24px;
|
|
20
|
+
}
|
|
21
|
+
@property --md-icon-opsz {
|
|
22
|
+
syntax: '<number>';
|
|
23
|
+
inherits: true;
|
|
24
|
+
initial-value: 24;
|
|
25
|
+
}
|
|
26
|
+
@property --md-icon-wght {
|
|
27
|
+
syntax: '<number>';
|
|
28
|
+
inherits: true;
|
|
29
|
+
initial-value: 400;
|
|
30
|
+
}
|
|
31
|
+
@property --md-icon-fill {
|
|
32
|
+
syntax: '<number>';
|
|
33
|
+
inherits: true;
|
|
34
|
+
initial-value: 0;
|
|
35
|
+
}
|
|
36
|
+
@property --md-icon-grad {
|
|
37
|
+
syntax: '<number>';
|
|
38
|
+
inherits: true;
|
|
39
|
+
initial-value: 0;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@layer md.sys.icon {
|
|
43
|
+
.md-icon,
|
|
44
|
+
:host(.md-icon) {
|
|
45
|
+
display: inline-flex;
|
|
46
|
+
place-items: center;
|
|
47
|
+
place-content: center;
|
|
48
|
+
overflow: hidden;
|
|
49
|
+
color: var(--md-icon-color);
|
|
50
|
+
fill: var(--md-icon-color);
|
|
51
|
+
aspect-ratio: 1;
|
|
52
|
+
min-width: var(--md-icon-size);
|
|
53
|
+
max-width: var(--md-icon-size);
|
|
54
|
+
font-size: var(--md-icon-size);
|
|
55
|
+
font-family: var(--md-icon-font);
|
|
56
|
+
font-variation-settings:
|
|
57
|
+
'opsz' var(--md-icon-opsz),
|
|
58
|
+
'wght' var(--md-icon-wght),
|
|
59
|
+
'FILL' var(--md-icon-fill),
|
|
60
|
+
'GRAD' var(--md-icon-grad);
|
|
61
|
+
-webkit-font-smoothing: antialiased;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2026 Google LLC
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
// go/keep-sorted start by_regex='(.+) prefix_order=sass:
|
|
7
|
+
@import 'color/md-color-tokens';
|
|
8
|
+
@import 'elevation/md-elevation-tokens';
|
|
9
|
+
@import 'icon/md-icon';
|
|
10
|
+
@import 'motion/md-motion-tokens-easing';
|
|
11
|
+
@import 'shape/md-shape-tokens';
|
|
12
|
+
@import 'space/md-space-tokens';
|
|
13
|
+
@import 'typography/md-typography-tokens';
|
|
14
|
+
// go/keep-sorted end
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2026 Google LLC
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
// go/keep-sorted start by_regex='(.+) prefix_order=sass:
|
|
7
|
+
@use '../../../../tokens/versions/latest/sass' as tokens;
|
|
8
|
+
// go/keep-sorted end
|
|
9
|
+
|
|
10
|
+
@layer md.sys.motion {
|
|
11
|
+
:root {
|
|
12
|
+
--md-sys-motion-easing-standard: #{tokens.$md-sys-motion--easing-standard};
|
|
13
|
+
--md-sys-motion-easing-standard-accelerate: #{tokens.$md-sys-motion--easing-standard-accelerate};
|
|
14
|
+
--md-sys-motion-easing-standard-decelerate: #{tokens.$md-sys-motion--easing-standard-decelerate};
|
|
15
|
+
--md-sys-motion-easing-emphasized: #{tokens.$md-sys-motion--easing-emphasized};
|
|
16
|
+
--md-sys-motion-easing-emphasized-accelerate: #{tokens.$md-sys-motion--easing-emphasized-accelerate};
|
|
17
|
+
--md-sys-motion-easing-emphasized-decelerate: #{tokens.$md-sys-motion--easing-emphasized-decelerate};
|
|
18
|
+
--md-sys-motion-duration-short1: #{tokens.$md-sys-motion--duration-short1};
|
|
19
|
+
--md-sys-motion-duration-short2: #{tokens.$md-sys-motion--duration-short2};
|
|
20
|
+
--md-sys-motion-duration-short3: #{tokens.$md-sys-motion--duration-short3};
|
|
21
|
+
--md-sys-motion-duration-short4: #{tokens.$md-sys-motion--duration-short4};
|
|
22
|
+
--md-sys-motion-duration-medium1: #{tokens.$md-sys-motion--duration-medium1};
|
|
23
|
+
--md-sys-motion-duration-medium2: #{tokens.$md-sys-motion--duration-medium2};
|
|
24
|
+
--md-sys-motion-duration-medium3: #{tokens.$md-sys-motion--duration-medium3};
|
|
25
|
+
--md-sys-motion-duration-medium4: #{tokens.$md-sys-motion--duration-medium4};
|
|
26
|
+
--md-sys-motion-duration-long1: #{tokens.$md-sys-motion--duration-long1};
|
|
27
|
+
--md-sys-motion-duration-long2: #{tokens.$md-sys-motion--duration-long2};
|
|
28
|
+
--md-sys-motion-duration-long3: #{tokens.$md-sys-motion--duration-long3};
|
|
29
|
+
--md-sys-motion-duration-long4: #{tokens.$md-sys-motion--duration-long4};
|
|
30
|
+
--md-sys-motion-duration-extra-long1: #{tokens.$md-sys-motion--duration-extra-long1};
|
|
31
|
+
--md-sys-motion-duration-extra-long2: #{tokens.$md-sys-motion--duration-extra-long2};
|
|
32
|
+
--md-sys-motion-duration-extra-long3: #{tokens.$md-sys-motion--duration-extra-long3};
|
|
33
|
+
--md-sys-motion-duration-extra-long4: #{tokens.$md-sys-motion--duration-extra-long4};
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2026 Google LLC
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
// go/keep-sorted start by_regex='(.+) prefix_order=sass:
|
|
7
|
+
@use '../../../../tokens/versions/latest/sass' as tokens;
|
|
8
|
+
// go/keep-sorted end
|
|
9
|
+
|
|
10
|
+
@layer md.sys.shape {
|
|
11
|
+
:root {
|
|
12
|
+
--md-sys-shape-corner-none: #{tokens.$md-sys-shape--corner-none};
|
|
13
|
+
--md-sys-shape-corner-xs: #{tokens.$md-sys-shape--corner-extra-small};
|
|
14
|
+
--md-sys-shape-corner-sm: #{tokens.$md-sys-shape--corner-small};
|
|
15
|
+
--md-sys-shape-corner-md: #{tokens.$md-sys-shape--corner-medium};
|
|
16
|
+
--md-sys-shape-corner-lg: #{tokens.$md-sys-shape--corner-large};
|
|
17
|
+
--md-sys-shape-corner-lg-increased: #{tokens.$md-sys-shape--corner-large-increased};
|
|
18
|
+
--md-sys-shape-corner-xl: #{tokens.$md-sys-shape--corner-extra-large};
|
|
19
|
+
--md-sys-shape-corner-xl-increased: #{tokens.$md-sys-shape--corner-extra-large-increased};
|
|
20
|
+
--md-sys-shape-corner-xxl: #{tokens.$md-sys-shape--corner-extra-extra-large};
|
|
21
|
+
--md-sys-shape-corner-full: 50cqmin;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2026 Google LLC
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
@layer md.sys.space {
|
|
7
|
+
:root {
|
|
8
|
+
--md-sys-space-unit: 8px;
|
|
9
|
+
--md-sys-space-0: calc(var(--md-sys-space-unit) * 0);
|
|
10
|
+
--md-sys-space-25: calc(var(--md-sys-space-unit) * 0.25);
|
|
11
|
+
--md-sys-space-50: calc(var(--md-sys-space-unit) * 0.5);
|
|
12
|
+
--md-sys-space-75: calc(var(--md-sys-space-unit) * 0.75);
|
|
13
|
+
--md-sys-space-100: var(--md-sys-space-unit);
|
|
14
|
+
--md-sys-space-125: calc(var(--md-sys-space-unit) * 1.25);
|
|
15
|
+
--md-sys-space-150: calc(var(--md-sys-space-unit) * 1.5);
|
|
16
|
+
--md-sys-space-175: calc(var(--md-sys-space-unit) * 1.75);
|
|
17
|
+
--md-sys-space-200: calc(var(--md-sys-space-unit) * 2);
|
|
18
|
+
--md-sys-space-250: calc(var(--md-sys-space-unit) * 2.5);
|
|
19
|
+
--md-sys-space-300: calc(var(--md-sys-space-unit) * 3);
|
|
20
|
+
--md-sys-space-400: calc(var(--md-sys-space-unit) * 4);
|
|
21
|
+
--md-sys-space-450: calc(var(--md-sys-space-unit) * 4.5);
|
|
22
|
+
--md-sys-space-500: calc(var(--md-sys-space-unit) * 5);
|
|
23
|
+
--md-sys-space-600: calc(var(--md-sys-space-unit) * 6);
|
|
24
|
+
--md-sys-space-700: calc(var(--md-sys-space-unit) * 7);
|
|
25
|
+
--md-sys-space-800: calc(var(--md-sys-space-unit) * 8);
|
|
26
|
+
--md-sys-space-900: calc(var(--md-sys-space-unit) * 9);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,349 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2026 Google LLC
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
// stylelint-disable scss/at-rule-no-unknown -- Uses TailwindCSS at-rules.
|
|
7
|
+
|
|
8
|
+
// Cascade `md` layer between `base` reset styles and `utilities` for overrides.
|
|
9
|
+
@layer theme, base, md, components, utilities;
|
|
10
|
+
// Non-inline theme to preserve Tailwind's default 4px spacing convention.
|
|
11
|
+
@theme {
|
|
12
|
+
--spacing: calc(var(--md-sys-space-unit) / 2);
|
|
13
|
+
}
|
|
14
|
+
// Inline theme to replace Tailwind's default custom properties.
|
|
15
|
+
@theme inline {
|
|
16
|
+
// Color
|
|
17
|
+
#{'--color-*'}: initial; // Do not use Tailwind's default color utilities.
|
|
18
|
+
--color-primary: var(--md-sys-color-primary);
|
|
19
|
+
--color-on-primary: var(--md-sys-color-on-primary);
|
|
20
|
+
--color-primary-container: var(--md-sys-color-primary-container);
|
|
21
|
+
--color-on-primary-container: var(--md-sys-color-on-primary-container);
|
|
22
|
+
--color-primary-fixed: var(--md-sys-color-primary-fixed);
|
|
23
|
+
--color-primary-fixed-dim: var(--md-sys-color-primary-fixed-dim);
|
|
24
|
+
--color-on-primary-fixed: var(--md-sys-color-on-primary-fixed);
|
|
25
|
+
--color-on-primary-fixed-variant: var(
|
|
26
|
+
--md-sys-color-on-primary-fixed-variant
|
|
27
|
+
);
|
|
28
|
+
--color-secondary: var(--md-sys-color-secondary);
|
|
29
|
+
--color-on-secondary: var(--md-sys-color-on-secondary);
|
|
30
|
+
--color-secondary-container: var(--md-sys-color-secondary-container);
|
|
31
|
+
--color-on-secondary-container: var(--md-sys-color-on-secondary-container);
|
|
32
|
+
--color-secondary-fixed: var(--md-sys-color-secondary-fixed);
|
|
33
|
+
--color-secondary-fixed-dim: var(--md-sys-color-secondary-fixed-dim);
|
|
34
|
+
--color-on-secondary-fixed: var(--md-sys-color-on-secondary-fixed);
|
|
35
|
+
--color-on-secondary-fixed-variant: var(
|
|
36
|
+
--md-sys-color-on-secondary-fixed-variant
|
|
37
|
+
);
|
|
38
|
+
--color-tertiary: var(--md-sys-color-tertiary);
|
|
39
|
+
--color-on-tertiary: var(--md-sys-color-on-tertiary);
|
|
40
|
+
--color-tertiary-container: var(--md-sys-color-tertiary-container);
|
|
41
|
+
--color-on-tertiary-container: var(--md-sys-color-on-tertiary-container);
|
|
42
|
+
--color-tertiary-fixed: var(--md-sys-color-tertiary-fixed);
|
|
43
|
+
--color-tertiary-fixed-dim: var(--md-sys-color-tertiary-fixed-dim);
|
|
44
|
+
--color-on-tertiary-fixed: var(--md-sys-color-on-tertiary-fixed);
|
|
45
|
+
--color-on-tertiary-fixed-variant: var(
|
|
46
|
+
--md-sys-color-on-tertiary-fixed-variant
|
|
47
|
+
);
|
|
48
|
+
--color-error: var(--md-sys-color-error);
|
|
49
|
+
--color-on-error: var(--md-sys-color-on-error);
|
|
50
|
+
--color-error-container: var(--md-sys-color-error-container);
|
|
51
|
+
--color-on-error-container: var(--md-sys-color-on-error-container);
|
|
52
|
+
--color-surface: var(--md-sys-color-surface);
|
|
53
|
+
--color-surface-dim: var(--md-sys-color-surface-dim);
|
|
54
|
+
--color-surface-bright: var(--md-sys-color-surface-bright);
|
|
55
|
+
--color-surface-container-lowest: var(
|
|
56
|
+
--md-sys-color-surface-container-lowest
|
|
57
|
+
);
|
|
58
|
+
--color-surface-container-low: var(--md-sys-color-surface-container-low);
|
|
59
|
+
--color-surface-container: var(--md-sys-color-surface-container);
|
|
60
|
+
--color-surface-container-high: var(--md-sys-color-surface-container-high);
|
|
61
|
+
--color-surface-container-highest: var(
|
|
62
|
+
--md-sys-color-surface-container-highest
|
|
63
|
+
);
|
|
64
|
+
--color-on-surface: var(--md-sys-color-on-surface);
|
|
65
|
+
--color-on-surface-variant: var(--md-sys-color-on-surface-variant);
|
|
66
|
+
--color-outline: var(--md-sys-color-outline);
|
|
67
|
+
--color-outline-variant: var(--md-sys-color-outline-variant);
|
|
68
|
+
--color-inverse-surface: var(--md-sys-color-inverse-surface);
|
|
69
|
+
--color-inverse-on-surface: var(--md-sys-color-inverse-on-surface);
|
|
70
|
+
--color-inverse-primary: var(--md-sys-color-inverse-primary);
|
|
71
|
+
--color-scrim: var(--md-sys-color-scrim);
|
|
72
|
+
--color-shadow: var(--md-sys-color-shadow);
|
|
73
|
+
|
|
74
|
+
// Typography
|
|
75
|
+
#{'--font-*'}: initial; // Do not use Tailwind's default font utilities.
|
|
76
|
+
--font-brand: var(--md-ref-typeface-brand);
|
|
77
|
+
--font-plain: var(--md-ref-typeface-plain);
|
|
78
|
+
--font-weight-normal: var(--md-ref-typeface-weight-regular);
|
|
79
|
+
--font-weight-medium: var(--md-ref-typeface-weight-medium);
|
|
80
|
+
--font-weight-bold: var(--md-ref-typeface-weight-bold);
|
|
81
|
+
#{'--text-*'}: initial; // Do not use Tailwind's default text utilities.
|
|
82
|
+
#{'--tracking-*'}: initial;
|
|
83
|
+
#{'--leading-*'}: initial;
|
|
84
|
+
// Use the `typescale-<name>-<size>` utility to apply typography tokens.
|
|
85
|
+
--typescale-label-sm: var(--md-sys-typescale-label-sm);
|
|
86
|
+
--typescale-label-sm-tracking: var(--md-sys-typescale-label-sm-tracking);
|
|
87
|
+
--typescale-label-sm-axes: var(--md-sys-typescale-label-sm-axes);
|
|
88
|
+
--typescale-label-md: var(--md-sys-typescale-label-md);
|
|
89
|
+
--typescale-label-md-tracking: var(--md-sys-typescale-label-md-tracking);
|
|
90
|
+
--typescale-label-md-axes: var(--md-sys-typescale-label-md-axes);
|
|
91
|
+
--typescale-label-lg: var(--md-sys-typescale-label-lg);
|
|
92
|
+
--typescale-label-lg-tracking: var(--md-sys-typescale-label-lg-tracking);
|
|
93
|
+
--typescale-label-lg-axes: var(--md-sys-typescale-label-lg-axes);
|
|
94
|
+
--typescale-body-sm: var(--md-sys-typescale-body-sm);
|
|
95
|
+
--typescale-body-sm-tracking: var(--md-sys-typescale-body-sm-tracking);
|
|
96
|
+
--typescale-body-sm-axes: var(--md-sys-typescale-body-sm-axes);
|
|
97
|
+
--typescale-body-md: var(--md-sys-typescale-body-md);
|
|
98
|
+
--typescale-body-md-tracking: var(--md-sys-typescale-body-md-tracking);
|
|
99
|
+
--typescale-body-md-axes: var(--md-sys-typescale-body-md-axes);
|
|
100
|
+
--typescale-body-lg: var(--md-sys-typescale-body-lg);
|
|
101
|
+
--typescale-body-lg-tracking: var(--md-sys-typescale-body-lg-tracking);
|
|
102
|
+
--typescale-body-lg-axes: var(--md-sys-typescale-body-lg-axes);
|
|
103
|
+
--typescale-title-sm: var(--md-sys-typescale-title-sm);
|
|
104
|
+
--typescale-title-sm-tracking: var(--md-sys-typescale-title-sm-tracking);
|
|
105
|
+
--typescale-title-sm-axes: var(--md-sys-typescale-title-sm-axes);
|
|
106
|
+
--typescale-title-md: var(--md-sys-typescale-title-md);
|
|
107
|
+
--typescale-title-md-tracking: var(--md-sys-typescale-title-md-tracking);
|
|
108
|
+
--typescale-title-md-axes: var(--md-sys-typescale-title-md-axes);
|
|
109
|
+
--typescale-title-lg: var(--md-sys-typescale-title-lg);
|
|
110
|
+
--typescale-title-lg-tracking: var(--md-sys-typescale-title-lg-tracking);
|
|
111
|
+
--typescale-title-lg-axes: var(--md-sys-typescale-title-lg-axes);
|
|
112
|
+
--typescale-headline-sm: var(--md-sys-typescale-headline-sm);
|
|
113
|
+
--typescale-headline-sm-tracking: var(
|
|
114
|
+
--md-sys-typescale-headline-sm-tracking
|
|
115
|
+
);
|
|
116
|
+
--typescale-headline-sm-axes: var(--md-sys-typescale-headline-sm-axes);
|
|
117
|
+
--typescale-headline-md: var(--md-sys-typescale-headline-md);
|
|
118
|
+
--typescale-headline-md-tracking: var(
|
|
119
|
+
--md-sys-typescale-headline-md-tracking
|
|
120
|
+
);
|
|
121
|
+
--typescale-headline-md-axes: var(--md-sys-typescale-headline-md-axes);
|
|
122
|
+
--typescale-headline-lg: var(--md-sys-typescale-headline-lg);
|
|
123
|
+
--typescale-headline-lg-tracking: var(
|
|
124
|
+
--md-sys-typescale-headline-lg-tracking
|
|
125
|
+
);
|
|
126
|
+
--typescale-headline-lg-axes: var(--md-sys-typescale-headline-lg-axes);
|
|
127
|
+
--typescale-display-sm: var(--md-sys-typescale-display-sm);
|
|
128
|
+
--typescale-display-sm-tracking: var(--md-sys-typescale-display-sm-tracking);
|
|
129
|
+
--typescale-display-sm-axes: var(--md-sys-typescale-display-sm-axes);
|
|
130
|
+
--typescale-display-md: var(--md-sys-typescale-display-md);
|
|
131
|
+
--typescale-display-md-tracking: var(--md-sys-typescale-display-md-tracking);
|
|
132
|
+
--typescale-display-md-axes: var(--md-sys-typescale-display-md-axes);
|
|
133
|
+
--typescale-display-lg: var(--md-sys-typescale-display-lg);
|
|
134
|
+
--typescale-display-lg-tracking: var(--md-sys-typescale-display-lg-tracking);
|
|
135
|
+
--typescale-display-lg-axes: var(--md-sys-typescale-display-lg-axes);
|
|
136
|
+
--typescale-emphasized-label-sm: var(--md-sys-typescale-emphasized-label-sm);
|
|
137
|
+
--typescale-emphasized-label-sm-axes: var(
|
|
138
|
+
--md-sys-typescale-emphasized-label-sm-axes
|
|
139
|
+
);
|
|
140
|
+
--typescale-emphasized-label-md: var(--md-sys-typescale-emphasized-label-md);
|
|
141
|
+
--typescale-emphasized-label-md-axes: var(
|
|
142
|
+
--md-sys-typescale-emphasized-label-md-axes
|
|
143
|
+
);
|
|
144
|
+
--typescale-emphasized-label-lg: var(--md-sys-typescale-emphasized-label-lg);
|
|
145
|
+
--typescale-emphasized-label-lg-axes: var(
|
|
146
|
+
--md-sys-typescale-emphasized-label-lg-axes
|
|
147
|
+
);
|
|
148
|
+
--typescale-emphasized-body-sm: var(--md-sys-typescale-emphasized-body-sm);
|
|
149
|
+
--typescale-emphasized-body-sm-axes: var(
|
|
150
|
+
--md-sys-typescale-emphasized-body-sm-axes
|
|
151
|
+
);
|
|
152
|
+
--typescale-emphasized-body-md: var(--md-sys-typescale-emphasized-body-md);
|
|
153
|
+
--typescale-emphasized-body-md-axes: var(
|
|
154
|
+
--md-sys-typescale-emphasized-body-md-axes
|
|
155
|
+
);
|
|
156
|
+
--typescale-emphasized-body-lg: var(--md-sys-typescale-emphasized-body-lg);
|
|
157
|
+
--typescale-emphasized-body-lg-axes: var(
|
|
158
|
+
--md-sys-typescale-emphasized-body-lg-axes
|
|
159
|
+
);
|
|
160
|
+
--typescale-emphasized-title-sm: var(--md-sys-typescale-emphasized-title-sm);
|
|
161
|
+
--typescale-emphasized-title-sm-axes: var(
|
|
162
|
+
--md-sys-typescale-emphasized-title-sm-axes
|
|
163
|
+
);
|
|
164
|
+
--typescale-emphasized-title-md: var(--md-sys-typescale-emphasized-title-md);
|
|
165
|
+
--typescale-emphasized-title-md-axes: var(
|
|
166
|
+
--md-sys-typescale-emphasized-title-md-axes
|
|
167
|
+
);
|
|
168
|
+
--typescale-emphasized-title-lg: var(--md-sys-typescale-emphasized-title-lg);
|
|
169
|
+
--typescale-emphasized-title-lg-axes: var(
|
|
170
|
+
--md-sys-typescale-emphasized-title-lg-axes
|
|
171
|
+
);
|
|
172
|
+
--typescale-emphasized-headline-sm: var(
|
|
173
|
+
--md-sys-typescale-emphasized-headline-sm
|
|
174
|
+
);
|
|
175
|
+
--typescale-emphasized-headline-sm-axes: var(
|
|
176
|
+
--md-sys-typescale-emphasized-headline-sm-axes
|
|
177
|
+
);
|
|
178
|
+
--typescale-emphasized-headline-md: var(
|
|
179
|
+
--md-sys-typescale-emphasized-headline-md
|
|
180
|
+
);
|
|
181
|
+
--typescale-emphasized-headline-md-axes: var(
|
|
182
|
+
--md-sys-typescale-emphasized-headline-md-axes
|
|
183
|
+
);
|
|
184
|
+
--typescale-emphasized-headline-lg: var(
|
|
185
|
+
--md-sys-typescale-emphasized-headline-lg
|
|
186
|
+
);
|
|
187
|
+
--typescale-emphasized-headline-lg-axes: var(
|
|
188
|
+
--md-sys-typescale-emphasized-headline-lg-axes
|
|
189
|
+
);
|
|
190
|
+
--typescale-emphasized-display-sm: var(
|
|
191
|
+
--md-sys-typescale-emphasized-display-sm
|
|
192
|
+
);
|
|
193
|
+
--typescale-emphasized-display-sm-axes: var(
|
|
194
|
+
--md-sys-typescale-emphasized-display-sm-axes
|
|
195
|
+
);
|
|
196
|
+
--typescale-emphasized-display-md: var(
|
|
197
|
+
--md-sys-typescale-emphasized-display-md
|
|
198
|
+
);
|
|
199
|
+
--typescale-emphasized-display-md-axes: var(
|
|
200
|
+
--md-sys-typescale-emphasized-display-md-axes
|
|
201
|
+
);
|
|
202
|
+
--typescale-emphasized-display-lg: var(
|
|
203
|
+
--md-sys-typescale-emphasized-display-lg
|
|
204
|
+
);
|
|
205
|
+
--typescale-emphasized-display-lg-axes: var(
|
|
206
|
+
--md-sys-typescale-emphasized-display-lg-axes
|
|
207
|
+
);
|
|
208
|
+
|
|
209
|
+
// Shape
|
|
210
|
+
--radius-xs: var(--md-sys-shape-corner-xs);
|
|
211
|
+
--radius-sm: var(--md-sys-shape-corner-sm);
|
|
212
|
+
--radius-md: var(--md-sys-shape-corner-md);
|
|
213
|
+
--radius-lg: var(--md-sys-shape-corner-lg);
|
|
214
|
+
--radius-xl: var(--md-sys-shape-corner-lg-increased);
|
|
215
|
+
--radius-2xl: var(--md-sys-shape-corner-xl);
|
|
216
|
+
--radius-3xl: var(--md-sys-shape-corner-xl-increased);
|
|
217
|
+
--radius-4xl: var(--md-sys-shape-corner-xxl);
|
|
218
|
+
|
|
219
|
+
// Elevation
|
|
220
|
+
--shadow-2xs: initial; // Material does not have a 2xs shadow.
|
|
221
|
+
--shadow-xs: var(--md-sys-elevation-shadow-1);
|
|
222
|
+
--shadow-sm: var(--md-sys-elevation-shadow-2);
|
|
223
|
+
--shadow-md: var(--md-sys-elevation-shadow-3);
|
|
224
|
+
--shadow-lg: var(--md-sys-elevation-shadow-4);
|
|
225
|
+
--shadow-xl: var(--md-sys-elevation-shadow-5);
|
|
226
|
+
--shadow-2xl: initial; // Material does not have a 2xl shadow.
|
|
227
|
+
|
|
228
|
+
// Space
|
|
229
|
+
--spacing-s0: var(--md-sys-space-0);
|
|
230
|
+
--spacing-s25: var(--md-sys-space-25);
|
|
231
|
+
--spacing-s50: var(--md-sys-space-50);
|
|
232
|
+
--spacing-s75: var(--md-sys-space-75);
|
|
233
|
+
--spacing-s100: var(--md-sys-space-100);
|
|
234
|
+
--spacing-s125: var(--md-sys-space-125);
|
|
235
|
+
--spacing-s150: var(--md-sys-space-150);
|
|
236
|
+
--spacing-s175: var(--md-sys-space-175);
|
|
237
|
+
--spacing-s200: var(--md-sys-space-200);
|
|
238
|
+
--spacing-s250: var(--md-sys-space-250);
|
|
239
|
+
--spacing-s300: var(--md-sys-space-300);
|
|
240
|
+
--spacing-s400: var(--md-sys-space-400);
|
|
241
|
+
--spacing-s450: var(--md-sys-space-450);
|
|
242
|
+
--spacing-s500: var(--md-sys-space-500);
|
|
243
|
+
--spacing-s600: var(--md-sys-space-600);
|
|
244
|
+
--spacing-s700: var(--md-sys-space-700);
|
|
245
|
+
--spacing-s800: var(--md-sys-space-800);
|
|
246
|
+
--spacing-s900: var(--md-sys-space-900);
|
|
247
|
+
|
|
248
|
+
// Breakpoints
|
|
249
|
+
--breakpoint-sm: 600px; // medium
|
|
250
|
+
--breakpoint-md: 840px; // expanded
|
|
251
|
+
--breakpoint-lg: 1200px; // large
|
|
252
|
+
--breakpoint-xl: 1600px; // extra-large
|
|
253
|
+
--breakpoint-2xl: initial; // Material does not have a 2xl breakpoint.
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
// Use the `typescale-<name>-<size>` utility to apply typography tokens.
|
|
257
|
+
@utility typescale-* {
|
|
258
|
+
font: #{'--value(--typescale-*)'};
|
|
259
|
+
letter-spacing: #{'--value(--typescale-*-tracking)'};
|
|
260
|
+
font-variation-settings: #{'--value(--typescale-*-axes)'};
|
|
261
|
+
}
|
|
262
|
+
@utility typescale-emphasized-* {
|
|
263
|
+
font: #{'--value(--typescale-emphasized-*)'};
|
|
264
|
+
letter-spacing: #{'--value(--typescale-*-tracking)'};
|
|
265
|
+
font-variation-settings: #{'--value(--typescale-emphasized-*-axes)'};
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
// Add Material spacing utilities for padding, margin, and gap.
|
|
269
|
+
@utility p-* {
|
|
270
|
+
padding: #{'--value(--spacing-*)'};
|
|
271
|
+
}
|
|
272
|
+
@utility px-* {
|
|
273
|
+
padding-inline: #{'--value(--spacing-*)'};
|
|
274
|
+
}
|
|
275
|
+
@utility py-* {
|
|
276
|
+
padding-block: #{'--value(--spacing-*)'};
|
|
277
|
+
}
|
|
278
|
+
@utility pl-* {
|
|
279
|
+
padding-inline-start: #{'--value(--spacing-*)'};
|
|
280
|
+
}
|
|
281
|
+
@utility ps-* {
|
|
282
|
+
padding-inline-start: #{'--value(--spacing-*)'};
|
|
283
|
+
}
|
|
284
|
+
@utility pe-* {
|
|
285
|
+
padding-inline-end: #{'--value(--spacing-*)'};
|
|
286
|
+
}
|
|
287
|
+
@utility pr-* {
|
|
288
|
+
padding-inline-end: #{'--value(--spacing-*)'};
|
|
289
|
+
}
|
|
290
|
+
@utility pt-* {
|
|
291
|
+
padding-block-start: #{'--value(--spacing-*)'};
|
|
292
|
+
}
|
|
293
|
+
@utility pbs-* {
|
|
294
|
+
padding-block-start: #{'--value(--spacing-*)'};
|
|
295
|
+
}
|
|
296
|
+
@utility pb-* {
|
|
297
|
+
padding-block-end: #{'--value(--spacing-*)'};
|
|
298
|
+
}
|
|
299
|
+
@utility pbe-* {
|
|
300
|
+
padding-block-end: #{'--value(--spacing-*)'};
|
|
301
|
+
}
|
|
302
|
+
@utility m-* {
|
|
303
|
+
margin: #{'--value(--spacing-*)'};
|
|
304
|
+
}
|
|
305
|
+
@utility mx-* {
|
|
306
|
+
margin-inline: #{'--value(--spacing-*)'};
|
|
307
|
+
}
|
|
308
|
+
@utility my-* {
|
|
309
|
+
margin-block: #{'--value(--spacing-*)'};
|
|
310
|
+
}
|
|
311
|
+
@utility ml-* {
|
|
312
|
+
margin-inline-start: #{'--value(--spacing-*)'};
|
|
313
|
+
}
|
|
314
|
+
@utility ms-* {
|
|
315
|
+
margin-inline-start: #{'--value(--spacing-*)'};
|
|
316
|
+
}
|
|
317
|
+
@utility me-* {
|
|
318
|
+
margin-inline-end: #{'--value(--spacing-*)'};
|
|
319
|
+
}
|
|
320
|
+
@utility mr-* {
|
|
321
|
+
margin-inline-end: #{'--value(--spacing-*)'};
|
|
322
|
+
}
|
|
323
|
+
@utility mt-* {
|
|
324
|
+
margin-block-start: #{'--value(--spacing-*)'};
|
|
325
|
+
}
|
|
326
|
+
@utility mbs-* {
|
|
327
|
+
margin-block-start: #{'--value(--spacing-*)'};
|
|
328
|
+
}
|
|
329
|
+
@utility mb-* {
|
|
330
|
+
margin-block-end: #{'--value(--spacing-*)'};
|
|
331
|
+
}
|
|
332
|
+
@utility mbe-* {
|
|
333
|
+
margin-block-end: #{'--value(--spacing-*)'};
|
|
334
|
+
}
|
|
335
|
+
@utility gap-* {
|
|
336
|
+
gap: #{'--value(--spacing-*)'};
|
|
337
|
+
}
|
|
338
|
+
@utility gap-x-* {
|
|
339
|
+
column-gap: #{'--value(--spacing-*)'};
|
|
340
|
+
}
|
|
341
|
+
@utility gap-y-* {
|
|
342
|
+
row-gap: #{'--value(--spacing-*)'};
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
// Override Tailwind's default `display: list-item` utility, which clashes
|
|
346
|
+
// with the `.list-item` component class.
|
|
347
|
+
@utility list-item {
|
|
348
|
+
display: flex;
|
|
349
|
+
}
|