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

PhotonColor

avatar of atanasster

Color item displaying as a row, with a color block, name, hex value and AA/AAA tests for text and backgorund. Design inspired by Firefox's Photon Design System.

Overview

Orange 50
#ff9400
AAA
F
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

Orange 50
#ff9400
AAA
F

Viewport

Orange 50
#ff9400
AAA
F
320px
Orange 50
#ff9400
AAA
F
375px
Orange 50
#ff9400
AAA
F
768px
Orange 50
#ff9400
AAA
F
1024px