- data HSV = HSV {}
- consoleColors :: [((ColorIntensity, Color), HSV)]
- consoleColor :: HSV -> (ColorIntensity, Color)
- tagHues :: Map String Double
- hashAsDouble :: Hashable a => a -> Double
- tagHue :: String -> Double
- statusSats :: Map String Double
- statusSat :: String -> Double
- statusHues :: Map String Double
- statusHue :: String -> Double
- statusColor :: String -> (ColorIntensity, Color)
- defItemConsoleColor :: TodoItem -> Maybe (ColorIntensity, Color)
- getColor :: TodoItem -> HSV
Documentation
Hue, saturation and value; all are in [0; 1] range.
HSV | |
|
consoleColors :: [((ColorIntensity, Color), HSV)]Source
Correspondence between console colors and HSV colors
consoleColor :: HSV -> (ColorIntensity, Color)Source
Get console color which is nearest to given HSV color
hashAsDouble :: Hashable a => a -> DoubleSource
statusSats :: Map String DoubleSource
Color saturation values for some common statuses
statusHues :: Map String DoubleSource
Color hue values for some common item statuses
statusColor :: String -> (ColorIntensity, Color)Source
Get console color for item status
defItemConsoleColor :: TodoItem -> Maybe (ColorIntensity, Color)Source
Get console color for item name (this is const Nothing)