Unverified Commit 89418ef8 authored by Darren Austin's avatar Darren Austin Committed by GitHub

Added tokens for Snackbar widget. (#114466)

parent 475ccd4e
......@@ -52,6 +52,7 @@ Map<String, dynamic> _readTokenFile(String fileName) {
Future<void> main(List<String> args) async {
const String materialLib = 'packages/flutter/lib/src/material';
const List<String> tokenFiles = <String>[
'badge.json',
'banner.json',
'bottom_app_bar.json',
'button_elevated.json',
......@@ -72,8 +73,8 @@ Future<void> main(List<String> args) async {
'date_picker_docked.json',
'date_picker_modal.json',
'dialog.json',
'divider.json',
'dialog_fullscreen.json',
'divider.json',
'elevation.json',
'fab_extended_primary.json',
'fab_large_primary.json',
......@@ -83,11 +84,13 @@ Future<void> main(List<String> args) async {
'icon_button_filled.json',
'icon_button_filled_tonal.json',
'icon_button_outlined.json',
'list.json',
'menu.json',
'motion.json',
'navigation_bar.json',
'navigation_drawer.json',
'navigation_rail.json',
'navigation_tab_primary.json',
'palette.json',
'progress_indicator_circular.json',
'progress_indicator_linear.json',
......@@ -96,6 +99,7 @@ Future<void> main(List<String> args) async {
'shape.json',
'sheet_bottom.json',
'slider.json',
'snackbar.json',
'state.json',
'switch.json',
'text_field_filled.json',
......
{
"version": "v0_137",
"md.comp.snackbar.action.focus.label-text.color": "inversePrimary",
"md.comp.snackbar.action.focus.state-layer.color": "inversePrimary",
"md.comp.snackbar.action.focus.state-layer.opacity": "md.sys.state.focus.state-layer-opacity",
"md.comp.snackbar.action.hover.label-text.color": "inversePrimary",
"md.comp.snackbar.action.hover.state-layer.color": "inversePrimary",
"md.comp.snackbar.action.hover.state-layer.opacity": "md.sys.state.hover.state-layer-opacity",
"md.comp.snackbar.action.label-text.color": "inversePrimary",
"md.comp.snackbar.action.label-text.text-style": "labelLarge",
"md.comp.snackbar.action.pressed.label-text.color": "inversePrimary",
"md.comp.snackbar.action.pressed.state-layer.color": "inversePrimary",
"md.comp.snackbar.action.pressed.state-layer.opacity": "md.sys.state.pressed.state-layer-opacity",
"md.comp.snackbar.container.color": "inverseSurface",
"md.comp.snackbar.container.elevation": "md.sys.elevation.level3",
"md.comp.snackbar.container.shadow-color": "shadow",
"md.comp.snackbar.container.shape": "md.sys.shape.corner.extra-small",
"md.comp.snackbar.icon.color": "inverseOnSurface",
"md.comp.snackbar.icon.focus.icon.color": "inverseOnSurface",
"md.comp.snackbar.icon.focus.state-layer.color": "inverseOnSurface",
"md.comp.snackbar.icon.focus.state-layer.opacity": "md.sys.state.focus.state-layer-opacity",
"md.comp.snackbar.icon.hover.icon.color": "inverseOnSurface",
"md.comp.snackbar.icon.hover.state-layer.color": "inverseOnSurface",
"md.comp.snackbar.icon.hover.state-layer.opacity": "md.sys.state.hover.state-layer-opacity",
"md.comp.snackbar.icon.pressed.icon.color": "inverseOnSurface",
"md.comp.snackbar.icon.pressed.state-layer.color": "inverseOnSurface",
"md.comp.snackbar.icon.pressed.state-layer.opacity": "md.sys.state.pressed.state-layer-opacity",
"md.comp.snackbar.icon.size": 24.0,
"md.comp.snackbar.supporting-text.color": "inverseOnSurface",
"md.comp.snackbar.supporting-text.text-style": "bodyMedium",
"md.comp.snackbar.with-single-line.container.height": 48.0,
"md.comp.snackbar.with-two-lines.container.height": 68.0
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment