flutter_flutter/dev/tools/gen_defaults/data/text_field_filled.json
Qun Cheng 108a355453
Update tokens to 5.0.0 (#153385)
This PR is to
* Update the Material Design tokens to 5.0.0
* 4 color roles in **Light mode** have different default values
   `onPrimaryContainer`: Primary10  -> Primary30 
   `onSecondaryContainer`: Secondary10 -> Secondary30
   `onTertiaryContainer`: Tertiary10 -> Tertiary30
   `onErrorContainer`: Error10 -> Error30
    
        ![Screenshot 2024-08-13 at 12 53 03 PM](https://github.com/user-attachments/assets/bfa863d9-03d3-4557-8676-d56febdb2be5)

* new tokens added in list.json
* `md.comp.menu.list-item.*` tokens are deprecated and should be replaced by tokens in list.json and we've done the migration last year:)!(#122388)
2024-08-14 22:53:36 +00:00

76 lines
5.0 KiB
JSON

{
"version": "5_0_0",
"md.comp.filled-text-field.active-indicator.color": "onSurfaceVariant",
"md.comp.filled-text-field.active-indicator.height": 1.0,
"md.comp.filled-text-field.caret.color": "primary",
"md.comp.filled-text-field.container.color": "surfaceContainerHighest",
"md.comp.filled-text-field.container.shape": "md.sys.shape.corner.extra-small.top",
"md.comp.filled-text-field.disabled.active-indicator.color": "onSurface",
"md.comp.filled-text-field.disabled.active-indicator.height": 1.0,
"md.comp.filled-text-field.disabled.active-indicator.opacity": 0.38,
"md.comp.filled-text-field.disabled.container.color": "onSurface",
"md.comp.filled-text-field.disabled.container.opacity": 0.04,
"md.comp.filled-text-field.disabled.input-text.color": "onSurface",
"md.comp.filled-text-field.disabled.input-text.opacity": 0.38,
"md.comp.filled-text-field.disabled.label-text.color": "onSurface",
"md.comp.filled-text-field.disabled.label-text.opacity": 0.38,
"md.comp.filled-text-field.disabled.leading-icon.color": "onSurface",
"md.comp.filled-text-field.disabled.leading-icon.opacity": 0.38,
"md.comp.filled-text-field.disabled.supporting-text.color": "onSurface",
"md.comp.filled-text-field.disabled.supporting-text.opacity": 0.38,
"md.comp.filled-text-field.disabled.trailing-icon.color": "onSurface",
"md.comp.filled-text-field.disabled.trailing-icon.opacity": 0.38,
"md.comp.filled-text-field.error.active-indicator.color": "error",
"md.comp.filled-text-field.error.focus.active-indicator.color": "error",
"md.comp.filled-text-field.error.focus.caret.color": "error",
"md.comp.filled-text-field.error.focus.input-text.color": "onSurface",
"md.comp.filled-text-field.error.focus.label-text.color": "error",
"md.comp.filled-text-field.error.focus.leading-icon.color": "onSurfaceVariant",
"md.comp.filled-text-field.error.focus.supporting-text.color": "error",
"md.comp.filled-text-field.error.focus.trailing-icon.color": "error",
"md.comp.filled-text-field.error.hover.active-indicator.color": "onErrorContainer",
"md.comp.filled-text-field.error.hover.input-text.color": "onSurface",
"md.comp.filled-text-field.error.hover.label-text.color": "onErrorContainer",
"md.comp.filled-text-field.error.hover.leading-icon.color": "onSurfaceVariant",
"md.comp.filled-text-field.error.hover.state-layer.color": "onSurface",
"md.comp.filled-text-field.error.hover.state-layer.opacity": "md.sys.state.hover.state-layer-opacity",
"md.comp.filled-text-field.error.hover.supporting-text.color": "error",
"md.comp.filled-text-field.error.hover.trailing-icon.color": "onErrorContainer",
"md.comp.filled-text-field.error.input-text.color": "onSurface",
"md.comp.filled-text-field.error.label-text.color": "error",
"md.comp.filled-text-field.error.leading-icon.color": "onSurfaceVariant",
"md.comp.filled-text-field.error.supporting-text.color": "error",
"md.comp.filled-text-field.error.trailing-icon.color": "error",
"md.comp.filled-text-field.focus.active-indicator.color": "primary",
"md.comp.filled-text-field.focus.active-indicator.height": 2.0,
"md.comp.filled-text-field.focus.active-indicator.thickness": "md.sys.state.focus-indicator.thickness",
"md.comp.filled-text-field.focus.input-text.color": "onSurface",
"md.comp.filled-text-field.focus.label-text.color": "primary",
"md.comp.filled-text-field.focus.leading-icon.color": "onSurfaceVariant",
"md.comp.filled-text-field.focus.supporting-text.color": "onSurfaceVariant",
"md.comp.filled-text-field.focus.trailing-icon.color": "onSurfaceVariant",
"md.comp.filled-text-field.hover.active-indicator.color": "onSurface",
"md.comp.filled-text-field.hover.active-indicator.height": 1.0,
"md.comp.filled-text-field.hover.input-text.color": "onSurface",
"md.comp.filled-text-field.hover.label-text.color": "onSurfaceVariant",
"md.comp.filled-text-field.hover.leading-icon.color": "onSurfaceVariant",
"md.comp.filled-text-field.hover.state-layer.color": "onSurface",
"md.comp.filled-text-field.hover.state-layer.opacity": "md.sys.state.hover.state-layer-opacity",
"md.comp.filled-text-field.hover.supporting-text.color": "onSurfaceVariant",
"md.comp.filled-text-field.hover.trailing-icon.color": "onSurfaceVariant",
"md.comp.filled-text-field.input-text.color": "onSurface",
"md.comp.filled-text-field.input-text.text-style": "bodyLarge",
"md.comp.filled-text-field.input-text.placeholder.color": "onSurfaceVariant",
"md.comp.filled-text-field.input-text.prefix.color": "onSurfaceVariant",
"md.comp.filled-text-field.input-text.suffix.color": "onSurfaceVariant",
"md.comp.filled-text-field.label-text.color": "onSurfaceVariant",
"md.comp.filled-text-field.label-text.text-style": "bodyLarge",
"md.comp.filled-text-field.leading-icon.color": "onSurfaceVariant",
"md.comp.filled-text-field.leading-icon.size": 24.0,
"md.comp.filled-text-field.supporting-text.color": "onSurfaceVariant",
"md.comp.filled-text-field.supporting-text.text-style": "bodySmall",
"md.comp.filled-text-field.trailing-icon.color": "onSurfaceVariant",
"md.comp.filled-text-field.trailing-icon.size": 24.0
}