@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,483 @@
|
|
|
1
|
+
# SPDX-License-Identifier: MPL-2.0
|
|
2
|
+
class: component
|
|
3
|
+
attribute: Surface
|
|
4
|
+
description: >
|
|
5
|
+
Material 3 surface-family roles: surfaces, dividers, dialogs, bottom and side sheets, scaffolds
|
|
6
|
+
and pane scaffolds. Lists and menus also read their roles from this attribute. Component roles
|
|
7
|
+
are not inherited; consumers redeclare color defaults on the element which reads them.
|
|
8
|
+
roles:
|
|
9
|
+
color:
|
|
10
|
+
description: Surface container color.
|
|
11
|
+
type: color
|
|
12
|
+
value: $cw-Color-surface-container
|
|
13
|
+
onColor:
|
|
14
|
+
description: Color used for content on a surface.
|
|
15
|
+
type: color
|
|
16
|
+
value: $cw-Color-surface-onFill
|
|
17
|
+
shape:
|
|
18
|
+
description: Surface corner shape.
|
|
19
|
+
type: length
|
|
20
|
+
value: $cw-CornerRadius-medium
|
|
21
|
+
outlineColor:
|
|
22
|
+
description: Optional surface outline color.
|
|
23
|
+
type: color
|
|
24
|
+
value: $cw-Color-outline
|
|
25
|
+
outlineThickness:
|
|
26
|
+
description: Optional surface outline thickness.
|
|
27
|
+
type: length
|
|
28
|
+
value: 0px
|
|
29
|
+
selectedColor:
|
|
30
|
+
description: Selected surface container color.
|
|
31
|
+
type: color
|
|
32
|
+
value: $cw-Color-secondary-container
|
|
33
|
+
selectedOnColor:
|
|
34
|
+
description: Color used for content on a selected surface.
|
|
35
|
+
type: color
|
|
36
|
+
value: $cw-Color-secondary-onContainer
|
|
37
|
+
disabledOpacity:
|
|
38
|
+
description: >
|
|
39
|
+
Opacity of a disabled surface, Material's disabled content opacity applied to the whole
|
|
40
|
+
container, since a generic surface has no dedicated disabled container token.
|
|
41
|
+
type: number
|
|
42
|
+
value: 0.38
|
|
43
|
+
dividerColor:
|
|
44
|
+
description: Divider color, `DividerTokens.Color`.
|
|
45
|
+
type: color
|
|
46
|
+
value: $cw-Color-outlineVariant
|
|
47
|
+
dividerThickness:
|
|
48
|
+
description: Divider thickness, `DividerTokens.Thickness`.
|
|
49
|
+
type: length
|
|
50
|
+
value: 1px
|
|
51
|
+
dividerInset:
|
|
52
|
+
description: Inset of an inset or middle-inset divider from its container edge.
|
|
53
|
+
type: length
|
|
54
|
+
value: 16px
|
|
55
|
+
listItemHeight:
|
|
56
|
+
description: One-line list item minimum height.
|
|
57
|
+
type: length
|
|
58
|
+
value: 56px
|
|
59
|
+
listItemHeightDense:
|
|
60
|
+
description: Dense list item minimum height.
|
|
61
|
+
type: length
|
|
62
|
+
value: 48px
|
|
63
|
+
listItemTwoLineHeight:
|
|
64
|
+
description: Two-line list item minimum height (`ListTokens.ItemTwoLineContainerHeight`).
|
|
65
|
+
type: length
|
|
66
|
+
value: 72px
|
|
67
|
+
listItemThreeLineHeight:
|
|
68
|
+
description: Three-line list item minimum height (`ListTokens.ItemThreeLineContainerHeight`).
|
|
69
|
+
type: length
|
|
70
|
+
value: 88px
|
|
71
|
+
listItemShape:
|
|
72
|
+
description: >
|
|
73
|
+
Resting list item corner shape of baseline lists (`ListTokens.ItemContainerShape`), or of the
|
|
74
|
+
`expressive` theme (`ListTokens.ItemContainerExpressiveShape`). Standard and segmented lists
|
|
75
|
+
use the Expressive item shapes.
|
|
76
|
+
type: length
|
|
77
|
+
value: $cw-CornerRadius-none
|
|
78
|
+
listItemSelectedColor:
|
|
79
|
+
description: Selected list item container color (`ListTokens.ItemSelectedContainerColor`).
|
|
80
|
+
type: color
|
|
81
|
+
value: $cw-Color-secondary-container
|
|
82
|
+
listItemColor:
|
|
83
|
+
description: >
|
|
84
|
+
Container color of standard list items (`ListTokens.ItemContainerColor`). Items of baseline
|
|
85
|
+
lists have no container color of their own, so that they take the color of their surface.
|
|
86
|
+
type: color
|
|
87
|
+
value: $cw-Color-surface-fill
|
|
88
|
+
listItemSegmentedColor:
|
|
89
|
+
description: Container color of segmented list items (`ListTokens.ItemSegmentedContainerColor`).
|
|
90
|
+
type: color
|
|
91
|
+
value: $cw-Color-surface-fill
|
|
92
|
+
listItemLabelColor:
|
|
93
|
+
description: List item headline color (`ListTokens.ItemLabelTextColor`).
|
|
94
|
+
type: color
|
|
95
|
+
value: $cw-Color-surface-onFill
|
|
96
|
+
listItemSupportingColor:
|
|
97
|
+
description: >
|
|
98
|
+
Color of list item supporting text, overline, trailing supporting text, and leading and
|
|
99
|
+
trailing icons (`ListTokens.ItemSupportingTextColor` and siblings).
|
|
100
|
+
type: color
|
|
101
|
+
value: $cw-Color-surface-onFillVariant
|
|
102
|
+
listItemSelectedContentColor:
|
|
103
|
+
description: >
|
|
104
|
+
Color of all content of a selected list item (`ListTokens.ItemSelectedLabelTextColor` and
|
|
105
|
+
siblings).
|
|
106
|
+
type: color
|
|
107
|
+
value: $cw-Color-secondary-onContainer
|
|
108
|
+
listItemExpressiveSelectedColor:
|
|
109
|
+
description: >
|
|
110
|
+
Selected container color of standard and segmented list items, after the Material 3
|
|
111
|
+
Expressive list specification, which takes precedence over the secondary container of
|
|
112
|
+
AndroidX.
|
|
113
|
+
type: color
|
|
114
|
+
value: $cw-Color-primary-container
|
|
115
|
+
listItemExpressiveSelectedContentColor:
|
|
116
|
+
description: Color of all content of a selected standard or segmented list item.
|
|
117
|
+
type: color
|
|
118
|
+
value: $cw-Color-primary-onContainer
|
|
119
|
+
listItemDisabledOpacity:
|
|
120
|
+
description: Opacity of the content of a disabled list item (`ListTokens.ItemDisabled*Opacity`).
|
|
121
|
+
type: number
|
|
122
|
+
value: 0.38
|
|
123
|
+
listItemAvatarColor:
|
|
124
|
+
description: Leading avatar container color (`ListTokens.ItemLeadingAvatarColor`).
|
|
125
|
+
type: color
|
|
126
|
+
value: $cw-Color-primary-container
|
|
127
|
+
listItemAvatarLabelColor:
|
|
128
|
+
description: Leading avatar label color (`ListTokens.ItemLeadingAvatarLabelColor`).
|
|
129
|
+
type: color
|
|
130
|
+
value: $cw-Color-primary-onContainer
|
|
131
|
+
listItemDraggedColor:
|
|
132
|
+
description: Container color of a dragged list item (`ReorderListTokens.ItemContainerColor`).
|
|
133
|
+
type: color
|
|
134
|
+
value: $cw-Color-tertiary-container
|
|
135
|
+
listItemDraggedContentColor:
|
|
136
|
+
description: Content color of a dragged list item (`ReorderListTokens.ItemLabelTextColor`).
|
|
137
|
+
type: color
|
|
138
|
+
value: $cw-Color-tertiary-onContainer
|
|
139
|
+
listItemDraggedElevation:
|
|
140
|
+
description: Elevation of a dragged list item (`ListTokens.ItemDraggedContainerElevation`).
|
|
141
|
+
type: integer
|
|
142
|
+
value: $cw-Elevation-level-4
|
|
143
|
+
listItemDropZoneColor:
|
|
144
|
+
description: >
|
|
145
|
+
Color of the position a dragged list item would be dropped at
|
|
146
|
+
(`ReorderListTokens.ItemDropZoneColor`).
|
|
147
|
+
type: color
|
|
148
|
+
value: $cw-Color-surface-containerLow
|
|
149
|
+
dialogScrimColor:
|
|
150
|
+
description: Scrim color behind modal dialogs and sheets, `ScrimTokens.ContainerColor`.
|
|
151
|
+
type: color
|
|
152
|
+
value: $cw-Color-scrim
|
|
153
|
+
dialogScrimOpacity:
|
|
154
|
+
description: Opacity of the scrim color, `ScrimTokens.ContainerOpacity`.
|
|
155
|
+
type: number
|
|
156
|
+
value: 0.32
|
|
157
|
+
dialogShape:
|
|
158
|
+
description: Dialog corner shape, `DialogTokens.ContainerShape`.
|
|
159
|
+
type: length
|
|
160
|
+
value: $cw-CornerRadius-xlarge
|
|
161
|
+
dialogColor:
|
|
162
|
+
description: Dialog container color, `DialogTokens.ContainerColor`.
|
|
163
|
+
type: color
|
|
164
|
+
value: $cw-Color-surface-containerHigh
|
|
165
|
+
dialogElevation:
|
|
166
|
+
description: Dialog container elevation, `DialogTokens.ContainerElevation`.
|
|
167
|
+
type: integer
|
|
168
|
+
value: $cw-Elevation-level-3
|
|
169
|
+
dialogMinWidth:
|
|
170
|
+
description: Minimum dialog width, Compose `DialogMinWidth`.
|
|
171
|
+
type: length
|
|
172
|
+
value: 280px
|
|
173
|
+
dialogMaxWidth:
|
|
174
|
+
description: Maximum dialog width, Compose `DialogMaxWidth`.
|
|
175
|
+
type: length
|
|
176
|
+
value: 560px
|
|
177
|
+
dialogMaxHeight:
|
|
178
|
+
description: Maximum height of a basic (alert) dialog, as material-web dialogs.
|
|
179
|
+
type: length
|
|
180
|
+
value: 560px
|
|
181
|
+
dialogMargin:
|
|
182
|
+
description: Minimum space between a dialog and the viewport edges, as material-web dialogs.
|
|
183
|
+
type: length
|
|
184
|
+
value: 24px
|
|
185
|
+
dialogPadding:
|
|
186
|
+
description: Dialog container padding, Compose `AlertDialogDefaults` dialog padding.
|
|
187
|
+
type: length
|
|
188
|
+
value: 24px
|
|
189
|
+
dialogSpacing:
|
|
190
|
+
description: Space below a dialog's hero icon and headline, Compose icon and title padding.
|
|
191
|
+
type: length
|
|
192
|
+
value: 16px
|
|
193
|
+
dialogIconColor:
|
|
194
|
+
description: Dialog hero icon color, `DialogTokens.IconColor`.
|
|
195
|
+
type: color
|
|
196
|
+
value: $cw-Color-secondary-fill
|
|
197
|
+
dialogIconSize:
|
|
198
|
+
description: Dialog hero icon size, `DialogTokens.IconSize`.
|
|
199
|
+
type: length
|
|
200
|
+
value: 24px
|
|
201
|
+
dialogHeadlineColor:
|
|
202
|
+
description: Dialog headline color, `DialogTokens.HeadlineColor`.
|
|
203
|
+
type: color
|
|
204
|
+
value: $cw-Color-surface-onFill
|
|
205
|
+
dialogSupportingTextColor:
|
|
206
|
+
description: Dialog supporting text color, `DialogTokens.SupportingTextColor`.
|
|
207
|
+
type: color
|
|
208
|
+
value: $cw-Color-surface-onFillVariant
|
|
209
|
+
fullScreenDialogColor:
|
|
210
|
+
description: Full-screen dialog container color, `md.comp.full-screen-dialog.container.color`.
|
|
211
|
+
type: color
|
|
212
|
+
value: $cw-Color-surface-fill
|
|
213
|
+
fullScreenDialogHeaderHeight:
|
|
214
|
+
description: >
|
|
215
|
+
Full-screen dialog header height, `md.comp.full-screen-dialog.header.container.height`.
|
|
216
|
+
type: length
|
|
217
|
+
value: 56px
|
|
218
|
+
fullScreenDialogHeaderScrolledColor:
|
|
219
|
+
description: >
|
|
220
|
+
Full-screen dialog header color while its content is scrolled,
|
|
221
|
+
`md.comp.full-screen-dialog.header.on-scroll.container.color`.
|
|
222
|
+
type: color
|
|
223
|
+
value: $cw-Color-surface-container
|
|
224
|
+
fullScreenDialogHeaderScrolledElevation:
|
|
225
|
+
description: >
|
|
226
|
+
Full-screen dialog header elevation while its content is scrolled,
|
|
227
|
+
`md.comp.full-screen-dialog.header.on-scroll.container.elevation`.
|
|
228
|
+
type: integer
|
|
229
|
+
value: $cw-Elevation-level-2
|
|
230
|
+
menuColor:
|
|
231
|
+
description: Menu container color.
|
|
232
|
+
type: color
|
|
233
|
+
value: $cw-Color-surface-container
|
|
234
|
+
menuShape:
|
|
235
|
+
description: Menu corner shape.
|
|
236
|
+
type: length
|
|
237
|
+
value: $cw-CornerRadius-xsmall
|
|
238
|
+
menuElevation:
|
|
239
|
+
description: >
|
|
240
|
+
Elevation of a menu container, and of each group of an Expressive menu
|
|
241
|
+
(`MenuTokens.ContainerElevation`, `SegmentedMenuTokens.ContainerElevation`).
|
|
242
|
+
type: integer
|
|
243
|
+
value: $cw-Elevation-level-2
|
|
244
|
+
menuContentColor:
|
|
245
|
+
description: Menu item label color (`ListTokens.ItemLabelTextColor`, used by Compose menus).
|
|
246
|
+
type: color
|
|
247
|
+
value: $cw-Color-surface-onFill
|
|
248
|
+
menuSupportingColor:
|
|
249
|
+
description: >
|
|
250
|
+
Color of menu item icons, supporting text, and trailing text
|
|
251
|
+
(`ListTokens.ItemLeadingIconColor`,
|
|
252
|
+
`StandardMenuTokens.ItemSupportingTextColor`).
|
|
253
|
+
type: color
|
|
254
|
+
value: $cw-Color-surface-onFillVariant
|
|
255
|
+
menuSelectedColor:
|
|
256
|
+
description: Checked menu item container color (`MenuTokens.ListItemSelectedContainerColor`).
|
|
257
|
+
type: color
|
|
258
|
+
value: $cw-Color-secondary-container
|
|
259
|
+
menuSelectedContentColor:
|
|
260
|
+
description: Checked menu item content color (`MenuTokens.ListItemSelectedLabelTextColor`).
|
|
261
|
+
type: color
|
|
262
|
+
value: $cw-Color-secondary-onContainer
|
|
263
|
+
menuDisabledOpacity:
|
|
264
|
+
description: >
|
|
265
|
+
Opacity of the content of a disabled menu item, and of the container of a disabled checked
|
|
266
|
+
item (`StandardMenuTokens.ItemDisabledLabelTextOpacity`).
|
|
267
|
+
type: number
|
|
268
|
+
value: 0.38
|
|
269
|
+
menuItemHeight:
|
|
270
|
+
description: Menu item minimum height (Compose `Menu.kt` `MenuListItemContainerHeight`).
|
|
271
|
+
type: length
|
|
272
|
+
value: 48px
|
|
273
|
+
menuItemMinWidth:
|
|
274
|
+
description: Menu item minimum width (Compose `Menu.kt` `DropdownMenuItemDefaultMinWidth`).
|
|
275
|
+
type: length
|
|
276
|
+
value: 112px
|
|
277
|
+
menuItemMaxWidth:
|
|
278
|
+
description: Menu item maximum width (Compose `Menu.kt` `DropdownMenuItemDefaultMaxWidth`).
|
|
279
|
+
type: length
|
|
280
|
+
value: 280px
|
|
281
|
+
menuGroupColor:
|
|
282
|
+
description: >
|
|
283
|
+
Container color of an Expressive menu group in the standard color style
|
|
284
|
+
(`StandardMenuTokens.ContainerColor`).
|
|
285
|
+
type: color
|
|
286
|
+
value: $cw-Color-surface-containerLow
|
|
287
|
+
menuGroupSelectedColor:
|
|
288
|
+
description: >
|
|
289
|
+
Checked item container color of an Expressive menu in the standard color style
|
|
290
|
+
(`StandardMenuTokens.ItemSelectedContainerColor`).
|
|
291
|
+
type: color
|
|
292
|
+
value: $cw-Color-tertiary-container
|
|
293
|
+
menuGroupSelectedContentColor:
|
|
294
|
+
description: >
|
|
295
|
+
Checked item content color of an Expressive menu in the standard color style
|
|
296
|
+
(`StandardMenuTokens.ItemSelectedLabelTextColor`).
|
|
297
|
+
type: color
|
|
298
|
+
value: $cw-Color-tertiary-onContainer
|
|
299
|
+
menuGroupShape:
|
|
300
|
+
description: >
|
|
301
|
+
Outer corner shape of Expressive menu groups: all corners of a single group, and the outer
|
|
302
|
+
corners of the first and last groups (`SegmentedMenuTokens.ContainerShape`).
|
|
303
|
+
type: length
|
|
304
|
+
value: $cw-CornerRadius-large
|
|
305
|
+
menuGroupInnerShape:
|
|
306
|
+
description: >
|
|
307
|
+
Inner corner shape of Expressive menu groups, which is also the shape of a group whose
|
|
308
|
+
submenu is open (`SegmentedMenuTokens.GroupShape`,
|
|
309
|
+
`SegmentedMenuTokens.InactiveContainerShape`).
|
|
310
|
+
type: length
|
|
311
|
+
value: $cw-CornerRadius-small
|
|
312
|
+
menuGroupItemHeight:
|
|
313
|
+
description: >
|
|
314
|
+
Minimum height of an Expressive menu item. This retains the accessible 48px target of other
|
|
315
|
+
menu items, instead of the 44dp of `SegmentedMenuTokens.Item` (`Documentation/material3.md`).
|
|
316
|
+
type: length
|
|
317
|
+
value: 48px
|
|
318
|
+
menuGroupIconSize:
|
|
319
|
+
description: >
|
|
320
|
+
Icon size of an Expressive menu item (`SegmentedMenuTokens.ItemLeadingIconSize`,
|
|
321
|
+
`SegmentedMenuTokens.ItemTrailingIconSize`).
|
|
322
|
+
type: length
|
|
323
|
+
value: 20px
|
|
324
|
+
menuGroupItemShape:
|
|
325
|
+
description: Corner shape of an Expressive menu item (`SegmentedMenuTokens.ItemShape`).
|
|
326
|
+
type: length
|
|
327
|
+
value: $cw-CornerRadius-xsmall
|
|
328
|
+
menuGroupItemOuterShape:
|
|
329
|
+
description: >
|
|
330
|
+
Outer corner shape of the first and last items of an Expressive menu group
|
|
331
|
+
(`SegmentedMenuTokens.ItemFirstChildShape`, `SegmentedMenuTokens.ItemLastChildShape`).
|
|
332
|
+
type: length
|
|
333
|
+
value: $cw-CornerRadius-medium
|
|
334
|
+
menuGroupItemSelectedShape:
|
|
335
|
+
description: >
|
|
336
|
+
Corner shape of a checked Expressive menu item (`SegmentedMenuTokens.ItemSelectedShape`).
|
|
337
|
+
type: length
|
|
338
|
+
value: $cw-CornerRadius-medium
|
|
339
|
+
menuVibrantColor:
|
|
340
|
+
description: >
|
|
341
|
+
Container color of an Expressive menu group in the vibrant color style
|
|
342
|
+
(`VibrantMenuTokens.ContainerColor`).
|
|
343
|
+
type: color
|
|
344
|
+
value: $cw-Color-tertiary-container
|
|
345
|
+
menuVibrantContentColor:
|
|
346
|
+
description: >
|
|
347
|
+
Content color of an Expressive menu in the vibrant color style
|
|
348
|
+
(`VibrantMenuTokens.ItemLabelTextColor` and siblings).
|
|
349
|
+
type: color
|
|
350
|
+
value: $cw-Color-tertiary-onContainer
|
|
351
|
+
menuVibrantActiveIconColor:
|
|
352
|
+
description: >
|
|
353
|
+
Icon color of a hovered, focused, or pressed item of an Expressive menu in the vibrant color
|
|
354
|
+
style (`VibrantMenuTokens.ItemHoveredLeadingIconColor` and siblings).
|
|
355
|
+
type: color
|
|
356
|
+
value: $cw-Color-tertiary-fill
|
|
357
|
+
menuVibrantSelectedColor:
|
|
358
|
+
description: >
|
|
359
|
+
Checked item container color of an Expressive menu in the vibrant color style
|
|
360
|
+
(`VibrantMenuTokens.ItemSelectedContainerColor`).
|
|
361
|
+
type: color
|
|
362
|
+
value: $cw-Color-tertiary-fill
|
|
363
|
+
menuVibrantSelectedContentColor:
|
|
364
|
+
description: >
|
|
365
|
+
Checked item content color of an Expressive menu in the vibrant color style
|
|
366
|
+
(`VibrantMenuTokens.ItemSelectedLabelTextColor`).
|
|
367
|
+
type: color
|
|
368
|
+
value: $cw-Color-tertiary-onFill
|
|
369
|
+
sheetColor:
|
|
370
|
+
description: Bottom sheet container color, `SheetBottomTokens.DockedContainerColor`.
|
|
371
|
+
type: color
|
|
372
|
+
value: $cw-Color-surface-containerLow
|
|
373
|
+
sheetShape:
|
|
374
|
+
description: Bottom sheet top corner shape, `SheetBottomTokens.DockedContainerShape`.
|
|
375
|
+
type: length
|
|
376
|
+
value: $cw-CornerRadius-xlarge
|
|
377
|
+
sheetPeekHeight:
|
|
378
|
+
description: Standard bottom sheet peek height, Compose `BottomSheetDefaults.SheetPeekHeight`.
|
|
379
|
+
type: length
|
|
380
|
+
value: 56px
|
|
381
|
+
sheetMaxWidth:
|
|
382
|
+
description: Maximum bottom sheet width, Compose `BottomSheetDefaults.SheetMaxWidth`.
|
|
383
|
+
type: length
|
|
384
|
+
value: 640px
|
|
385
|
+
sheetElevation:
|
|
386
|
+
description: Bottom sheet elevation, `SheetBottomTokens.DockedStandardContainerElevation`.
|
|
387
|
+
type: integer
|
|
388
|
+
value: $cw-Elevation-level-1
|
|
389
|
+
dragHandleColor:
|
|
390
|
+
description: Bottom sheet drag handle color, `SheetBottomTokens.DockedDragHandleColor`.
|
|
391
|
+
type: color
|
|
392
|
+
value: $cw-Color-surface-onFillVariant
|
|
393
|
+
dragHandleWidth:
|
|
394
|
+
description: Bottom sheet drag handle width, `SheetBottomTokens.DockedDragHandleWidth`.
|
|
395
|
+
type: length
|
|
396
|
+
value: 32px
|
|
397
|
+
dragHandleHeight:
|
|
398
|
+
description: Bottom sheet drag handle height, `SheetBottomTokens.DockedDragHandleHeight`.
|
|
399
|
+
type: length
|
|
400
|
+
value: 4px
|
|
401
|
+
sideSheetWidth:
|
|
402
|
+
description: Side sheet width, `md.comp.sheet.side.docked.container.width`.
|
|
403
|
+
type: length
|
|
404
|
+
value: 256px
|
|
405
|
+
sideSheetColor:
|
|
406
|
+
description: >
|
|
407
|
+
Standard side sheet container color,
|
|
408
|
+
`md.comp.sheet.side.docked.standard.container.color`.
|
|
409
|
+
type: color
|
|
410
|
+
value: $cw-Color-surface-fill
|
|
411
|
+
sideSheetModalColor:
|
|
412
|
+
description: >
|
|
413
|
+
Modal side sheet container color, `md.comp.sheet.side.docked.modal.container.color`.
|
|
414
|
+
type: color
|
|
415
|
+
value: $cw-Color-surface-containerLow
|
|
416
|
+
sideSheetModalElevation:
|
|
417
|
+
description: >
|
|
418
|
+
Modal side sheet container elevation,
|
|
419
|
+
`md.comp.sheet.side.docked.modal.container.elevation`.
|
|
420
|
+
type: integer
|
|
421
|
+
value: $cw-Elevation-level-1
|
|
422
|
+
sideSheetShape:
|
|
423
|
+
description: >
|
|
424
|
+
Corner radius of a modal side sheet's inner corners and of every detached side sheet
|
|
425
|
+
corner, `md.comp.sheet.side.docked.modal.container.shape` and
|
|
426
|
+
`md.comp.sheet.side.detached.container.shape`.
|
|
427
|
+
type: length
|
|
428
|
+
value: $cw-CornerRadius-large
|
|
429
|
+
sideSheetDetachedMargin:
|
|
430
|
+
description: Margin around a detached side sheet, MDC `m3_side_sheet_margin_detached`.
|
|
431
|
+
type: length
|
|
432
|
+
value: 16px
|
|
433
|
+
sideSheetHeadlineColor:
|
|
434
|
+
description: Side sheet headline color, `md.comp.sheet.side.docked.headline.color`.
|
|
435
|
+
type: color
|
|
436
|
+
value: $cw-Color-surface-onFillVariant
|
|
437
|
+
sideSheetDividerColor:
|
|
438
|
+
description: Standard side sheet divider color, `md.comp.sheet.side.docked.divider.color`.
|
|
439
|
+
type: color
|
|
440
|
+
value: $cw-Color-outline
|
|
441
|
+
scaffoldFabSpacing:
|
|
442
|
+
description: >
|
|
443
|
+
Space between a scaffold's floating action button and its edges, Compose `FabSpacing`.
|
|
444
|
+
type: length
|
|
445
|
+
value: 16px
|
|
446
|
+
paneSpacing:
|
|
447
|
+
description: >
|
|
448
|
+
Space between adjacent panes of a pane scaffold, Compose
|
|
449
|
+
`PaneScaffoldDirective.horizontalPartitionSpacerSize`.
|
|
450
|
+
type: length
|
|
451
|
+
value: 24px
|
|
452
|
+
paneMargin:
|
|
453
|
+
description: >
|
|
454
|
+
Horizontal margin of a pane scaffold in medium and wider window size classes. Compose models
|
|
455
|
+
the margin with the partition spacer size.
|
|
456
|
+
type: length
|
|
457
|
+
value: 24px
|
|
458
|
+
paneMarginCompact:
|
|
459
|
+
description: Horizontal margin of a pane scaffold in the compact window size class.
|
|
460
|
+
type: length
|
|
461
|
+
value: 16px
|
|
462
|
+
panePreferredWidth:
|
|
463
|
+
description: >
|
|
464
|
+
Preferred width of a list, supporting or extra pane, Compose
|
|
465
|
+
`PaneScaffoldDirective.DefaultPreferredWidth`.
|
|
466
|
+
type: length
|
|
467
|
+
value: 360px
|
|
468
|
+
panePreferredWidthExtraLarge:
|
|
469
|
+
description: >
|
|
470
|
+
Preferred pane width in the extra-large window size class, Compose
|
|
471
|
+
`PaneScaffoldDirective.DefaultPreferredWidthXL`.
|
|
472
|
+
type: length
|
|
473
|
+
value: 412px
|
|
474
|
+
focusIndicatorColor:
|
|
475
|
+
description: Focus indicator color.
|
|
476
|
+
type: color
|
|
477
|
+
value: $cw-Color-secondary-fill
|
|
478
|
+
themes:
|
|
479
|
+
expressive:
|
|
480
|
+
description: Expressive surface values with a larger default surface shape.
|
|
481
|
+
values:
|
|
482
|
+
shape: $cw-CornerRadius-large
|
|
483
|
+
listItemShape: $cw-CornerRadius-xsmall
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
# SPDX-License-Identifier: MPL-2.0
|
|
2
|
+
class: system
|
|
3
|
+
attribute: LineHeight
|
|
4
|
+
description: >
|
|
5
|
+
Line heights of the `cw-Typescale` roles, by category. Default values are the small category,
|
|
6
|
+
Material's type scale line heights, which suit English-like scripts. The `medium`, `large`, and
|
|
7
|
+
`extraLarge` themes are taller categories for scripts whose glyphs extend further above or
|
|
8
|
+
below the baseline. Categories are a Cobweb web adaptation, selected per language by
|
|
9
|
+
`Typography` scopes, and apply equally to baseline and emphasized styles.
|
|
10
|
+
roles:
|
|
11
|
+
display:
|
|
12
|
+
description: Line heights of display text.
|
|
13
|
+
roles:
|
|
14
|
+
large:
|
|
15
|
+
description: Line height of large display text.
|
|
16
|
+
type: length
|
|
17
|
+
value: 4rem
|
|
18
|
+
medium:
|
|
19
|
+
description: Line height of medium display text.
|
|
20
|
+
type: length
|
|
21
|
+
value: 3.25rem
|
|
22
|
+
small:
|
|
23
|
+
description: Line height of small display text.
|
|
24
|
+
type: length
|
|
25
|
+
value: 2.75rem
|
|
26
|
+
headline:
|
|
27
|
+
description: Line heights of headline text.
|
|
28
|
+
roles:
|
|
29
|
+
large:
|
|
30
|
+
description: Line height of large headline text.
|
|
31
|
+
type: length
|
|
32
|
+
value: 2.5rem
|
|
33
|
+
medium:
|
|
34
|
+
description: Line height of medium headline text.
|
|
35
|
+
type: length
|
|
36
|
+
value: 2.25rem
|
|
37
|
+
small:
|
|
38
|
+
description: Line height of small headline text.
|
|
39
|
+
type: length
|
|
40
|
+
value: 2rem
|
|
41
|
+
title:
|
|
42
|
+
description: Line heights of title text.
|
|
43
|
+
roles:
|
|
44
|
+
large:
|
|
45
|
+
description: Line height of large title text.
|
|
46
|
+
type: length
|
|
47
|
+
value: 1.75rem
|
|
48
|
+
medium:
|
|
49
|
+
description: Line height of medium title text.
|
|
50
|
+
type: length
|
|
51
|
+
value: 1.5rem
|
|
52
|
+
small:
|
|
53
|
+
description: Line height of small title text.
|
|
54
|
+
type: length
|
|
55
|
+
value: 1.25rem
|
|
56
|
+
body:
|
|
57
|
+
description: Line heights of body text.
|
|
58
|
+
roles:
|
|
59
|
+
large:
|
|
60
|
+
description: Line height of large body text.
|
|
61
|
+
type: length
|
|
62
|
+
value: 1.5rem
|
|
63
|
+
medium:
|
|
64
|
+
description: Line height of medium body text.
|
|
65
|
+
type: length
|
|
66
|
+
value: 1.25rem
|
|
67
|
+
small:
|
|
68
|
+
description: Line height of small body text.
|
|
69
|
+
type: length
|
|
70
|
+
value: 1rem
|
|
71
|
+
label:
|
|
72
|
+
description: Line heights of label text.
|
|
73
|
+
roles:
|
|
74
|
+
large:
|
|
75
|
+
description: Line height of large label text.
|
|
76
|
+
type: length
|
|
77
|
+
value: 1.25rem
|
|
78
|
+
medium:
|
|
79
|
+
description: Line height of medium label text.
|
|
80
|
+
type: length
|
|
81
|
+
value: 1rem
|
|
82
|
+
small:
|
|
83
|
+
description: Line height of small label text.
|
|
84
|
+
type: length
|
|
85
|
+
value: 1rem
|
|
86
|
+
themes:
|
|
87
|
+
medium:
|
|
88
|
+
description: >
|
|
89
|
+
Medium category, for dense and tall scripts, such as Arabic, Bengali, Devanagari, Han,
|
|
90
|
+
Hangul, Japanese kana, Tamil, and Thai, and for Vietnamese.
|
|
91
|
+
values:
|
|
92
|
+
display-large: 4.5625rem
|
|
93
|
+
display-medium: 3.5rem
|
|
94
|
+
display-small: 2.9375rem
|
|
95
|
+
headline-large: 2.625rem
|
|
96
|
+
headline-medium: 2.375rem
|
|
97
|
+
headline-small: 2.1875rem
|
|
98
|
+
title-large: 1.9375rem
|
|
99
|
+
title-medium: 1.6875rem
|
|
100
|
+
title-small: 1.4375rem
|
|
101
|
+
body-large: 1.6875rem
|
|
102
|
+
body-medium: 1.4375rem
|
|
103
|
+
body-small: 1.125rem
|
|
104
|
+
label-large: 1.4375rem
|
|
105
|
+
label-medium: 1.125rem
|
|
106
|
+
label-small: 1.125rem
|
|
107
|
+
large:
|
|
108
|
+
description: Large category, for Burmese and Telugu.
|
|
109
|
+
values:
|
|
110
|
+
display-large: 5.5625rem
|
|
111
|
+
display-medium: 4.4375rem
|
|
112
|
+
display-small: 3.5625rem
|
|
113
|
+
headline-large: 3.125rem
|
|
114
|
+
headline-medium: 2.8125rem
|
|
115
|
+
headline-small: 2.5625rem
|
|
116
|
+
title-large: 2.25rem
|
|
117
|
+
title-medium: 1.9375rem
|
|
118
|
+
title-small: 1.625rem
|
|
119
|
+
body-large: 1.9375rem
|
|
120
|
+
body-medium: 1.625rem
|
|
121
|
+
body-small: 1.3125rem
|
|
122
|
+
label-large: 1.625rem
|
|
123
|
+
label-medium: 1.3125rem
|
|
124
|
+
label-small: 1.3125rem
|
|
125
|
+
extraLarge:
|
|
126
|
+
description: >
|
|
127
|
+
Extra large category, for script styles which a language tag does not identify, such as
|
|
128
|
+
Nastaliq.
|
|
129
|
+
values:
|
|
130
|
+
display-large: 7.5rem
|
|
131
|
+
display-medium: 6.1875rem
|
|
132
|
+
display-small: 5rem
|
|
133
|
+
headline-large: 4.6875rem
|
|
134
|
+
headline-medium: 4.125rem
|
|
135
|
+
headline-small: 3.6875rem
|
|
136
|
+
title-large: 3.3125rem
|
|
137
|
+
title-medium: 2.625rem
|
|
138
|
+
title-small: 2.25rem
|
|
139
|
+
body-large: 2.5625rem
|
|
140
|
+
body-medium: 2.1875rem
|
|
141
|
+
body-small: 1.875rem
|
|
142
|
+
label-large: 2.25rem
|
|
143
|
+
label-medium: 1.875rem
|
|
144
|
+
label-small: 1.8125rem
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# SPDX-License-Identifier: MPL-2.0
|
|
2
|
+
class: reference
|
|
3
|
+
attribute: Typeface
|
|
4
|
+
description: >
|
|
5
|
+
Reference roles controlling typeface. These roles are used by other attributes, primarily
|
|
6
|
+
`Typescale`, for applying a consistent typeface across a user-interface design.
|
|
7
|
+
|
|
8
|
+
Cobweb does not bundle fonts. Applications load the fonts named by the font roles themselves,
|
|
9
|
+
for example with `@font-face` rules; until a named font is available, text renders with the
|
|
10
|
+
next family of the list, ending with a generic family.
|
|
11
|
+
roles:
|
|
12
|
+
brandFont:
|
|
13
|
+
description: Font families used for branding text, in order of preference.
|
|
14
|
+
type: font-family
|
|
15
|
+
value: Roboto, system-ui, sans-serif
|
|
16
|
+
plainFont:
|
|
17
|
+
description: Font families used for normal text, in order of preference.
|
|
18
|
+
type: font-family
|
|
19
|
+
value: Roboto, system-ui, sans-serif
|
|
20
|
+
boldWeight:
|
|
21
|
+
description: Weight applied to text which requires most emphasis.
|
|
22
|
+
type: number
|
|
23
|
+
value: 700
|
|
24
|
+
mediumWeight:
|
|
25
|
+
description: Weight applied to text which requires standard emphasis.
|
|
26
|
+
type: number
|
|
27
|
+
value: 500
|
|
28
|
+
regularWeight:
|
|
29
|
+
description: Weight applied to regular text.
|
|
30
|
+
type: number
|
|
31
|
+
value: 400
|