7 Commits

Author SHA1 Message Date
Daniel Freedman
232982ef03 fix(icon,iconbutton,list)!: use material symbols for icons
- Material Symbols is recommended for M3
- Refactor list items to use md-icon directly

PiperOrigin-RevId: 511601359
2023-02-22 14:39:58 -08:00
Elizabeth Mitchell
6c2aef6901 chore(all): add keep-sorted comments to Sass imports
PiperOrigin-RevId: 509583504
2023-02-14 11:10:23 -08:00
Daniel Freedman
12c93641a5 fix(icon, iconbutton): Cleanup styling
- Remove duplicate md-ripple sizing in standard icon button
 - Tokens now have disabled outline color for outlined icon button, remove workaround
 - Use icon theming API
 - Also size `<img>` tags in `<md-icon>`

PiperOrigin-RevId: 500805749
2023-01-09 14:17:48 -08:00
Daniel Freedman
5a27f05cd7 fix(icon): Remove fixed left-to-right direction to fix RTL styling
PiperOrigin-RevId: 500760821
2023-01-09 11:12:06 -08:00
Daniel Freedman
0327283b7b feat(icon): Implement tokens for md-icon
Adds tokens for color, size, font-family, font-weight and font-variation-settings.

Slotted svg icons will also be sized and colored with the tokens.

PiperOrigin-RevId: 495716570
2022-12-15 15:46:19 -08:00
Alexander Marks
30c95aeee1 chore: add ".js" extensions to import statements.
In particular, this allows external build tools like Rollup and @web/dev-server to understand imports of Lit, which is configured to require the ".js" extension via its export conditions (so that Lit import maps can remain minimal).

PiperOrigin-RevId: 469772992
2022-08-24 11:01:21 -07:00
Material Web Team
b3ac1bde57 chore(icon): Move icon package to new directory.
PiperOrigin-RevId: 456248727
2022-06-21 07:02:04 -07:00