A next-generation tool to create blazing-fast documentation sites
API
created:12/30/2020
updated:12/30/2020
loc
61
comments
16%

PrimerColor

avatar of atanasster

Color item displaying the color as a row, with sass variable name. Separate visualization (header) for the primary color. Design inspired by GitHub's Primer.

Overview

Yellow
$yellow-500
#ffd33d
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

Yellow
$yellow-500
#ffd33d

Viewport

Yellow
$yellow-500
#ffd33d
320px
Yellow
$yellow-500
#ffd33d
375px
Yellow
$yellow-500
#ffd33d
768px
Yellow
$yellow-500
#ffd33d
1024px