Module
Halogen.Widgets.Style
- Package
- purescript-halogen-widgets
- Repository
- afcondon/purescript-halogen-widgets
Shared styling helpers and a restrained light-Swiss palette, so every widget in the kit reads as one family.
Each colour token is a CSS custom property with a baked-in fallback —
var(--hw-ink, #2b2b2b). So widgets are self-contained (they render
with the light defaults even when no stylesheet is loaded) and
themeable (drop in css/halogen-widgets.css, or just define the
--hw-* variables yourself, to recolour — e.g. dark mode — without
touching any PureScript). Tokens are plain Strings meant to be
concatenated into inline style strings; class names are emitted too.
#surfaceAlt Source
surfaceAlt :: String#controlBorder Source
controlBorder :: StringThe border of a small control (buttons, steppers).
- Modules
- Halogen.
Widgets. Accordion. Internal - Halogen.
Widgets. Compare - Halogen.
Widgets. DoubleKnob - Halogen.
Widgets. Field - Halogen.
Widgets. HAccordion - Halogen.
Widgets. Knob - Halogen.
Widgets. Modal - Halogen.
Widgets. Motion - Halogen.
Widgets. Panel - Halogen.
Widgets. SegmentedControl - Halogen.
Widgets. Select - Halogen.
Widgets. Slider - Halogen.
Widgets. Stepper - Halogen.
Widgets. Style - Halogen.
Widgets. Toast - Halogen.
Widgets. Toggle - Halogen.
Widgets. VAccordion