Unverified Commit e08d250e authored by Qun Cheng's avatar Qun Cheng Committed by GitHub

Run dart command to update widget defaults (#122557)

* Run dart command to update widget defaults

* Revert the tokens and the template

---------
Co-authored-by: 's avatarQun Cheng <quncheng@google.com>
parent 27248d4b
...@@ -13,6 +13,8 @@ ...@@ -13,6 +13,8 @@
"md.comp.primary-navigation-tab.container.elevation": "md.sys.elevation.level0", "md.comp.primary-navigation-tab.container.elevation": "md.sys.elevation.level0",
"md.comp.primary-navigation-tab.container.height": 48.0, "md.comp.primary-navigation-tab.container.height": 48.0,
"md.comp.primary-navigation-tab.container.shape": "md.sys.shape.corner.none", "md.comp.primary-navigation-tab.container.shape": "md.sys.shape.corner.none",
"md.comp.primary-navigation-tab.divider.color": "surfaceVariant",
"md.comp.primary-navigation-tab.divider.height": 1.0,
"md.comp.primary-navigation-tab.inactive.focus.state-layer.color": "onSurface", "md.comp.primary-navigation-tab.inactive.focus.state-layer.color": "onSurface",
"md.comp.primary-navigation-tab.inactive.focus.state-layer.opacity": "md.sys.state.focus.state-layer-opacity", "md.comp.primary-navigation-tab.inactive.focus.state-layer.opacity": "md.sys.state.focus.state-layer-opacity",
"md.comp.primary-navigation-tab.inactive.hover.state-layer.color": "onSurface", "md.comp.primary-navigation-tab.inactive.hover.state-layer.color": "onSurface",
......
...@@ -543,7 +543,7 @@ class _ExpansionTileDefaultsM2 extends ExpansionTileThemeData { ...@@ -543,7 +543,7 @@ class _ExpansionTileDefaultsM2 extends ExpansionTileThemeData {
// Design token database by the script: // Design token database by the script:
// dev/tools/gen_defaults/bin/gen_defaults.dart. // dev/tools/gen_defaults/bin/gen_defaults.dart.
// Token database version: v0_158 // Token database version: v0_162
class _ExpansionTileDefaultsM3 extends ExpansionTileThemeData { class _ExpansionTileDefaultsM3 extends ExpansionTileThemeData {
_ExpansionTileDefaultsM3(this.context); _ExpansionTileDefaultsM3(this.context);
......
...@@ -1206,7 +1206,7 @@ class _IconButtonDefaultsM3 extends ButtonStyle { ...@@ -1206,7 +1206,7 @@ class _IconButtonDefaultsM3 extends ButtonStyle {
// Design token database by the script: // Design token database by the script:
// dev/tools/gen_defaults/bin/gen_defaults.dart. // dev/tools/gen_defaults/bin/gen_defaults.dart.
// Token database version: v0_158 // Token database version: v0_162
class _FilledIconButtonDefaultsM3 extends ButtonStyle { class _FilledIconButtonDefaultsM3 extends ButtonStyle {
_FilledIconButtonDefaultsM3(this.context, this.toggleable) _FilledIconButtonDefaultsM3(this.context, this.toggleable)
...@@ -1354,7 +1354,7 @@ class _FilledIconButtonDefaultsM3 extends ButtonStyle { ...@@ -1354,7 +1354,7 @@ class _FilledIconButtonDefaultsM3 extends ButtonStyle {
// Design token database by the script: // Design token database by the script:
// dev/tools/gen_defaults/bin/gen_defaults.dart. // dev/tools/gen_defaults/bin/gen_defaults.dart.
// Token database version: v0_158 // Token database version: v0_162
class _FilledTonalIconButtonDefaultsM3 extends ButtonStyle { class _FilledTonalIconButtonDefaultsM3 extends ButtonStyle {
_FilledTonalIconButtonDefaultsM3(this.context, this.toggleable) _FilledTonalIconButtonDefaultsM3(this.context, this.toggleable)
...@@ -1502,7 +1502,7 @@ class _FilledTonalIconButtonDefaultsM3 extends ButtonStyle { ...@@ -1502,7 +1502,7 @@ class _FilledTonalIconButtonDefaultsM3 extends ButtonStyle {
// Design token database by the script: // Design token database by the script:
// dev/tools/gen_defaults/bin/gen_defaults.dart. // dev/tools/gen_defaults/bin/gen_defaults.dart.
// Token database version: v0_158 // Token database version: v0_162
class _OutlinedIconButtonDefaultsM3 extends ButtonStyle { class _OutlinedIconButtonDefaultsM3 extends ButtonStyle {
_OutlinedIconButtonDefaultsM3(this.context, this.toggleable) _OutlinedIconButtonDefaultsM3(this.context, this.toggleable)
......
...@@ -3585,7 +3585,7 @@ bool _platformSupportsAccelerators() { ...@@ -3585,7 +3585,7 @@ bool _platformSupportsAccelerators() {
// Design token database by the script: // Design token database by the script:
// dev/tools/gen_defaults/bin/gen_defaults.dart. // dev/tools/gen_defaults/bin/gen_defaults.dart.
// Token database version: v0_158 // Token database version: v0_162
class _MenuBarDefaultsM3 extends MenuStyle { class _MenuBarDefaultsM3 extends MenuStyle {
_MenuBarDefaultsM3(this.context) _MenuBarDefaultsM3(this.context)
...@@ -3756,7 +3756,7 @@ class _MenuButtonDefaultsM3 extends ButtonStyle { ...@@ -3756,7 +3756,7 @@ class _MenuButtonDefaultsM3 extends ButtonStyle {
@override @override
MaterialStateProperty<TextStyle?> get textStyle { MaterialStateProperty<TextStyle?> get textStyle {
return MaterialStatePropertyAll<TextStyle?>(Theme.of(context).textTheme.labelLarge); return MaterialStatePropertyAll<TextStyle?>(Theme.of(context).textTheme.bodyLarge);
} }
@override @override
......
...@@ -1979,7 +1979,7 @@ class _TabsDefaultsM2 extends TabBarTheme { ...@@ -1979,7 +1979,7 @@ class _TabsDefaultsM2 extends TabBarTheme {
// Design token database by the script: // Design token database by the script:
// dev/tools/gen_defaults/bin/gen_defaults.dart. // dev/tools/gen_defaults/bin/gen_defaults.dart.
// Token database version: v0_158 // Token database version: v0_162
class _TabsDefaultsM3 extends TabBarTheme { class _TabsDefaultsM3 extends TabBarTheme {
_TabsDefaultsM3(this.context) _TabsDefaultsM3(this.context)
......
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