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

82 lines
4.4 KiB
JSON

{
"version": "v0_206",
"md.sys.typescale.body-large.font": "md.ref.typeface.plain",
"md.sys.typescale.body-large.line-height": 24.0,
"md.sys.typescale.body-large.size": 16.0,
"md.sys.typescale.body-large.tracking": 0.5,
"md.sys.typescale.body-large.weight": "md.ref.typeface.weight-regular",
"md.sys.typescale.body-medium.font": "md.ref.typeface.plain",
"md.sys.typescale.body-medium.line-height": 20.0,
"md.sys.typescale.body-medium.size": 14.0,
"md.sys.typescale.body-medium.tracking": 0.25,
"md.sys.typescale.body-medium.weight": "md.ref.typeface.weight-regular",
"md.sys.typescale.body-small.font": "md.ref.typeface.plain",
"md.sys.typescale.body-small.line-height": 16.0,
"md.sys.typescale.body-small.size": 12.0,
"md.sys.typescale.body-small.tracking": 0.4,
"md.sys.typescale.body-small.weight": "md.ref.typeface.weight-regular",
"md.sys.typescale.display-large.font": "md.ref.typeface.brand",
"md.sys.typescale.display-large.line-height": 64.0,
"md.sys.typescale.display-large.size": 57.0,
"md.sys.typescale.display-large.tracking": -0.25,
"md.sys.typescale.display-large.weight": "md.ref.typeface.weight-regular",
"md.sys.typescale.display-medium.font": "md.ref.typeface.brand",
"md.sys.typescale.display-medium.line-height": 52.0,
"md.sys.typescale.display-medium.size": 45.0,
"md.sys.typescale.display-medium.tracking": 0.0,
"md.sys.typescale.display-medium.weight": "md.ref.typeface.weight-regular",
"md.sys.typescale.display-small.font": "md.ref.typeface.brand",
"md.sys.typescale.display-small.line-height": 44.0,
"md.sys.typescale.display-small.size": 36.0,
"md.sys.typescale.display-small.tracking": 0.0,
"md.sys.typescale.display-small.weight": "md.ref.typeface.weight-regular",
"md.sys.typescale.headline-large.font": "md.ref.typeface.brand",
"md.sys.typescale.headline-large.line-height": 40.0,
"md.sys.typescale.headline-large.size": 32.0,
"md.sys.typescale.headline-large.tracking": 0.0,
"md.sys.typescale.headline-large.weight": "md.ref.typeface.weight-regular",
"md.sys.typescale.headline-medium.font": "md.ref.typeface.brand",
"md.sys.typescale.headline-medium.line-height": 36.0,
"md.sys.typescale.headline-medium.size": 28.0,
"md.sys.typescale.headline-medium.tracking": 0.0,
"md.sys.typescale.headline-medium.weight": "md.ref.typeface.weight-regular",
"md.sys.typescale.headline-small.font": "md.ref.typeface.brand",
"md.sys.typescale.headline-small.line-height": 32.0,
"md.sys.typescale.headline-small.size": 24.0,
"md.sys.typescale.headline-small.tracking": 0.0,
"md.sys.typescale.headline-small.weight": "md.ref.typeface.weight-regular",
"md.sys.typescale.label-large.font": "md.ref.typeface.plain",
"md.sys.typescale.label-large.line-height": 20.0,
"md.sys.typescale.label-large.size": 14.0,
"md.sys.typescale.label-large.tracking": 0.1,
"md.sys.typescale.label-large.weight": "md.ref.typeface.weight-medium",
"md.sys.typescale.label-large.weight.prominent": "md.ref.typeface.weight-bold",
"md.sys.typescale.label-medium.font": "md.ref.typeface.plain",
"md.sys.typescale.label-medium.line-height": 16.0,
"md.sys.typescale.label-medium.size": 12.0,
"md.sys.typescale.label-medium.tracking": 0.5,
"md.sys.typescale.label-medium.weight": "md.ref.typeface.weight-medium",
"md.sys.typescale.label-medium.weight.prominent": "md.ref.typeface.weight-bold",
"md.sys.typescale.label-small.font": "md.ref.typeface.plain",
"md.sys.typescale.label-small.line-height": 16.0,
"md.sys.typescale.label-small.size": 11.0,
"md.sys.typescale.label-small.tracking": 0.5,
"md.sys.typescale.label-small.weight": "md.ref.typeface.weight-medium",
"md.sys.typescale.title-large.font": "md.ref.typeface.brand",
"md.sys.typescale.title-large.line-height": 28.0,
"md.sys.typescale.title-large.size": 22.0,
"md.sys.typescale.title-large.tracking": 0.0,
"md.sys.typescale.title-large.weight": "md.ref.typeface.weight-regular",
"md.sys.typescale.title-medium.font": "md.ref.typeface.plain",
"md.sys.typescale.title-medium.line-height": 24.0,
"md.sys.typescale.title-medium.size": 16.0,
"md.sys.typescale.title-medium.tracking": 0.15,
"md.sys.typescale.title-medium.weight": "md.ref.typeface.weight-medium",
"md.sys.typescale.title-small.font": "md.ref.typeface.plain",
"md.sys.typescale.title-small.line-height": 20.0,
"md.sys.typescale.title-small.size": 14.0,
"md.sys.typescale.title-small.tracking": 0.1,
"md.sys.typescale.title-small.weight": "md.ref.typeface.weight-medium"
}