Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
e8c7a889
Unverified
Commit
e8c7a889
authored
Mar 09, 2022
by
Darren Austin
Committed by
GitHub
Mar 09, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated tokens to v0.90. (#99782)
parent
400de160
Changes
32
Hide whitespace changes
Inline
Side-by-side
Showing
32 changed files
with
41 additions
and
33 deletions
+41
-33
assist_chip.json
dev/tools/gen_defaults/data/assist_chip.json
+1
-1
banner.json
dev/tools/gen_defaults/data/banner.json
+1
-1
color_dark.json
dev/tools/gen_defaults/data/color_dark.json
+1
-1
color_light.json
dev/tools/gen_defaults/data/color_light.json
+1
-1
dialog.json
dev/tools/gen_defaults/data/dialog.json
+1
-1
elevated_card.json
dev/tools/gen_defaults/data/elevated_card.json
+4
-1
elevation.json
dev/tools/gen_defaults/data/elevation.json
+1
-1
fab_extended_primary.json
dev/tools/gen_defaults/data/fab_extended_primary.json
+1
-1
fab_large_primary.json
dev/tools/gen_defaults/data/fab_large_primary.json
+1
-1
fab_primary.json
dev/tools/gen_defaults/data/fab_primary.json
+1
-1
fab_small_primary.json
dev/tools/gen_defaults/data/fab_small_primary.json
+1
-1
filled_card.json
dev/tools/gen_defaults/data/filled_card.json
+4
-2
filter_chip.json
dev/tools/gen_defaults/data/filter_chip.json
+1
-1
input_chip.json
dev/tools/gen_defaults/data/input_chip.json
+1
-1
motion.json
dev/tools/gen_defaults/data/motion.json
+1
-1
navigation_bar.json
dev/tools/gen_defaults/data/navigation_bar.json
+1
-1
navigation_rail.json
dev/tools/gen_defaults/data/navigation_rail.json
+1
-1
outlined_card.json
dev/tools/gen_defaults/data/outlined_card.json
+4
-1
palette.json
dev/tools/gen_defaults/data/palette.json
+1
-1
shape.json
dev/tools/gen_defaults/data/shape.json
+1
-1
slider.json
dev/tools/gen_defaults/data/slider.json
+1
-1
state.json
dev/tools/gen_defaults/data/state.json
+1
-1
suggestion_chip.json
dev/tools/gen_defaults/data/suggestion_chip.json
+1
-1
text_style.json
dev/tools/gen_defaults/data/text_style.json
+1
-1
top_app_bar_large.json
dev/tools/gen_defaults/data/top_app_bar_large.json
+1
-1
top_app_bar_medium.json
dev/tools/gen_defaults/data/top_app_bar_medium.json
+1
-1
top_app_bar_small.json
dev/tools/gen_defaults/data/top_app_bar_small.json
+1
-1
typeface.json
dev/tools/gen_defaults/data/typeface.json
+1
-1
dialog.dart
packages/flutter/lib/src/material/dialog.dart
+1
-1
floating_action_button.dart
...ages/flutter/lib/src/material/floating_action_button.dart
+1
-1
navigation_bar.dart
packages/flutter/lib/src/material/navigation_bar.dart
+1
-1
typography.dart
packages/flutter/lib/src/material/typography.dart
+1
-1
No files found.
dev/tools/gen_defaults/data/assist_chip.json
View file @
e8c7a889
{
"version"
:
"v0_
88
"
,
"version"
:
"v0_
90
"
,
"md.comp.assist-chip.container.height"
:
32.0
,
"md.comp.assist-chip.container.shape"
:
"md.sys.shape.corner.small"
,
...
...
dev/tools/gen_defaults/data/banner.json
View file @
e8c7a889
{
"version"
:
"v0_
88
"
,
"version"
:
"v0_
90
"
,
"md.comp.banner.action.focus.label-text.color"
:
"primary"
,
"md.comp.banner.action.focus.state-layer.color"
:
"primary"
,
...
...
dev/tools/gen_defaults/data/color_dark.json
View file @
e8c7a889
{
"version"
:
"v0_
88
"
,
"version"
:
"v0_
90
"
,
"md.sys.color.background"
:
"md.ref.palette.neutral10"
,
"md.sys.color.error"
:
"md.ref.palette.error80"
,
...
...
dev/tools/gen_defaults/data/color_light.json
View file @
e8c7a889
{
"version"
:
"v0_
88
"
,
"version"
:
"v0_
90
"
,
"md.sys.color.background"
:
"md.ref.palette.neutral99"
,
"md.sys.color.error"
:
"md.ref.palette.error40"
,
...
...
dev/tools/gen_defaults/data/dialog.json
View file @
e8c7a889
{
"version"
:
"v0_
88
"
,
"version"
:
"v0_
90
"
,
"md.comp.dialog.action.focus.label-text.color"
:
"primary"
,
"md.comp.dialog.action.focus.state-layer.color"
:
"primary"
,
...
...
dev/tools/gen_defaults/data/elevated_card.json
View file @
e8c7a889
{
"version"
:
"v0_
88
"
,
"version"
:
"v0_
90
"
,
"md.comp.elevated-card.container.color"
:
"surface"
,
"md.comp.elevated-card.container.elevation"
:
"md.sys.elevation.level1"
,
"md.comp.elevated-card.container.shadow-color"
:
"shadow"
,
"md.comp.elevated-card.container.shape"
:
"md.sys.shape.corner.medium"
,
"md.comp.elevated-card.container.surface-tint-layer.color"
:
"surfaceTint"
,
"md.comp.elevated-card.disabled.container.color"
:
"surface"
,
"md.comp.elevated-card.disabled.container.elevation"
:
"md.sys.elevation.level1"
,
"md.comp.elevated-card.disabled.container.opacity"
:
0.38
,
"md.comp.elevated-card.dragged.container.elevation"
:
"md.sys.elevation.level4"
,
"md.comp.elevated-card.dragged.state-layer.color"
:
"onSurface"
,
"md.comp.elevated-card.dragged.state-layer.opacity"
:
"md.sys.state.dragged.state-layer-opacity"
,
...
...
dev/tools/gen_defaults/data/elevation.json
View file @
e8c7a889
{
"version"
:
"v0_
88
"
,
"version"
:
"v0_
90
"
,
"md.sys.elevation.level0"
:
0.0
,
"md.sys.elevation.level1"
:
1.0
,
...
...
dev/tools/gen_defaults/data/fab_extended_primary.json
View file @
e8c7a889
{
"version"
:
"v0_
88
"
,
"version"
:
"v0_
90
"
,
"md.comp.extended-fab.primary.container.color"
:
"primaryContainer"
,
"md.comp.extended-fab.primary.container.elevation"
:
"md.sys.elevation.level3"
,
...
...
dev/tools/gen_defaults/data/fab_large_primary.json
View file @
e8c7a889
{
"version"
:
"v0_
88
"
,
"version"
:
"v0_
90
"
,
"md.comp.fab.primary.large.container.color"
:
"primaryContainer"
,
"md.comp.fab.primary.large.container.elevation"
:
"md.sys.elevation.level3"
,
...
...
dev/tools/gen_defaults/data/fab_primary.json
View file @
e8c7a889
{
"version"
:
"v0_
88
"
,
"version"
:
"v0_
90
"
,
"md.comp.fab.primary.container.color"
:
"primaryContainer"
,
"md.comp.fab.primary.container.elevation"
:
"md.sys.elevation.level3"
,
...
...
dev/tools/gen_defaults/data/fab_small_primary.json
View file @
e8c7a889
{
"version"
:
"v0_
88
"
,
"version"
:
"v0_
90
"
,
"md.comp.fab.primary.small.container.color"
:
"primaryContainer"
,
"md.comp.fab.primary.small.container.elevation"
:
"md.sys.elevation.level3"
,
...
...
dev/tools/gen_defaults/data/filled_card.json
View file @
e8c7a889
{
"version"
:
"v0_
88
"
,
"version"
:
"v0_
90
"
,
"md.comp.filled-card.container.color"
:
"surfaceVariant"
,
"md.comp.filled-card.container.elevation"
:
"md.sys.elevation.level0"
,
"md.comp.filled-card.container.shadow-color"
:
"shadow"
,
"md.comp.filled-card.container.shape"
:
"md.sys.shape.corner.medium"
,
"md.comp.filled-card.container.surface-tint-layer.color"
:
"surfaceTint"
,
"md.comp.filled-card.disabled.container.color"
:
"surfaceVariant"
,
"md.comp.filled-card.disabled.container.elevation"
:
"md.sys.elevation.level0"
,
"md.comp.filled-card.disabled.container.opacity"
:
0.38
,
"md.comp.filled-card.dragged.container.elevation"
:
"md.sys.elevation.level3"
,
"md.comp.filled-card.dragged.state-layer.color"
:
"onSurface"
,
"md.comp.filled-card.dragged.state-layer.opacity"
:
"md.sys.state.dragged.state-layer-opacity"
,
...
...
dev/tools/gen_defaults/data/filter_chip.json
View file @
e8c7a889
{
"version"
:
"v0_
88
"
,
"version"
:
"v0_
90
"
,
"md.comp.filter-chip.container.height"
:
32.0
,
"md.comp.filter-chip.container.shadow-color"
:
"shadow"
,
...
...
dev/tools/gen_defaults/data/input_chip.json
View file @
e8c7a889
{
"version"
:
"v0_
88
"
,
"version"
:
"v0_
90
"
,
"md.comp.input-chip.container.elevation"
:
"md.sys.elevation.level0"
,
"md.comp.input-chip.container.height"
:
32.0
,
...
...
dev/tools/gen_defaults/data/motion.json
View file @
e8c7a889
{
"version"
:
"v0_
88
"
,
"version"
:
"v0_
90
"
,
"md.sys.motion.duration.100Ms"
:
100.0
,
"md.sys.motion.duration.1000Ms"
:
1000.0
,
...
...
dev/tools/gen_defaults/data/navigation_bar.json
View file @
e8c7a889
{
"version"
:
"v0_
88
"
,
"version"
:
"v0_
90
"
,
"md.comp.navigation-bar.active.focus.icon.color"
:
"onSecondaryContainer"
,
"md.comp.navigation-bar.active.focus.label-text.color"
:
"onSurface"
,
...
...
dev/tools/gen_defaults/data/navigation_rail.json
View file @
e8c7a889
{
"version"
:
"v0_
88
"
,
"version"
:
"v0_
90
"
,
"md.comp.navigation-rail.active.focus.icon.color"
:
"onSecondaryContainer"
,
"md.comp.navigation-rail.active.focus.label-text.color"
:
"onSurface"
,
...
...
dev/tools/gen_defaults/data/outlined_card.json
View file @
e8c7a889
{
"version"
:
"v0_
88
"
,
"version"
:
"v0_
90
"
,
"md.comp.outlined-card.container.color"
:
"surface"
,
"md.comp.outlined-card.container.elevation"
:
"md.sys.elevation.level0"
,
"md.comp.outlined-card.container.shadow-color"
:
"shadow"
,
"md.comp.outlined-card.container.shape"
:
"md.sys.shape.corner.medium"
,
"md.comp.outlined-card.container.surface-tint-layer.color"
:
"surfaceTint"
,
"md.comp.outlined-card.disabled.container.elevation"
:
"md.sys.elevation.level0"
,
"md.comp.outlined-card.disabled.outline.color"
:
"outline"
,
"md.comp.outlined-card.disabled.outline.opacity"
:
0.12
,
"md.comp.outlined-card.dragged.container.elevation"
:
"md.sys.elevation.level3"
,
"md.comp.outlined-card.dragged.outline.color"
:
"outline"
,
"md.comp.outlined-card.dragged.state-layer.color"
:
"onSurface"
,
...
...
dev/tools/gen_defaults/data/palette.json
View file @
e8c7a889
{
"version"
:
"v0_
88
"
,
"version"
:
"v0_
90
"
,
"md.ref.palette.black"
:
"0xFF000000"
,
"md.ref.palette.error0"
:
"0xFF000000"
,
...
...
dev/tools/gen_defaults/data/shape.json
View file @
e8c7a889
{
"version"
:
"v0_
88
"
,
"version"
:
"v0_
90
"
,
"md.sys.shape.corner.extra-large"
:
{
"family"
:
"SHAPE_FAMILY_ROUNDED_CORNERS"
,
...
...
dev/tools/gen_defaults/data/slider.json
View file @
e8c7a889
{
"version"
:
"v0_
88
"
,
"version"
:
"v0_
90
"
,
"md.comp.slider.active.track.color"
:
"primary"
,
"md.comp.slider.active.track.height"
:
6.0
,
...
...
dev/tools/gen_defaults/data/state.json
View file @
e8c7a889
{
"version"
:
"v0_
88
"
,
"version"
:
"v0_
90
"
,
"md.sys.state.dragged.state-layer-opacity"
:
0.16
,
"md.sys.state.focus.state-layer-opacity"
:
0.12
,
...
...
dev/tools/gen_defaults/data/suggestion_chip.json
View file @
e8c7a889
{
"version"
:
"v0_
88
"
,
"version"
:
"v0_
90
"
,
"md.comp.suggestion-chip.container.height"
:
32.0
,
"md.comp.suggestion-chip.container.shape"
:
"md.sys.shape.corner.small"
,
...
...
dev/tools/gen_defaults/data/text_style.json
View file @
e8c7a889
{
"version"
:
"v0_
88
"
,
"version"
:
"v0_
90
"
,
"md.sys.typescale.body-large.font"
:
"md.ref.typeface.plain"
,
"md.sys.typescale.body-large.line-height"
:
24.0
,
...
...
dev/tools/gen_defaults/data/top_app_bar_large.json
View file @
e8c7a889
{
"version"
:
"v0_
88
"
,
"version"
:
"v0_
90
"
,
"md.comp.top-app-bar.large.container.color"
:
"surface"
,
"md.comp.top-app-bar.large.container.elevation"
:
"md.sys.elevation.level0"
,
...
...
dev/tools/gen_defaults/data/top_app_bar_medium.json
View file @
e8c7a889
{
"version"
:
"v0_
88
"
,
"version"
:
"v0_
90
"
,
"md.comp.top-app-bar.medium.container.color"
:
"surface"
,
"md.comp.top-app-bar.medium.container.elevation"
:
"md.sys.elevation.level0"
,
...
...
dev/tools/gen_defaults/data/top_app_bar_small.json
View file @
e8c7a889
{
"version"
:
"v0_
88
"
,
"version"
:
"v0_
90
"
,
"md.comp.top-app-bar.small.container.color"
:
"surface"
,
"md.comp.top-app-bar.small.container.elevation"
:
"md.sys.elevation.level0"
,
...
...
dev/tools/gen_defaults/data/typeface.json
View file @
e8c7a889
{
"version"
:
"v0_
88
"
,
"version"
:
"v0_
90
"
,
"md.ref.typeface.brand"
:
"Roboto"
,
"md.ref.typeface.plain"
:
"Roboto"
,
...
...
packages/flutter/lib/src/material/dialog.dart
View file @
e8c7a889
...
...
@@ -1201,7 +1201,7 @@ class _DefaultsM2 extends DialogTheme {
// These defaults are generated from the Material Design Token
// database by the script dev/tools/gen_defaults/bin/gen_defaults.dart.
// Generated version v0_
86
// Generated version v0_
90
class
_TokenDefaultsM3
extends
DialogTheme
{
_TokenDefaultsM3
(
this
.
context
)
:
_colors
=
Theme
.
of
(
context
).
colorScheme
,
...
...
packages/flutter/lib/src/material/floating_action_button.dart
View file @
e8c7a889
...
...
@@ -773,7 +773,7 @@ class _M2Defaults extends FloatingActionButtonThemeData {
// These defaults are generated from the Material Design Token
// database by the script dev/tools/gen_defaults/bin/gen_defaults.dart.
// Generated version v0_
88
// Generated version v0_
90
class
_M3Defaults
extends
FloatingActionButtonThemeData
{
_M3Defaults
(
this
.
context
,
this
.
type
,
this
.
hasChild
)
:
_colors
=
Theme
.
of
(
context
).
colorScheme
,
...
...
packages/flutter/lib/src/material/navigation_bar.dart
View file @
e8c7a889
...
...
@@ -1216,7 +1216,7 @@ class _Defaults extends NavigationBarThemeData {
// These defaults are generated from the Material Design Token
// database by the script dev/tools/gen_defaults/bin/gen_defaults.dart.
// Generated version v0_
88
// Generated version v0_
90
class
_TokenDefaultsM3
extends
NavigationBarThemeData
{
_TokenDefaultsM3
(
BuildContext
context
)
:
_theme
=
Theme
.
of
(
context
),
...
...
packages/flutter/lib/src/material/typography.dart
View file @
e8c7a889
...
...
@@ -729,7 +729,7 @@ class Typography with Diagnosticable {
// These defaults are generated from the Material Design Token
// database by the script dev/tools/gen_defaults/bin/gen_defaults.dart.
// Generated version v0_
88
// Generated version v0_
90
class
_M3Typography
{
_M3Typography
.
_
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment