[{"name":"SevenSegment","comment":" A `SevenSegment` display renderer.\n\n\n## View\n\n@docs NumberOfDigits, intView, view\n\n\n## Data\n\n@docs SevenSegment, digits, minus, fromInt\n\n","unions":[{"name":"NumberOfDigits","comment":" Number of digits when rendering an integer with a seven-segment display. The number will be left padding to this value.\n","args":[],"cases":[["NumberOfDigits",["Basics.Int"]]]}],"aliases":[{"name":"SevenSegment","comment":" A record of flags indicating which segments of a seven-segment display should be illuminated.\n\n  - Segments prefixed with 'h' are horizontal segments.\n  - Segments prefixed with 'v' are vertical segments.\n\n","args":[],"type":"{ hTop : Basics.Bool, hMiddle : Basics.Bool, hBottom : Basics.Bool, vUpperLeft : Basics.Bool, vUpperRight : Basics.Bool, vLowerLeft : Basics.Bool, vLowerRight : Basics.Bool }"}],"values":[{"name":"digits","comment":" The digits 0..9 as `SevenSegment` displays.\n","type":"{ d0 : SevenSegment.SevenSegment, d1 : SevenSegment.SevenSegment, d2 : SevenSegment.SevenSegment, d3 : SevenSegment.SevenSegment, d4 : SevenSegment.SevenSegment, d5 : SevenSegment.SevenSegment, d6 : SevenSegment.SevenSegment, d7 : SevenSegment.SevenSegment, d8 : SevenSegment.SevenSegment, d9 : SevenSegment.SevenSegment }"},{"name":"fromInt","comment":" Produce a list of `SevenSegment`s to display the value of the given integer (including a leading minus symbol if negative).\n","type":"Basics.Int -> List.List SevenSegment.SevenSegment"},{"name":"intView","comment":" Render an integer using a seven-segment display\n","type":"SevenSegment.Config.Config -> SevenSegment.NumberOfDigits -> Basics.Int -> Html.Html msg"},{"name":"minus","comment":" The minus symbol.\n","type":"SevenSegment.SevenSegment"},{"name":"view","comment":" Render a single seven-segment display.\n","type":"SevenSegment.Config.Config -> SevenSegment.SevenSegment -> Html.Html msg"}],"binops":[]},{"name":"SevenSegment.Color","comment":" A very minimal / lightweight Color representation that should be easily interoperable with other color libraries.\n\n\n## Constructor\n\n@docs Color\n\n\n## Analysis\n\n@docs luminosity\n\n\n## Convert to String\n\n@docs toRGB, toRGBA\n\n","unions":[],"aliases":[{"name":"Color","comment":" A very minimal / lightweight Color representation that should be easily interoperable with other color libraries. This is exposed as a simple\ntype alias because\n\n  - There should be no reason for this to change in the future based on how it is used in this library.\n  - It is not intended to be a rich Api.\n\n","args":[],"type":"{ red : Basics.Int, green : Basics.Int, blue : Basics.Int }"}],"values":[{"name":"luminosity","comment":" The luminosity (brightness) of a color as a value from 0..255.\n","type":"SevenSegment.Color.Color -> Basics.Int"},{"name":"toRGB","comment":" Encode a color as an RGB string.\n","type":"SevenSegment.Color.Color -> String.String"},{"name":"toRGBA","comment":" Encode a color as an RGBA string.\n","type":"Basics.Float -> SevenSegment.Color.Color -> String.String"}],"binops":[]},{"name":"SevenSegment.Config","comment":" Configuration for a seven-segment display.\n\n@docs Config, init, withoutBevel, withColors\n@docs backgroundColor, foregroundColor, includeBevel, widthPixels\n\n","unions":[{"name":"Config","comment":" Configuration for a seven-segment display.\n","args":[],"cases":[]}],"aliases":[],"values":[{"name":"backgroundColor","comment":" Read the background color out of the Config.\n","type":"SevenSegment.Config.Config -> SevenSegment.Color.Color"},{"name":"foregroundColor","comment":" Read the foreground color out of the Config.\n","type":"SevenSegment.Config.Config -> SevenSegment.Color.Color"},{"name":"includeBevel","comment":" Read the includeBevel out of the Config.\n","type":"SevenSegment.Config.Config -> Basics.Bool"},{"name":"init","comment":" Default configuration for a red seven-segment display with a bevel. Specify the width in pixels. The display is roughly twice the width in height.\n","type":"{ widthPixels : Basics.Int } -> SevenSegment.Config.Config"},{"name":"widthPixels","comment":" Read the width in pixels out of the Config.\n","type":"SevenSegment.Config.Config -> Basics.Int"},{"name":"withColors","comment":" Change the default red-on-black configuration.\n","type":"{ foregroundColor : SevenSegment.Color.Color, backgroundColor : SevenSegment.Color.Color } -> SevenSegment.Config.Config -> SevenSegment.Config.Config"},{"name":"withoutBevel","comment":" Remove the default bevel.\n","type":"SevenSegment.Config.Config -> SevenSegment.Config.Config"}],"binops":[]}]