created:12/30/2020
updated:12/30/2020
loc
82
comments
12%

AntdVertColor

avatar of atanasster

Color item displaying the color as a small block, expanding on hover. Design inspired by Antd.

Overview

#cf1322
207, 19, 34

Controls

Name
Description
Default
Controls
name

name of the color, If none, or same as the color value, some color blocks will not display it

string
-
color

color value as a string. accepted hex, rgb, hsl color strings

ColorValue
-

A11y tests

#cf1322
207, 19, 34
 
id
description
avoid-inline-spacing

Ensure that text spacing set through style attributes can be adjusted with custom stylesheets...

color-contrast

Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds...

Viewport

#cf1322
207, 19, 34
320px
#cf1322
207, 19, 34
375px
#cf1322
207, 19, 34
768px
#cf1322
207, 19, 34
1024px