Theme support for Scripta rendering.
This module provides light and dark themes for rendering Scripta documents, with support for both raw Color values and elm-ui Element.Color.
A theme's color palette, containing colors for various UI elements.
Get a Color value from the selected theme.
myTextColor =
getColor Light .textGet an Element.Color value from the selected theme. This is useful when working with elm-ui.
myBackgroundColor =
getElementColor Dark .backgroundThe predefined light theme with professional, readable colors.
The predefined dark theme with reduced eye strain for low-light environments.
Represents the available themes.