@pg-labs-incubator/cobweb 0.0.0-stage → 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +163 -0
- package/README.md +82 -2
- package/package.json +111 -3
- package/src/action/action.yaml +291 -0
- package/src/action/button-group.yaml +56 -0
- package/src/action/button.yaml +239 -0
- package/src/action/split-button.yaml +87 -0
- package/src/color/color.yaml +181 -0
- package/src/color/palette.yaml +147 -0
- package/src/container/card.yaml +170 -0
- package/src/container/corner-radius.yaml +50 -0
- package/src/container/elevation.yaml +19 -0
- package/src/design.yaml +41 -0
- package/src/feedback/feedback.yaml +225 -0
- package/src/icon/icon-font.yaml +28 -0
- package/src/icon/icon.yaml +31 -0
- package/src/input/date-picker.yaml +144 -0
- package/src/input/date-range-input.yaml +162 -0
- package/src/input/range-slider.yaml +161 -0
- package/src/input/select.yaml +230 -0
- package/src/input/slider.yaml +172 -0
- package/src/input/text-field.yaml +240 -0
- package/src/input/time-picker.yaml +220 -0
- package/src/motion/motion.yaml +371 -0
- package/src/navigation/app-bar.yaml +147 -0
- package/src/navigation/navigation.yaml +339 -0
- package/src/navigation/scroll.yaml +23 -0
- package/src/navigation/search.yaml +112 -0
- package/src/navigation/tabs.yaml +144 -0
- package/src/navigation/toolbar.yaml +130 -0
- package/src/selection/checkbox.yaml +162 -0
- package/src/selection/chip.yaml +219 -0
- package/src/selection/radio.yaml +125 -0
- package/src/selection/segmented-group.yaml +11 -0
- package/src/selection/segmented.yaml +69 -0
- package/src/selection/switch.yaml +209 -0
- package/src/spacing/measurement.yaml +80 -0
- package/src/state/state.yaml +38 -0
- package/src/surface/surface.yaml +483 -0
- package/src/text/line-height.yaml +144 -0
- package/src/text/typeface.yaml +31 -0
- package/src/text/typescale.yaml +726 -0
- package/target/esbuild/action/action.css +1 -0
- package/target/esbuild/action/base.jsx +1 -0
- package/target/esbuild/action/button.jsx +17 -0
- package/target/esbuild/action/fab-menu-context.jsx +1 -0
- package/target/esbuild/action/fab-menu.jsx +15 -0
- package/target/esbuild/action/fab.jsx +7 -0
- package/target/esbuild/action/group.jsx +22 -0
- package/target/esbuild/action/icon-button.jsx +5 -0
- package/target/esbuild/action/index.jsx +1 -0
- package/target/esbuild/action/split-button.jsx +12 -0
- package/target/esbuild/color/contrast.jsx +1 -0
- package/target/esbuild/color/dynamic.jsx +1 -0
- package/target/esbuild/color/hct.jsx +1 -0
- package/target/esbuild/color/index.css +1 -0
- package/target/esbuild/color/index.jsx +1 -0
- package/target/esbuild/color/palette.jsx +1 -0
- package/target/esbuild/color/scheme.jsx +1 -0
- package/target/esbuild/color/temperature.jsx +1 -0
- package/target/esbuild/container/card.css +1 -0
- package/target/esbuild/container/card.jsx +1 -0
- package/target/esbuild/container/elevation-shadow.css +1 -0
- package/target/esbuild/container/elevation-shadow.jsx +1 -0
- package/target/esbuild/container/index.jsx +1 -0
- package/target/esbuild/dom/client.jsx +1 -0
- package/target/esbuild/dom/index.jsx +1 -0
- package/target/esbuild/dom/server.jsx +1 -0
- package/target/esbuild/dom/types.jsx +1 -0
- package/target/esbuild/feedback/badge.jsx +15 -0
- package/target/esbuild/feedback/feedback.css +1 -0
- package/target/esbuild/feedback/focus.jsx +1 -0
- package/target/esbuild/feedback/index.jsx +1 -0
- package/target/esbuild/feedback/loading.jsx +7 -0
- package/target/esbuild/feedback/observe.jsx +1 -0
- package/target/esbuild/feedback/progress.jsx +35 -0
- package/target/esbuild/feedback/snackbar.jsx +23 -0
- package/target/esbuild/feedback/tooltip.jsx +24 -0
- package/target/esbuild/icon/icon.css +1 -0
- package/target/esbuild/icon/icon.jsx +1 -0
- package/target/esbuild/icon/index.jsx +1 -0
- package/target/esbuild/index.css +1 -0
- package/target/esbuild/index.jsx +1 -0
- package/target/esbuild/input/autocomplete.jsx +5 -0
- package/target/esbuild/input/base.jsx +4 -0
- package/target/esbuild/input/date-picker.css +1 -0
- package/target/esbuild/input/date-picker.jsx +104 -0
- package/target/esbuild/input/date-range-input.css +1 -0
- package/target/esbuild/input/date-time.jsx +21 -0
- package/target/esbuild/input/index.css +1 -0
- package/target/esbuild/input/index.jsx +1 -0
- package/target/esbuild/input/paired-input.jsx +1 -0
- package/target/esbuild/input/picker-dialog.css +1 -0
- package/target/esbuild/input/picker-dialog.jsx +14 -0
- package/target/esbuild/input/select.css +1 -0
- package/target/esbuild/input/select.jsx +63 -0
- package/target/esbuild/input/slider.css +1 -0
- package/target/esbuild/input/slider.jsx +51 -0
- package/target/esbuild/input/text-field.css +1 -0
- package/target/esbuild/input/text-field.jsx +67 -0
- package/target/esbuild/input/time-picker.css +1 -0
- package/target/esbuild/input/time-picker.jsx +29 -0
- package/target/esbuild/motion/frame.jsx +1 -0
- package/target/esbuild/motion/index.css +1 -0
- package/target/esbuild/motion/index.jsx +1 -0
- package/target/esbuild/motion/material.jsx +1 -0
- package/target/esbuild/motion/motion.jsx +1 -0
- package/target/esbuild/motion/spring.jsx +1 -0
- package/target/esbuild/motion/transition.css +1 -0
- package/target/esbuild/motion/transition.jsx +1 -0
- package/target/esbuild/motion/velocity.jsx +1 -0
- package/target/esbuild/navigation/app-bar.jsx +51 -0
- package/target/esbuild/navigation/base.jsx +1 -0
- package/target/esbuild/navigation/drawer.jsx +25 -0
- package/target/esbuild/navigation/index.jsx +1 -0
- package/target/esbuild/navigation/navigation.css +1 -0
- package/target/esbuild/navigation/navigation.jsx +29 -0
- package/target/esbuild/navigation/scroll.jsx +1 -0
- package/target/esbuild/navigation/search.jsx +29 -0
- package/target/esbuild/navigation/tabs.jsx +7 -0
- package/target/esbuild/navigation/toolbar.jsx +23 -0
- package/target/esbuild/selection/base.jsx +1 -0
- package/target/esbuild/selection/checkbox.jsx +14 -0
- package/target/esbuild/selection/chip.jsx +23 -0
- package/target/esbuild/selection/index.jsx +1 -0
- package/target/esbuild/selection/radio.jsx +9 -0
- package/target/esbuild/selection/segmented.jsx +15 -0
- package/target/esbuild/selection/selection.css +1 -0
- package/target/esbuild/selection/switch.jsx +14 -0
- package/target/esbuild/shape/corner-rounding.jsx +1 -0
- package/target/esbuild/shape/cubic.jsx +1 -0
- package/target/esbuild/shape/index.jsx +1 -0
- package/target/esbuild/shape/material-shapes.jsx +1 -0
- package/target/esbuild/shape/morph.jsx +1 -0
- package/target/esbuild/shape/path.jsx +1 -0
- package/target/esbuild/shape/point.jsx +1 -0
- package/target/esbuild/shape/rounded-polygon.jsx +1 -0
- package/target/esbuild/shape/shapes.jsx +1 -0
- package/target/esbuild/spacing/index.jsx +1 -0
- package/target/esbuild/state/component.css +1 -0
- package/target/esbuild/state/component.jsx +1 -0
- package/target/esbuild/state/controller.jsx +1 -0
- package/target/esbuild/state/index.jsx +1 -0
- package/target/esbuild/state/ripple.jsx +1 -0
- package/target/esbuild/state/state.jsx +1 -0
- package/target/esbuild/state/style.jsx +1 -0
- package/target/esbuild/surface/carousel-layout.jsx +1 -0
- package/target/esbuild/surface/carousel.css +1 -0
- package/target/esbuild/surface/carousel.jsx +10 -0
- package/target/esbuild/surface/dialog.jsx +35 -0
- package/target/esbuild/surface/divider.jsx +1 -0
- package/target/esbuild/surface/drag.jsx +1 -0
- package/target/esbuild/surface/gestures.css +1 -0
- package/target/esbuild/surface/gestures.jsx +7 -0
- package/target/esbuild/surface/index.css +1 -0
- package/target/esbuild/surface/index.jsx +1 -0
- package/target/esbuild/surface/interactive.jsx +1 -0
- package/target/esbuild/surface/list-patterns.jsx +26 -0
- package/target/esbuild/surface/list.css +1 -0
- package/target/esbuild/surface/list.jsx +9 -0
- package/target/esbuild/surface/menu.css +1 -0
- package/target/esbuild/surface/menu.jsx +12 -0
- package/target/esbuild/surface/scaffold.jsx +47 -0
- package/target/esbuild/surface/sheet.jsx +21 -0
- package/target/esbuild/surface/side-sheet.jsx +17 -0
- package/target/esbuild/surface/slots.jsx +1 -0
- package/target/esbuild/surface/surface.css +1 -0
- package/target/esbuild/surface/surface.jsx +1 -0
- package/target/esbuild/text/index.css +1 -0
- package/target/esbuild/text/index.jsx +1 -0
- package/target/esbuild/text/text.css +1 -0
- package/target/esbuild/text/text.jsx +3 -0
- package/target/esbuild/text/typography.css +1 -0
- package/target/esbuild/text/typography.jsx +1 -0
- package/target/esbuild/util/box-side.jsx +1 -0
- package/target/esbuild/util/debug.jsx +1 -0
- package/target/esbuild/util/dom.jsx +1 -0
- package/target/esbuild/util/event.jsx +1 -0
- package/target/esbuild/util/index.jsx +1 -0
- package/target/esbuild/util/preconditions.jsx +1 -0
- package/target/esbuild/util/reactive.jsx +1 -0
- package/target/tsc/action/action.css.d.ts +3 -0
- package/target/tsc/action/base.d.ts +211 -0
- package/target/tsc/action/button.d.ts +126 -0
- package/target/tsc/action/fab-menu-context.d.ts +16 -0
- package/target/tsc/action/fab-menu.d.ts +112 -0
- package/target/tsc/action/fab.d.ts +98 -0
- package/target/tsc/action/group.d.ts +166 -0
- package/target/tsc/action/icon-button.d.ts +79 -0
- package/target/tsc/action/index.d.ts +24 -0
- package/target/tsc/action/split-button.d.ts +78 -0
- package/target/tsc/color/contrast.d.ts +48 -0
- package/target/tsc/color/dynamic.d.ts +203 -0
- package/target/tsc/color/hct.d.ts +114 -0
- package/target/tsc/color/index.css.d.ts +3 -0
- package/target/tsc/color/index.d.ts +23 -0
- package/target/tsc/color/palette.d.ts +30 -0
- package/target/tsc/color/scheme.d.ts +446 -0
- package/target/tsc/color/temperature.d.ts +24 -0
- package/target/tsc/container/card.css.d.ts +3 -0
- package/target/tsc/container/card.d.ts +110 -0
- package/target/tsc/container/elevation-shadow.css.d.ts +3 -0
- package/target/tsc/container/elevation-shadow.d.ts +23 -0
- package/target/tsc/container/index.d.ts +44 -0
- package/target/tsc/dom/client.d.ts +387 -0
- package/target/tsc/dom/index.d.ts +93 -0
- package/target/tsc/dom/server.d.ts +65 -0
- package/target/tsc/dom/types.d.ts +134 -0
- package/target/tsc/feedback/badge.d.ts +116 -0
- package/target/tsc/feedback/feedback.css.d.ts +3 -0
- package/target/tsc/feedback/focus.d.ts +20 -0
- package/target/tsc/feedback/index.d.ts +17 -0
- package/target/tsc/feedback/loading.d.ts +194 -0
- package/target/tsc/feedback/observe.d.ts +75 -0
- package/target/tsc/feedback/progress.d.ts +281 -0
- package/target/tsc/feedback/snackbar.d.ts +398 -0
- package/target/tsc/feedback/tooltip.d.ts +326 -0
- package/target/tsc/icon/icon.css.d.ts +3 -0
- package/target/tsc/icon/icon.d.ts +69 -0
- package/target/tsc/icon/index.d.ts +13 -0
- package/target/tsc/index.css.d.ts +3 -0
- package/target/tsc/index.d.ts +7 -0
- package/target/tsc/input/autocomplete.d.ts +119 -0
- package/target/tsc/input/base.d.ts +282 -0
- package/target/tsc/input/date-picker.css.d.ts +3 -0
- package/target/tsc/input/date-picker.d.ts +351 -0
- package/target/tsc/input/date-range-input.css.d.ts +3 -0
- package/target/tsc/input/date-time.d.ts +171 -0
- package/target/tsc/input/index.css.d.ts +3 -0
- package/target/tsc/input/index.d.ts +27 -0
- package/target/tsc/input/paired-input.d.ts +435 -0
- package/target/tsc/input/picker-dialog.css.d.ts +3 -0
- package/target/tsc/input/picker-dialog.d.ts +84 -0
- package/target/tsc/input/select.css.d.ts +3 -0
- package/target/tsc/input/select.d.ts +267 -0
- package/target/tsc/input/slider.css.d.ts +3 -0
- package/target/tsc/input/slider.d.ts +372 -0
- package/target/tsc/input/text-field.css.d.ts +3 -0
- package/target/tsc/input/text-field.d.ts +415 -0
- package/target/tsc/input/time-picker.css.d.ts +3 -0
- package/target/tsc/input/time-picker.d.ts +212 -0
- package/target/tsc/motion/frame.d.ts +36 -0
- package/target/tsc/motion/index.css.d.ts +3 -0
- package/target/tsc/motion/index.d.ts +34 -0
- package/target/tsc/motion/material.d.ts +110 -0
- package/target/tsc/motion/motion.d.ts +235 -0
- package/target/tsc/motion/spring.d.ts +223 -0
- package/target/tsc/motion/transition.css.d.ts +3 -0
- package/target/tsc/motion/transition.d.ts +597 -0
- package/target/tsc/motion/velocity.d.ts +54 -0
- package/target/tsc/navigation/app-bar.d.ts +473 -0
- package/target/tsc/navigation/base.d.ts +320 -0
- package/target/tsc/navigation/drawer.d.ts +301 -0
- package/target/tsc/navigation/index.d.ts +25 -0
- package/target/tsc/navigation/navigation.css.d.ts +3 -0
- package/target/tsc/navigation/navigation.d.ts +537 -0
- package/target/tsc/navigation/scroll.d.ts +218 -0
- package/target/tsc/navigation/search.d.ts +332 -0
- package/target/tsc/navigation/tabs.d.ts +497 -0
- package/target/tsc/navigation/toolbar.d.ts +248 -0
- package/target/tsc/selection/base.d.ts +100 -0
- package/target/tsc/selection/checkbox.d.ts +194 -0
- package/target/tsc/selection/chip.d.ts +358 -0
- package/target/tsc/selection/index.d.ts +21 -0
- package/target/tsc/selection/radio.d.ts +198 -0
- package/target/tsc/selection/segmented.d.ts +333 -0
- package/target/tsc/selection/selection.css.d.ts +3 -0
- package/target/tsc/selection/switch.d.ts +165 -0
- package/target/tsc/shape/corner-rounding.d.ts +36 -0
- package/target/tsc/shape/cubic.d.ts +215 -0
- package/target/tsc/shape/index.d.ts +35 -0
- package/target/tsc/shape/material-shapes.d.ts +176 -0
- package/target/tsc/shape/morph.d.ts +91 -0
- package/target/tsc/shape/path.d.ts +177 -0
- package/target/tsc/shape/point.d.ts +165 -0
- package/target/tsc/shape/rounded-polygon.d.ts +289 -0
- package/target/tsc/shape/shapes.d.ts +76 -0
- package/target/tsc/spacing/index.d.ts +19 -0
- package/target/tsc/state/component.css.d.ts +3 -0
- package/target/tsc/state/component.d.ts +276 -0
- package/target/tsc/state/controller.d.ts +257 -0
- package/target/tsc/state/index.d.ts +19 -0
- package/target/tsc/state/ripple.d.ts +50 -0
- package/target/tsc/state/state.d.ts +129 -0
- package/target/tsc/state/style.d.ts +22 -0
- package/target/tsc/surface/carousel-layout.d.ts +212 -0
- package/target/tsc/surface/carousel.css.d.ts +3 -0
- package/target/tsc/surface/carousel.d.ts +231 -0
- package/target/tsc/surface/dialog.d.ts +580 -0
- package/target/tsc/surface/divider.d.ts +92 -0
- package/target/tsc/surface/drag.d.ts +92 -0
- package/target/tsc/surface/gestures.css.d.ts +3 -0
- package/target/tsc/surface/gestures.d.ts +292 -0
- package/target/tsc/surface/index.css.d.ts +3 -0
- package/target/tsc/surface/index.d.ts +29 -0
- package/target/tsc/surface/interactive.d.ts +22 -0
- package/target/tsc/surface/list-patterns.d.ts +384 -0
- package/target/tsc/surface/list.css.d.ts +3 -0
- package/target/tsc/surface/list.d.ts +340 -0
- package/target/tsc/surface/menu.css.d.ts +3 -0
- package/target/tsc/surface/menu.d.ts +590 -0
- package/target/tsc/surface/scaffold.d.ts +337 -0
- package/target/tsc/surface/sheet.d.ts +384 -0
- package/target/tsc/surface/side-sheet.d.ts +183 -0
- package/target/tsc/surface/slots.d.ts +21 -0
- package/target/tsc/surface/surface.css.d.ts +3 -0
- package/target/tsc/surface/surface.d.ts +192 -0
- package/target/tsc/text/index.css.d.ts +3 -0
- package/target/tsc/text/index.d.ts +18 -0
- package/target/tsc/text/text.css.d.ts +3 -0
- package/target/tsc/text/text.d.ts +94 -0
- package/target/tsc/text/typography.css.d.ts +3 -0
- package/target/tsc/text/typography.d.ts +82 -0
- package/target/tsc/util/box-side.d.ts +76 -0
- package/target/tsc/util/debug.d.ts +20 -0
- package/target/tsc/util/dom.d.ts +35 -0
- package/target/tsc/util/event.d.ts +93 -0
- package/target/tsc/util/index.d.ts +12 -0
- package/target/tsc/util/preconditions.d.ts +79 -0
- package/target/tsc/util/reactive.d.ts +36 -0
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
# SPDX-License-Identifier: MPL-2.0
|
|
2
|
+
class: component
|
|
3
|
+
attribute: AppBar
|
|
4
|
+
description: >
|
|
5
|
+
Top and bottom app-bar roles (`AppBarTokens.kt`, `AppBarSmallTokens.kt`, `AppBarMediumTokens.kt`,
|
|
6
|
+
`AppBarLargeTokens.kt`, `AppBarMediumFlexibleTokens.kt`, `AppBarLargeFlexibleTokens.kt`, and
|
|
7
|
+
`BottomAppBarTokens.kt`). The `top` roles apply to every top app bar; the `medium`, `large`,
|
|
8
|
+
`mediumFlexible`, and `largeFlexible` roles size the expanded row of the two-row variants.
|
|
9
|
+
roles:
|
|
10
|
+
top:
|
|
11
|
+
description: Roles of every top app bar, and of the top row of two-row bars.
|
|
12
|
+
roles:
|
|
13
|
+
containerColor:
|
|
14
|
+
description: Container color.
|
|
15
|
+
type: color
|
|
16
|
+
value: $cw-Color-surface-fill
|
|
17
|
+
scrolledContainerColor:
|
|
18
|
+
description: >
|
|
19
|
+
Container color while content scrolls under a single-row bar, which a two-row bar
|
|
20
|
+
approaches as it collapses.
|
|
21
|
+
type: color
|
|
22
|
+
value: $cw-Color-surface-container
|
|
23
|
+
titleColor:
|
|
24
|
+
description: Title color.
|
|
25
|
+
type: color
|
|
26
|
+
value: $cw-Color-surface-onFill
|
|
27
|
+
subtitleColor:
|
|
28
|
+
description: Subtitle color.
|
|
29
|
+
type: color
|
|
30
|
+
value: $cw-Color-surface-onFillVariant
|
|
31
|
+
navigationIconColor:
|
|
32
|
+
description: Color of the leading navigation icon.
|
|
33
|
+
type: color
|
|
34
|
+
value: $cw-Color-surface-onFill
|
|
35
|
+
actionIconColor:
|
|
36
|
+
description: Color of the trailing action icons.
|
|
37
|
+
type: color
|
|
38
|
+
value: $cw-Color-surface-onFillVariant
|
|
39
|
+
height:
|
|
40
|
+
description: Height of a single-row bar, and of the top row of a two-row bar.
|
|
41
|
+
type: length
|
|
42
|
+
value: 64px
|
|
43
|
+
leadingSpace:
|
|
44
|
+
description: Space between the start of the bar and the navigation icon.
|
|
45
|
+
type: length
|
|
46
|
+
value: 4px
|
|
47
|
+
trailingSpace:
|
|
48
|
+
description: Space between the actions, or the avatar, and the end of the bar.
|
|
49
|
+
type: length
|
|
50
|
+
value: 4px
|
|
51
|
+
iconButtonSpace:
|
|
52
|
+
description: Space between action icon buttons.
|
|
53
|
+
type: length
|
|
54
|
+
value: 0px
|
|
55
|
+
avatarSize:
|
|
56
|
+
description: Size of the trailing avatar, centered in a 48px target.
|
|
57
|
+
type: length
|
|
58
|
+
value: 32px
|
|
59
|
+
medium:
|
|
60
|
+
description: Roles of medium top app bars.
|
|
61
|
+
roles:
|
|
62
|
+
height:
|
|
63
|
+
description: Expanded height.
|
|
64
|
+
type: length
|
|
65
|
+
value: 112px
|
|
66
|
+
titleBaselineSpace:
|
|
67
|
+
description: >
|
|
68
|
+
Space between the last baseline of the expanded title, or subtitle, and the bottom of the
|
|
69
|
+
bar (Compose `MediumTitleBottomPadding`).
|
|
70
|
+
type: length
|
|
71
|
+
value: 24px
|
|
72
|
+
large:
|
|
73
|
+
description: Roles of large top app bars.
|
|
74
|
+
roles:
|
|
75
|
+
height:
|
|
76
|
+
description: Expanded height.
|
|
77
|
+
type: length
|
|
78
|
+
value: 152px
|
|
79
|
+
titleBaselineSpace:
|
|
80
|
+
description: >
|
|
81
|
+
Space between the last baseline of the expanded title, or subtitle, and the bottom of the
|
|
82
|
+
bar (Compose `LargeTitleBottomPadding`).
|
|
83
|
+
type: length
|
|
84
|
+
value: 28px
|
|
85
|
+
mediumFlexible:
|
|
86
|
+
description: Roles of medium flexible top app bars.
|
|
87
|
+
roles:
|
|
88
|
+
height:
|
|
89
|
+
description: Expanded height without a subtitle.
|
|
90
|
+
type: length
|
|
91
|
+
value: 112px
|
|
92
|
+
subtitledHeight:
|
|
93
|
+
description: Expanded height with a subtitle.
|
|
94
|
+
type: length
|
|
95
|
+
value: 136px
|
|
96
|
+
titleBaselineSpace:
|
|
97
|
+
description: >
|
|
98
|
+
Space between the last baseline of the expanded title, or subtitle, and the bottom of the
|
|
99
|
+
bar (Compose `MediumTitleBottomPadding`).
|
|
100
|
+
type: length
|
|
101
|
+
value: 24px
|
|
102
|
+
largeFlexible:
|
|
103
|
+
description: Roles of large flexible top app bars.
|
|
104
|
+
roles:
|
|
105
|
+
height:
|
|
106
|
+
description: Expanded height without a subtitle.
|
|
107
|
+
type: length
|
|
108
|
+
value: 120px
|
|
109
|
+
subtitledHeight:
|
|
110
|
+
description: Expanded height with a subtitle.
|
|
111
|
+
type: length
|
|
112
|
+
value: 152px
|
|
113
|
+
titleBaselineSpace:
|
|
114
|
+
description: >
|
|
115
|
+
Space between the last baseline of the expanded title, or subtitle, and the bottom of the
|
|
116
|
+
bar (Compose `LargeTitleBottomPadding`).
|
|
117
|
+
type: length
|
|
118
|
+
value: 28px
|
|
119
|
+
bottom:
|
|
120
|
+
description: Roles of bottom app bars.
|
|
121
|
+
roles:
|
|
122
|
+
containerColor:
|
|
123
|
+
description: Container color.
|
|
124
|
+
type: color
|
|
125
|
+
value: $cw-Color-surface-container
|
|
126
|
+
contentColor:
|
|
127
|
+
description: Color of content within the container.
|
|
128
|
+
type: color
|
|
129
|
+
value: $cw-Color-surface-onFill
|
|
130
|
+
height:
|
|
131
|
+
description: Container height.
|
|
132
|
+
type: length
|
|
133
|
+
value: 80px
|
|
134
|
+
topSpace:
|
|
135
|
+
description: >
|
|
136
|
+
Space above the actions and the floating action button (Compose `BottomAppBar`).
|
|
137
|
+
type: length
|
|
138
|
+
value: 4px
|
|
139
|
+
leadingSpace:
|
|
140
|
+
description: Space between the start of the bar and the actions.
|
|
141
|
+
type: length
|
|
142
|
+
value: 4px
|
|
143
|
+
trailingSpace:
|
|
144
|
+
description: >
|
|
145
|
+
Space between the floating action button, or the actions, and the end of the bar.
|
|
146
|
+
type: length
|
|
147
|
+
value: 4px
|
|
@@ -0,0 +1,339 @@
|
|
|
1
|
+
# SPDX-License-Identifier: MPL-2.0
|
|
2
|
+
class: component
|
|
3
|
+
attribute: Navigation
|
|
4
|
+
description: >
|
|
5
|
+
Navigation bar, navigation rail, navigation drawer, and destination roles. Values follow the
|
|
6
|
+
Material 3 navigation tokens (`NavigationBarTokens`, `NavigationBarVerticalItemTokens`,
|
|
7
|
+
`NavigationBarHorizontalItemTokens`, `NavigationRailCollapsedTokens`,
|
|
8
|
+
`NavigationRailExpandedTokens`, `NavigationRail*ItemTokens`, `NavigationRailColorTokens`,
|
|
9
|
+
`NavigationDrawerTokens`, and `ScrimTokens`), and the layouts of the Compose `NavigationBar`,
|
|
10
|
+
`ShortNavigationBar`, `WideNavigationRail`, and `NavigationDrawer` components.
|
|
11
|
+
|
|
12
|
+
Roles are not inherited. Assign a role on the element which consumes it: the bar or rail root
|
|
13
|
+
for `bar` and `rail` roles, the modal rail surface for `modal` roles, the drawer root for
|
|
14
|
+
`drawer` roles, and the destination for `item` roles.
|
|
15
|
+
roles:
|
|
16
|
+
bar:
|
|
17
|
+
description: Navigation bar roles.
|
|
18
|
+
roles:
|
|
19
|
+
containerColor:
|
|
20
|
+
description: Container color (`NavigationBarTokens.ContainerColor`).
|
|
21
|
+
type: color
|
|
22
|
+
value: $cw-Color-surface-container
|
|
23
|
+
height:
|
|
24
|
+
description: >
|
|
25
|
+
Height of a `NavigationBar` with top icons (`NavigationBarTokens.TallContainerHeight`).
|
|
26
|
+
type: length
|
|
27
|
+
value: 80px
|
|
28
|
+
shortHeight:
|
|
29
|
+
description: >
|
|
30
|
+
Height of a `ShortNavigationBar`, and of a bar with start icons
|
|
31
|
+
(`NavigationBarTokens.ContainerHeight`).
|
|
32
|
+
type: length
|
|
33
|
+
value: 64px
|
|
34
|
+
itemSpacing:
|
|
35
|
+
description: >
|
|
36
|
+
Space between the destinations of a `NavigationBar` (`NavigationBar.kt`
|
|
37
|
+
`NavigationBarItemHorizontalPadding`).
|
|
38
|
+
type: length
|
|
39
|
+
value: 8px
|
|
40
|
+
startIndicatorHeight:
|
|
41
|
+
description: >
|
|
42
|
+
Active indicator height of a destination with a start icon
|
|
43
|
+
(`NavigationBarHorizontalItemTokens.ActiveIndicatorHeight`).
|
|
44
|
+
type: length
|
|
45
|
+
value: 40px
|
|
46
|
+
startIconLabelSpace:
|
|
47
|
+
description: >
|
|
48
|
+
Space between the start icon and the label of a destination
|
|
49
|
+
(`NavigationBarTokens.ItemActiveIndicatorIconLabelSpace`).
|
|
50
|
+
type: length
|
|
51
|
+
value: 4px
|
|
52
|
+
rail:
|
|
53
|
+
description: Navigation rail roles.
|
|
54
|
+
roles:
|
|
55
|
+
containerColor:
|
|
56
|
+
description: Container color (`NavigationRailCollapsedTokens.ContainerColor`).
|
|
57
|
+
type: color
|
|
58
|
+
value: $cw-Color-surface-fill
|
|
59
|
+
collapsedWidth:
|
|
60
|
+
description: Width of a collapsed rail (`NavigationRailCollapsedTokens.ContainerWidth`).
|
|
61
|
+
type: length
|
|
62
|
+
value: 96px
|
|
63
|
+
expandedMinWidth:
|
|
64
|
+
description: >
|
|
65
|
+
Minimum width of an expanded rail (`NavigationRailExpandedTokens.ContainerWidthMinimum`).
|
|
66
|
+
type: length
|
|
67
|
+
value: 220px
|
|
68
|
+
expandedMaxWidth:
|
|
69
|
+
description: >
|
|
70
|
+
Maximum width of an expanded rail (`NavigationRailExpandedTokens.ContainerWidthMaximum`).
|
|
71
|
+
type: length
|
|
72
|
+
value: 360px
|
|
73
|
+
topSpace:
|
|
74
|
+
description: >
|
|
75
|
+
Space above the header and destinations (`NavigationRailCollapsedTokens.TopSpace`).
|
|
76
|
+
type: length
|
|
77
|
+
value: 44px
|
|
78
|
+
headerSpace:
|
|
79
|
+
description: >
|
|
80
|
+
Space between the header and the first destination
|
|
81
|
+
(`NavigationRailBaselineItemTokens.HeaderSpaceMinimum`).
|
|
82
|
+
type: length
|
|
83
|
+
value: 40px
|
|
84
|
+
itemSpacing:
|
|
85
|
+
description: >
|
|
86
|
+
Space between the destinations of a collapsed rail
|
|
87
|
+
(`NavigationRailCollapsedTokens.ItemVerticalSpace`).
|
|
88
|
+
type: length
|
|
89
|
+
value: 4px
|
|
90
|
+
itemInset:
|
|
91
|
+
description: >
|
|
92
|
+
Space between the rail edges and its destinations (`WideNavigationRail.kt`
|
|
93
|
+
`WNRItemHorizontalPadding`).
|
|
94
|
+
type: length
|
|
95
|
+
value: 20px
|
|
96
|
+
modal:
|
|
97
|
+
description: Roles of the modal surface of an expanded modal rail.
|
|
98
|
+
roles:
|
|
99
|
+
containerColor:
|
|
100
|
+
description: Container color (`NavigationRailExpandedTokens.ModalContainerColor`).
|
|
101
|
+
type: color
|
|
102
|
+
value: $cw-Color-surface-container
|
|
103
|
+
elevation:
|
|
104
|
+
description: Container elevation (`NavigationRailExpandedTokens.ModalContainerElevation`).
|
|
105
|
+
type: integer
|
|
106
|
+
value: $cw-Elevation-level-2
|
|
107
|
+
shadowColor:
|
|
108
|
+
description: Elevation shadow color.
|
|
109
|
+
type: color
|
|
110
|
+
value: $cw-Color-shadow
|
|
111
|
+
shape:
|
|
112
|
+
description: Container shape (`NavigationRailExpandedTokens.ModalContainerShape`).
|
|
113
|
+
type: length
|
|
114
|
+
roles:
|
|
115
|
+
topLeft: $cw-CornerRadius-large
|
|
116
|
+
topRight: $cw-CornerRadius-large
|
|
117
|
+
bottomRight: $cw-CornerRadius-large
|
|
118
|
+
bottomLeft: $cw-CornerRadius-large
|
|
119
|
+
scrimColor:
|
|
120
|
+
description: Scrim color (`ScrimTokens.ContainerColor`).
|
|
121
|
+
type: color
|
|
122
|
+
value: $cw-Color-scrim
|
|
123
|
+
scrimOpacity:
|
|
124
|
+
description: Scrim opacity (`ScrimTokens.ContainerOpacity`).
|
|
125
|
+
type: number
|
|
126
|
+
value: 0.32
|
|
127
|
+
item:
|
|
128
|
+
description: Roles of the destinations of bars and rails.
|
|
129
|
+
roles:
|
|
130
|
+
iconSize:
|
|
131
|
+
description: Icon size (`NavigationRailBaselineItemTokens.IconSize`).
|
|
132
|
+
type: length
|
|
133
|
+
value: 24px
|
|
134
|
+
indicatorColor:
|
|
135
|
+
description: >
|
|
136
|
+
Active indicator color (`NavigationRailColorTokens.ItemActiveIndicator`,
|
|
137
|
+
`NavigationBarTokens.ItemActiveIndicatorColor`).
|
|
138
|
+
type: color
|
|
139
|
+
value: $cw-Color-secondary-container
|
|
140
|
+
indicatorShape:
|
|
141
|
+
description: >
|
|
142
|
+
Active indicator corner radius (`NavigationRailBaselineItemTokens.ActiveIndicatorShape`).
|
|
143
|
+
type: length
|
|
144
|
+
value: $cw-CornerRadius-full
|
|
145
|
+
indicatorWidth:
|
|
146
|
+
description: >
|
|
147
|
+
Active indicator width of a destination with a top icon
|
|
148
|
+
(`NavigationRailVerticalItemTokens.ActiveIndicatorWidth`).
|
|
149
|
+
type: length
|
|
150
|
+
value: 56px
|
|
151
|
+
indicatorHeight:
|
|
152
|
+
description: >
|
|
153
|
+
Active indicator height of a destination with a top icon
|
|
154
|
+
(`NavigationRailVerticalItemTokens.ActiveIndicatorHeight`).
|
|
155
|
+
type: length
|
|
156
|
+
value: 32px
|
|
157
|
+
noLabelIndicatorHeight:
|
|
158
|
+
description: >
|
|
159
|
+
Active indicator height of a rail destination without a label (`WideNavigationRail.kt`
|
|
160
|
+
`WNRItemNoLabelIndicatorPadding`).
|
|
161
|
+
type: length
|
|
162
|
+
value: 56px
|
|
163
|
+
startIndicatorHeight:
|
|
164
|
+
description: >
|
|
165
|
+
Active indicator height of a rail destination with a start icon
|
|
166
|
+
(`NavigationRailHorizontalItemTokens.ActiveIndicatorHeight`).
|
|
167
|
+
type: length
|
|
168
|
+
value: 56px
|
|
169
|
+
indicatorPadding:
|
|
170
|
+
description: >
|
|
171
|
+
Space between the active indicator and the content of a destination with a start icon
|
|
172
|
+
(`NavigationRailHorizontalItemTokens.FullWidthLeadingSpace`).
|
|
173
|
+
type: length
|
|
174
|
+
value: 16px
|
|
175
|
+
indicatorLabelSpace:
|
|
176
|
+
description: >
|
|
177
|
+
Space between the active indicator and the label of a destination with a top icon
|
|
178
|
+
(`NavigationRailVerticalItemTokens.IconLabelSpace`).
|
|
179
|
+
type: length
|
|
180
|
+
value: 4px
|
|
181
|
+
iconLabelSpace:
|
|
182
|
+
description: >
|
|
183
|
+
Space between the start icon and the label of a rail destination
|
|
184
|
+
(`NavigationRailHorizontalItemTokens.IconLabelSpace`).
|
|
185
|
+
type: length
|
|
186
|
+
value: 8px
|
|
187
|
+
height:
|
|
188
|
+
description: >
|
|
189
|
+
Minimum height of a destination with a top icon
|
|
190
|
+
(`NavigationRailBaselineItemTokens.ContainerHeight`).
|
|
191
|
+
type: length
|
|
192
|
+
value: 64px
|
|
193
|
+
verticalPadding:
|
|
194
|
+
description: >
|
|
195
|
+
Space above and below the content of a destination with a top icon
|
|
196
|
+
(`NavigationRailBaselineItemTokens.ContainerVerticalSpace`).
|
|
197
|
+
type: length
|
|
198
|
+
value: 6px
|
|
199
|
+
selectedIconColor:
|
|
200
|
+
description: Selected icon color (`NavigationRailColorTokens.ItemActiveIcon`).
|
|
201
|
+
type: color
|
|
202
|
+
value: $cw-Color-secondary-onContainer
|
|
203
|
+
selectedLabelColor:
|
|
204
|
+
description: >
|
|
205
|
+
Selected label color of a destination with a top icon
|
|
206
|
+
(`NavigationRailColorTokens.ItemActiveLabelText`).
|
|
207
|
+
type: color
|
|
208
|
+
value: $cw-Color-secondary-fill
|
|
209
|
+
selectedStartLabelColor:
|
|
210
|
+
description: >
|
|
211
|
+
Selected label color of a destination with a start icon (`ShortNavigationBar.kt`
|
|
212
|
+
`selectedTextColorStartIconPosition`).
|
|
213
|
+
type: color
|
|
214
|
+
value: $cw-Color-secondary-onContainer
|
|
215
|
+
contentColor:
|
|
216
|
+
description: >
|
|
217
|
+
Unselected icon and label color (`NavigationRailColorTokens.ItemInactiveIcon`,
|
|
218
|
+
`NavigationRailColorTokens.ItemInactiveLabelText`).
|
|
219
|
+
type: color
|
|
220
|
+
value: $cw-Color-surface-onFillVariant
|
|
221
|
+
disabledContentOpacity:
|
|
222
|
+
description: >
|
|
223
|
+
Opacity of the unselected content color of a disabled destination (`ShortNavigationBar.kt`
|
|
224
|
+
`disabledIconColor`).
|
|
225
|
+
type: number
|
|
226
|
+
value: 0.38
|
|
227
|
+
stateLayerColor:
|
|
228
|
+
description: >
|
|
229
|
+
State-layer color (`NavigationRailColorTokens.ItemActiveHoveredStateLayer`,
|
|
230
|
+
`NavigationRailColorTokens.ItemInactiveHoveredStateLayer`).
|
|
231
|
+
type: color
|
|
232
|
+
value: $cw-Color-secondary-onContainer
|
|
233
|
+
drawer:
|
|
234
|
+
description: Navigation drawer roles.
|
|
235
|
+
roles:
|
|
236
|
+
width:
|
|
237
|
+
description: Drawer width (`NavigationDrawerTokens.ContainerWidth`).
|
|
238
|
+
type: length
|
|
239
|
+
value: 360px
|
|
240
|
+
containerColor:
|
|
241
|
+
description: >
|
|
242
|
+
Container color of a dismissible or permanent drawer
|
|
243
|
+
(`NavigationDrawerTokens.StandardContainerColor`).
|
|
244
|
+
type: color
|
|
245
|
+
value: $cw-Color-surface-fill
|
|
246
|
+
modalContainerColor:
|
|
247
|
+
description: >
|
|
248
|
+
Container color of a modal drawer (`NavigationDrawerTokens.ModalContainerColor`).
|
|
249
|
+
type: color
|
|
250
|
+
value: $cw-Color-surface-containerLow
|
|
251
|
+
modalElevation:
|
|
252
|
+
description: >
|
|
253
|
+
Container elevation of a modal drawer (`NavigationDrawerTokens.ModalContainerElevation`).
|
|
254
|
+
type: integer
|
|
255
|
+
value: $cw-Elevation-level-1
|
|
256
|
+
shadowColor:
|
|
257
|
+
description: Elevation shadow color.
|
|
258
|
+
type: color
|
|
259
|
+
value: $cw-Color-shadow
|
|
260
|
+
modalShape:
|
|
261
|
+
description: Container shape of a modal drawer (`NavigationDrawerTokens.ContainerShape`).
|
|
262
|
+
type: length
|
|
263
|
+
roles:
|
|
264
|
+
topLeft: $cw-CornerRadius-none
|
|
265
|
+
topRight: $cw-CornerRadius-large
|
|
266
|
+
bottomRight: $cw-CornerRadius-large
|
|
267
|
+
bottomLeft: $cw-CornerRadius-none
|
|
268
|
+
scrimColor:
|
|
269
|
+
description: Scrim color (`ScrimTokens.ContainerColor`).
|
|
270
|
+
type: color
|
|
271
|
+
value: $cw-Color-scrim
|
|
272
|
+
scrimOpacity:
|
|
273
|
+
description: Scrim opacity (`ScrimTokens.ContainerOpacity`).
|
|
274
|
+
type: number
|
|
275
|
+
value: 0.32
|
|
276
|
+
padding:
|
|
277
|
+
description: >
|
|
278
|
+
Space between the drawer edges and its destinations (`NavigationDrawer.kt`
|
|
279
|
+
`NavigationDrawerItemDefaults.ItemPadding`).
|
|
280
|
+
type: length
|
|
281
|
+
value: 12px
|
|
282
|
+
headlineColor:
|
|
283
|
+
description: Headline and section label color (`NavigationDrawerTokens.HeadlineColor`).
|
|
284
|
+
type: color
|
|
285
|
+
value: $cw-Color-surface-onFillVariant
|
|
286
|
+
headlineInset:
|
|
287
|
+
description: >
|
|
288
|
+
Space between the drawer edges and its headline, section labels, and dividers, which
|
|
289
|
+
aligns them with destination content.
|
|
290
|
+
type: length
|
|
291
|
+
value: 28px
|
|
292
|
+
dividerColor:
|
|
293
|
+
description: Color of the divider preceding a section (`DividerTokens.Color`).
|
|
294
|
+
type: color
|
|
295
|
+
value: $cw-Color-outlineVariant
|
|
296
|
+
itemHeight:
|
|
297
|
+
description: Destination height (`NavigationDrawerTokens.ActiveIndicatorHeight`).
|
|
298
|
+
type: length
|
|
299
|
+
value: 56px
|
|
300
|
+
itemStartPadding:
|
|
301
|
+
description: >
|
|
302
|
+
Space before the icon of a destination (`NavigationDrawer.kt` `NavigationDrawerItem`).
|
|
303
|
+
type: length
|
|
304
|
+
value: 16px
|
|
305
|
+
itemEndPadding:
|
|
306
|
+
description: >
|
|
307
|
+
Space after the label or badge of a destination (`NavigationDrawer.kt`
|
|
308
|
+
`NavigationDrawerItem`).
|
|
309
|
+
type: length
|
|
310
|
+
value: 24px
|
|
311
|
+
iconLabelSpace:
|
|
312
|
+
description: >
|
|
313
|
+
Space between the icon and the label of a destination (`NavigationDrawer.kt`
|
|
314
|
+
`NavigationDrawerItem`).
|
|
315
|
+
type: length
|
|
316
|
+
value: 12px
|
|
317
|
+
selectedContentColor:
|
|
318
|
+
description: >
|
|
319
|
+
Selected icon and label color (`NavigationDrawerTokens.ActiveIconColor`,
|
|
320
|
+
`NavigationDrawerTokens.ActiveLabelTextColor`).
|
|
321
|
+
type: color
|
|
322
|
+
value: $cw-Color-secondary-onContainer
|
|
323
|
+
contentColor:
|
|
324
|
+
description: >
|
|
325
|
+
Unselected icon and label color (`NavigationDrawerTokens.InactiveIconColor`,
|
|
326
|
+
`NavigationDrawerTokens.InactiveLabelTextColor`).
|
|
327
|
+
type: color
|
|
328
|
+
value: $cw-Color-surface-onFillVariant
|
|
329
|
+
activeContentColor:
|
|
330
|
+
description: >
|
|
331
|
+
Unselected icon and label color of a hovered, focused, or pressed destination
|
|
332
|
+
(`NavigationDrawerTokens.InactiveHoverIconColor`,
|
|
333
|
+
`NavigationDrawerTokens.InactiveHoverLabelTextColor`).
|
|
334
|
+
type: color
|
|
335
|
+
value: $cw-Color-surface-onFill
|
|
336
|
+
badgeColor:
|
|
337
|
+
description: Badge label color (`NavigationDrawerTokens.LargeBadgeLabelColor`).
|
|
338
|
+
type: color
|
|
339
|
+
value: $cw-Color-surface-onFillVariant
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# SPDX-License-Identifier: MPL-2.0
|
|
2
|
+
class: component
|
|
3
|
+
attribute: Scrollbar
|
|
4
|
+
description: >
|
|
5
|
+
Scrollbar roles. Material 3 does not specify scrollbars; these roles follow the surface roles of
|
|
6
|
+
the system.
|
|
7
|
+
roles:
|
|
8
|
+
trackColor:
|
|
9
|
+
description: Track color.
|
|
10
|
+
type: color
|
|
11
|
+
value: $cw-Color-surface-container
|
|
12
|
+
thumbColor:
|
|
13
|
+
description: Thumb color.
|
|
14
|
+
type: color
|
|
15
|
+
value: $cw-Color-surface-onFillVariant
|
|
16
|
+
thumbShape:
|
|
17
|
+
description: Corner radius of the track and the thumb.
|
|
18
|
+
type: length
|
|
19
|
+
value: $cw-CornerRadius-full
|
|
20
|
+
thickness:
|
|
21
|
+
description: Scrollbar thickness.
|
|
22
|
+
type: length
|
|
23
|
+
value: 12px
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
# SPDX-License-Identifier: MPL-2.0
|
|
2
|
+
class: component
|
|
3
|
+
attribute: SearchBar
|
|
4
|
+
description: >
|
|
5
|
+
Search bar, search view, and search app-bar roles (`SearchBarTokens.kt`, `SearchViewTokens.kt`,
|
|
6
|
+
and the Material Components search and app-bar tokens).
|
|
7
|
+
roles:
|
|
8
|
+
bar:
|
|
9
|
+
description: Roles of the search bar.
|
|
10
|
+
roles:
|
|
11
|
+
containerColor:
|
|
12
|
+
description: Container color.
|
|
13
|
+
type: color
|
|
14
|
+
value: $cw-Color-surface-containerHigh
|
|
15
|
+
containerElevation:
|
|
16
|
+
description: >
|
|
17
|
+
Container shadow elevation. The search tokens elevate the bar tonally, through its
|
|
18
|
+
container color; Compose `SearchBarDefaults.ShadowElevation` adds no shadow.
|
|
19
|
+
type: integer
|
|
20
|
+
value: $cw-Elevation-level-0
|
|
21
|
+
height:
|
|
22
|
+
description: Container height; the container corner radius is half of it.
|
|
23
|
+
type: length
|
|
24
|
+
value: 56px
|
|
25
|
+
inputTextColor:
|
|
26
|
+
description: Color of the query.
|
|
27
|
+
type: color
|
|
28
|
+
value: $cw-Color-surface-onFill
|
|
29
|
+
supportingTextColor:
|
|
30
|
+
description: Color of the placeholder.
|
|
31
|
+
type: color
|
|
32
|
+
value: $cw-Color-surface-onFillVariant
|
|
33
|
+
leadingIconColor:
|
|
34
|
+
description: Color of the leading icon.
|
|
35
|
+
type: color
|
|
36
|
+
value: $cw-Color-surface-onFill
|
|
37
|
+
trailingIconColor:
|
|
38
|
+
description: Color of the trailing icons.
|
|
39
|
+
type: color
|
|
40
|
+
value: $cw-Color-surface-onFillVariant
|
|
41
|
+
avatarSize:
|
|
42
|
+
description: Size of the trailing avatar, centered in a 48px target.
|
|
43
|
+
type: length
|
|
44
|
+
value: 30px
|
|
45
|
+
view:
|
|
46
|
+
description: Roles of the docked and full-screen search views.
|
|
47
|
+
roles:
|
|
48
|
+
containerColor:
|
|
49
|
+
description: Container color of the divided views.
|
|
50
|
+
type: color
|
|
51
|
+
value: $cw-Color-surface-containerHigh
|
|
52
|
+
containerElevation:
|
|
53
|
+
description: Shadow elevation of docked results, which overlay the page.
|
|
54
|
+
type: integer
|
|
55
|
+
value: $cw-Elevation-level-3
|
|
56
|
+
dividerColor:
|
|
57
|
+
description: Color of the divider below the bar of a divided view.
|
|
58
|
+
type: color
|
|
59
|
+
value: $cw-Color-outline
|
|
60
|
+
dockedShape:
|
|
61
|
+
description: Corner radius of a docked divided view.
|
|
62
|
+
type: length
|
|
63
|
+
value: $cw-CornerRadius-xlarge
|
|
64
|
+
fullScreenHeaderHeight:
|
|
65
|
+
description: Header height of a full-screen divided view.
|
|
66
|
+
type: length
|
|
67
|
+
value: 72px
|
|
68
|
+
containedFullScreenColor:
|
|
69
|
+
description: >
|
|
70
|
+
Container color of a full-screen contained view (Compose
|
|
71
|
+
`SearchBarDefaults.fullScreenContainedSearchBarColor`).
|
|
72
|
+
type: color
|
|
73
|
+
value: $cw-Color-surface-containerLow
|
|
74
|
+
containedResultsShape:
|
|
75
|
+
description: Corner radius of the results of a docked contained view.
|
|
76
|
+
type: length
|
|
77
|
+
value: $cw-CornerRadius-medium
|
|
78
|
+
containedResultsSpace:
|
|
79
|
+
description: Space between the bar and the results of a docked contained view.
|
|
80
|
+
type: length
|
|
81
|
+
value: 2px
|
|
82
|
+
appBar:
|
|
83
|
+
description: Roles of search app bars (Compose `SearchBarDefaults.appBarWithSearchColors`).
|
|
84
|
+
roles:
|
|
85
|
+
containerColor:
|
|
86
|
+
description: App-bar container color.
|
|
87
|
+
type: color
|
|
88
|
+
value: $cw-Color-surface-fill
|
|
89
|
+
scrolledContainerColor:
|
|
90
|
+
description: App-bar container color while content scrolls under the bar.
|
|
91
|
+
type: color
|
|
92
|
+
value: $cw-Color-surface-container
|
|
93
|
+
fieldColor:
|
|
94
|
+
description: Search field color (`m3_comp_app_bar_search_container_color`).
|
|
95
|
+
type: color
|
|
96
|
+
value: $cw-Color-surface-container
|
|
97
|
+
scrolledFieldColor:
|
|
98
|
+
description: Search field color while content scrolls under the bar.
|
|
99
|
+
type: color
|
|
100
|
+
value: $cw-Color-surface-containerHighest
|
|
101
|
+
navigationIconColor:
|
|
102
|
+
description: Color of the leading navigation icon.
|
|
103
|
+
type: color
|
|
104
|
+
value: $cw-Color-surface-onFill
|
|
105
|
+
actionIconColor:
|
|
106
|
+
description: Color of the action icons.
|
|
107
|
+
type: color
|
|
108
|
+
value: $cw-Color-surface-onFillVariant
|
|
109
|
+
height:
|
|
110
|
+
description: App-bar height.
|
|
111
|
+
type: length
|
|
112
|
+
value: 64px
|