flutter_flutter/dev/tools/gen_defaults/data/text_field_filled.json
Qun Cheng a2c7ed95d1
Introduce tone-based surfaces and accent color add-ons - Part 2 (#138521)
This PR is to introduce 19 new color roles and deprecate 3 color roles in `ColorScheme`.
**Tone-based surface colors** (7 colors): 
* surfaceBright
* surfaceDim
* surfaceContainer
* surfaceContainerLowest
* surfaceContainerLow
* surfaceContainerHigh
* surfaceContainerHighest

**Accent color add-ons** (12 colors):
* primary/secondary/tertiary-Fixed
* primary/secondary/tertiary-FixedDim
* onPrimary/onSecondary/onTertiary-Fixed
* onPrimary/onSecondary/onTertiary-FixedVariant

**Deprecated colors**:
* background -> replaced with surface
* onBackground -> replaced with onSurface
* surfaceVariant -> replaced with surfaceContainerHighest

Please checkout this [design doc](https://docs.google.com/document/d/1ODqivpM_6c490T4j5XIiWCDKo5YqHy78YEFqDm4S8h4/edit?usp=sharing) for more information:)

![Screenshot 2024-01-08 at 4 56 51 PM](https://github.com/flutter/flutter/assets/36861262/353cdb4c-6ba9-4435-a518-fd3f67e415f0)
2024-02-20 19:01:50 +00:00

76 lines
5.0 KiB
JSON

{
"version": "v0_206",
"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
}