ThemeColors
此内容尚不支持你的语言。
Defined in: ui/theme/tokens.ts:17
Semantic color roles consumed by widgets.
Properties
Section titled “Properties”backdrop
Section titled “backdrop”backdrop:
Color
Defined in: ui/theme/tokens.ts:37
Modal scrim.
control
Section titled “control”control:
Color
Defined in: ui/theme/tokens.ts:23
Interactive control resting fill (button/option).
controlActive
Section titled “controlActive”controlActive:
Color
Defined in: ui/theme/tokens.ts:25
controlHover
Section titled “controlHover”controlHover:
Color
Defined in: ui/theme/tokens.ts:24
onPrimary
Section titled “onPrimary”onPrimary:
Color
Defined in: ui/theme/tokens.ts:33
Content/handle drawn on top of primary.
primary
Section titled “primary”primary:
Color
Defined in: ui/theme/tokens.ts:29
Accent — slider fill, progress fill, selected option.
primaryActive
Section titled “primaryActive”primaryActive:
Color
Defined in: ui/theme/tokens.ts:31
primaryHover
Section titled “primaryHover”primaryHover:
Color
Defined in: ui/theme/tokens.ts:30
surface
Section titled “surface”surface:
Color
Defined in: ui/theme/tokens.ts:19
Dialog / panel background.
surfaceElevated
Section titled “surfaceElevated”surfaceElevated:
Color
Defined in: ui/theme/tokens.ts:21
Raised surface — popup / dropdown list background.
text:
Color
Defined in: ui/theme/tokens.ts:35
Default foreground (label text / icon) drawn on surface/control.
track:
Color
Defined in: ui/theme/tokens.ts:27
Slider / progress track.