|
| 1 | +// Copyright 2013 The Flutter Authors |
| 2 | +// Use of this source code is governed by a BSD-style license that can be |
| 3 | +// found in the LICENSE file. |
| 4 | + |
| 5 | +// Version: 38.2.31 |
| 6 | + |
| 7 | +// dart format off |
| 8 | +import 'color_role.dart'; |
| 9 | +import 'shape_struct.dart'; |
| 10 | +import 'typescale.dart'; |
| 11 | +import 'typescale_struct.dart'; |
| 12 | + |
| 13 | +class TokenAssistChip { |
| 14 | + /// md.comp.assist-chip.container.height |
| 15 | + static const double containerHeight = 32.00; |
| 16 | + |
| 17 | + /// md.comp.assist-chip.container.shape |
| 18 | + static const ShapeStruct containerShape = ShapeStruct( |
| 19 | + family: 'SHAPE_FAMILY_ROUNDED_CORNERS', |
| 20 | + topLeft: 8.00, |
| 21 | + topRight: 8.00, |
| 22 | + bottomLeft: 8.00, |
| 23 | + bottomRight: 8.00, |
| 24 | + ); |
| 25 | + |
| 26 | + /// md.comp.assist-chip.disabled.label-text.color |
| 27 | + static const TokenColorRole disabledLabelTextColor = TokenColorRole.onSurface; |
| 28 | + |
| 29 | + /// md.comp.assist-chip.disabled.label-text.opacity |
| 30 | + static const double disabledLabelTextOpacity = 0.38; |
| 31 | + |
| 32 | + /// md.comp.assist-chip.dragged.container.elevation |
| 33 | + static const double draggedContainerElevation = 8.00; |
| 34 | + |
| 35 | + /// md.comp.assist-chip.dragged.label-text.color |
| 36 | + static const TokenColorRole draggedLabelTextColor = TokenColorRole.onSurface; |
| 37 | + |
| 38 | + /// md.comp.assist-chip.dragged.state-layer.color |
| 39 | + static const TokenColorRole draggedStateLayerColor = TokenColorRole.onSurface; |
| 40 | + |
| 41 | + /// md.comp.assist-chip.dragged.state-layer.opacity |
| 42 | + static const double draggedStateLayerOpacity = 0.16; |
| 43 | + |
| 44 | + /// md.comp.assist-chip.elevated.container.color |
| 45 | + static const TokenColorRole elevatedContainerColor = |
| 46 | + TokenColorRole.surfaceContainerLow; |
| 47 | + |
| 48 | + /// md.comp.assist-chip.elevated.container.elevation |
| 49 | + static const double elevatedContainerElevation = 1.00; |
| 50 | + |
| 51 | + /// md.comp.assist-chip.elevated.container.shadow-color |
| 52 | + static const TokenColorRole elevatedContainerShadowColor = |
| 53 | + TokenColorRole.shadow; |
| 54 | + |
| 55 | + /// md.comp.assist-chip.elevated.disabled.container.color |
| 56 | + static const TokenColorRole elevatedDisabledContainerColor = |
| 57 | + TokenColorRole.onSurface; |
| 58 | + |
| 59 | + /// md.comp.assist-chip.elevated.disabled.container.elevation |
| 60 | + static const double elevatedDisabledContainerElevation = 0.00; |
| 61 | + |
| 62 | + /// md.comp.assist-chip.elevated.disabled.container.opacity |
| 63 | + static const double elevatedDisabledContainerOpacity = 0.12; |
| 64 | + |
| 65 | + /// md.comp.assist-chip.elevated.focus.container.elevation |
| 66 | + static const double elevatedFocusContainerElevation = 1.00; |
| 67 | + |
| 68 | + /// md.comp.assist-chip.elevated.hover.container.elevation |
| 69 | + static const double elevatedHoverContainerElevation = 3.00; |
| 70 | + |
| 71 | + /// md.comp.assist-chip.elevated.pressed.container.elevation |
| 72 | + static const double elevatedPressedContainerElevation = 1.00; |
| 73 | + |
| 74 | + /// md.comp.assist-chip.flat.container.elevation |
| 75 | + static const double flatContainerElevation = 0.00; |
| 76 | + |
| 77 | + /// md.comp.assist-chip.flat.disabled.outline.color |
| 78 | + static const TokenColorRole flatDisabledOutlineColor = |
| 79 | + TokenColorRole.onSurface; |
| 80 | + |
| 81 | + /// md.comp.assist-chip.flat.disabled.outline.opacity |
| 82 | + static const double flatDisabledOutlineOpacity = 0.12; |
| 83 | + |
| 84 | + /// md.comp.assist-chip.flat.focus.outline.color |
| 85 | + static const TokenColorRole flatFocusOutlineColor = TokenColorRole.onSurface; |
| 86 | + |
| 87 | + /// md.comp.assist-chip.flat.outline.color |
| 88 | + static const TokenColorRole flatOutlineColor = TokenColorRole.outlineVariant; |
| 89 | + |
| 90 | + /// md.comp.assist-chip.flat.outline.width |
| 91 | + static const double flatOutlineWidth = 1.00; |
| 92 | + |
| 93 | + /// md.comp.assist-chip.focus.indicator.color |
| 94 | + static const TokenColorRole focusIndicatorColor = TokenColorRole.secondary; |
| 95 | + |
| 96 | + /// md.comp.assist-chip.focus.indicator.outline.offset |
| 97 | + static const double focusIndicatorOutlineOffset = 2.00; |
| 98 | + |
| 99 | + /// md.comp.assist-chip.focus.indicator.thickness |
| 100 | + static const double focusIndicatorThickness = 3.00; |
| 101 | + |
| 102 | + /// md.comp.assist-chip.focus.label-text.color |
| 103 | + static const TokenColorRole focusLabelTextColor = TokenColorRole.onSurface; |
| 104 | + |
| 105 | + /// md.comp.assist-chip.focus.state-layer.color |
| 106 | + static const TokenColorRole focusStateLayerColor = TokenColorRole.onSurface; |
| 107 | + |
| 108 | + /// md.comp.assist-chip.focus.state-layer.opacity |
| 109 | + static const double focusStateLayerOpacity = 0.10; |
| 110 | + |
| 111 | + /// md.comp.assist-chip.hover.label-text.color |
| 112 | + static const TokenColorRole hoverLabelTextColor = TokenColorRole.onSurface; |
| 113 | + |
| 114 | + /// md.comp.assist-chip.hover.state-layer.color |
| 115 | + static const TokenColorRole hoverStateLayerColor = TokenColorRole.onSurface; |
| 116 | + |
| 117 | + /// md.comp.assist-chip.hover.state-layer.opacity |
| 118 | + static const double hoverStateLayerOpacity = 0.08; |
| 119 | + |
| 120 | + /// md.comp.assist-chip.label-text.color |
| 121 | + static const TokenColorRole labelTextColor = TokenColorRole.onSurface; |
| 122 | + |
| 123 | + /// md.comp.assist-chip.label-text.type |
| 124 | + static const TypescaleStruct labelTextType = TokenTypescale.labelLarge; |
| 125 | + |
| 126 | + /// md.comp.assist-chip.pressed.label-text.color |
| 127 | + static const TokenColorRole pressedLabelTextColor = TokenColorRole.onSurface; |
| 128 | + |
| 129 | + /// md.comp.assist-chip.pressed.state-layer.color |
| 130 | + static const TokenColorRole pressedStateLayerColor = TokenColorRole.onSurface; |
| 131 | + |
| 132 | + /// md.comp.assist-chip.pressed.state-layer.opacity |
| 133 | + static const double pressedStateLayerOpacity = 0.10; |
| 134 | + |
| 135 | + /// md.comp.assist-chip.with-icon.disabled.icon.color |
| 136 | + static const TokenColorRole withIconDisabledIconColor = |
| 137 | + TokenColorRole.onSurface; |
| 138 | + |
| 139 | + /// md.comp.assist-chip.with-icon.disabled.icon.opacity |
| 140 | + static const double withIconDisabledIconOpacity = 0.38; |
| 141 | + |
| 142 | + /// md.comp.assist-chip.with-icon.dragged.icon.color |
| 143 | + static const TokenColorRole withIconDraggedIconColor = TokenColorRole.primary; |
| 144 | + |
| 145 | + /// md.comp.assist-chip.with-icon.focus.icon.color |
| 146 | + static const TokenColorRole withIconFocusIconColor = TokenColorRole.primary; |
| 147 | + |
| 148 | + /// md.comp.assist-chip.with-icon.hover.icon.color |
| 149 | + static const TokenColorRole withIconHoverIconColor = TokenColorRole.primary; |
| 150 | + |
| 151 | + /// md.comp.assist-chip.with-icon.icon.color |
| 152 | + static const TokenColorRole withIconIconColor = TokenColorRole.primary; |
| 153 | + |
| 154 | + /// md.comp.assist-chip.with-icon.icon.size |
| 155 | + static const double withIconIconSize = 18.00; |
| 156 | + |
| 157 | + /// md.comp.assist-chip.with-icon.pressed.icon.color |
| 158 | + static const TokenColorRole withIconPressedIconColor = TokenColorRole.primary; |
| 159 | +} |
0 commit comments