ColorSwatchPickerDefaults

Contains default values used by ColorSwatchPicker.

Properties

Link copied to clipboard

The cell size, i.e. the touch target and selection ring outer diameter (COUI ux_icon_color_select_out).

Link copied to clipboard

The easing of the selection ring fade (COUI PathInterpolator(0.33, 0, 0.67, 1)).

Link copied to clipboard

The duration of the selection ring fade-in, in milliseconds.

Link copied to clipboard

The duration of the selection ring fade-out, in milliseconds.

Link copied to clipboard

The stroke width of the selection ring (COUI ux_theme_shadow_stroke).

Link copied to clipboard
val Spacing: Dp

The spacing between adjacent cells (COUI lays 44dp cells edge to edge, so dots sit 10dp apart).

Link copied to clipboard

The diameter of each color dot (COUI ux_icon_color_select_inside).