Module

Sigil.Color

Package
purescript-sigil
Repository
afcondon/purescript-sigil

Color palettes and type variable color assignment.

#typeVarPalette Source

typeVarPalette :: Array String

Tailwind 600-level palette for type variable pills (white text on colored bg).

#assignVarColors Source

assignVarColors :: Array String -> Map String String

Assign colors to type variables. Earlier variables get earlier palette slots.

#defaultEffectNames Source

#Colors Source

type Colors = { arrow :: String, classBd :: String, classBg :: String, classText :: String, constraint :: String, constraintBd :: String, constraintBg :: String, constructor :: String, effect :: String, fieldName :: String, fieldType :: String, hktBd :: String, hktBg :: String, hktText :: String, keyword :: String, name :: String, paren :: String, recordBorder :: String, rowVar :: String, separator :: String, typevar :: String }

#ADTColors Source

type ADTColors = { ctorBranch :: String, ctorName :: String, headerBd :: String, headerBg :: String, headerText :: String, rail :: String }