COLORS constant in types.ts.
Using Variants
Set thevariant prop to use any of the available colors:
Available Variants
Blue Family
blue
#93c5fdsky
#7dd3fccyan
#67e8f9indigo
#a5b4fcGreen Family
green
#86efacemerald
#6ee7b7teal
#5eead4lime
#bef264Pink & Purple Family
pink
#f9a8d4rose
#fda4afpurple
#d8b4feviolet
#c4b5fdfuchsia
#f0abfcWarm Colors
red
#fca5a5orange
#fdba74amber
#fcd34dyellow
#fde047Neutrals
white
#ffffffblack
#000000slate
#cbd5e1Color Constant
All colors are defined intypes.ts:
Type Definition
Glow Effect
Each variant automatically includes a glow effect created by theglowShadow function in index.tsx:
- Inner shadow using the base color
- Outer shadow using a brightened version of the color with 60% opacity
Brighten Function
Colors are automatically brightened for the glow effect:Customizing Glow Intensity
Control the glow intensity with theglow prop:
Default Variant
If no variant is specified, Lumidot defaults toblue: