monomer-1.0.0.2: A GUI library for writing native Haskell applications.
Copyright(c) 2018 Francisco Vallarino
LicenseBSD-3-Clause (see the LICENSE file)
Maintainerfjvallarino@gmail.com
Stabilityexperimental
Portabilitynon-portable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Monomer.Core.ThemeTypes

Description

Theme configuration types.

Synopsis

Documentation

data Theme Source #

Theme configuration for each state, plus clear/base color.

Instances

Instances details
Eq Theme Source # 
Instance details

Defined in Monomer.Core.ThemeTypes

Methods

(==) :: Theme -> Theme -> Bool #

(/=) :: Theme -> Theme -> Bool #

Show Theme Source # 
Instance details

Defined in Monomer.Core.ThemeTypes

Methods

showsPrec :: Int -> Theme -> ShowS #

show :: Theme -> String #

showList :: [Theme] -> ShowS #

Generic Theme Source # 
Instance details

Defined in Monomer.Core.ThemeTypes

Associated Types

type Rep Theme :: Type -> Type #

Methods

from :: Theme -> Rep Theme x #

to :: Rep Theme x -> Theme #

Default Theme Source # 
Instance details

Defined in Monomer.Core.ThemeTypes

Methods

def :: Theme #

HasHover Theme ThemeState Source # 
Instance details

Defined in Monomer.Core.Lens

HasFocusHover Theme ThemeState Source # 
Instance details

Defined in Monomer.Core.Lens

HasFocus Theme ThemeState Source # 
Instance details

Defined in Monomer.Core.Lens

HasDisabled Theme ThemeState Source # 
Instance details

Defined in Monomer.Core.Lens

HasBasic Theme ThemeState Source # 
Instance details

Defined in Monomer.Core.Lens

HasActive Theme ThemeState Source # 
Instance details

Defined in Monomer.Core.Lens

HasSectionColor Theme Color Source # 
Instance details

Defined in Monomer.Core.Lens

HasClearColor Theme Color Source # 
Instance details

Defined in Monomer.Core.Lens

HasUserColorMap Theme (Map String Color) Source # 
Instance details

Defined in Monomer.Core.Lens

HasTheme (AppConfig e) (Maybe Theme) Source # 
Instance details

Defined in Monomer.Main.Lens

HasTheme (WidgetEnv s e) Theme Source # 
Instance details

Defined in Monomer.Core.Lens

Methods

theme :: Lens' (WidgetEnv s e) Theme Source #

type Rep Theme Source # 
Instance details

Defined in Monomer.Core.ThemeTypes

data ThemeState Source #

Default theme settings for each widget.

Constructors

ThemeState 

Fields

Instances

Instances details
Eq ThemeState Source # 
Instance details

Defined in Monomer.Core.ThemeTypes

Show ThemeState Source # 
Instance details

Defined in Monomer.Core.ThemeTypes

Generic ThemeState Source # 
Instance details

Defined in Monomer.Core.ThemeTypes

Associated Types

type Rep ThemeState :: Type -> Type #

Semigroup ThemeState Source # 
Instance details

Defined in Monomer.Core.ThemeTypes

Default ThemeState Source # 
Instance details

Defined in Monomer.Core.ThemeTypes

Methods

def :: ThemeState #

HasHover Theme ThemeState Source # 
Instance details

Defined in Monomer.Core.Lens

HasFocusHover Theme ThemeState Source # 
Instance details

Defined in Monomer.Core.Lens

HasFocus Theme ThemeState Source # 
Instance details

Defined in Monomer.Core.Lens

HasDisabled Theme ThemeState Source # 
Instance details

Defined in Monomer.Core.Lens

HasBasic Theme ThemeState Source # 
Instance details

Defined in Monomer.Core.Lens

HasActive Theme ThemeState Source # 
Instance details

Defined in Monomer.Core.Lens

HasTooltipStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

HasTimeFieldStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

HasTextFieldStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

HasTextAreaStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

HasSliderWidth ThemeState Double Source # 
Instance details

Defined in Monomer.Core.Lens

HasSliderWheelRate ThemeState Rational Source # 
Instance details

Defined in Monomer.Core.Lens

HasSliderThumbFactor ThemeState Double Source # 
Instance details

Defined in Monomer.Core.Lens

HasSliderStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

HasSeparatorLineWidth ThemeState Double Source # 
Instance details

Defined in Monomer.Core.Lens

HasSeparatorLineStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

HasSelectListStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

HasSelectListItemStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

HasSelectListItemSelectedStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

HasScrollWheelRate ThemeState Rational Source # 
Instance details

Defined in Monomer.Core.Lens

HasScrollThumbWidth ThemeState Double Source # 
Instance details

Defined in Monomer.Core.Lens

HasScrollThumbRadius ThemeState Double Source # 
Instance details

Defined in Monomer.Core.Lens

HasScrollThumbColor ThemeState Color Source # 
Instance details

Defined in Monomer.Core.Lens

HasScrollOverlay ThemeState Bool Source # 
Instance details

Defined in Monomer.Core.Lens

HasScrollFollowFocus ThemeState Bool Source # 
Instance details

Defined in Monomer.Core.Lens

HasScrollBarWidth ThemeState Double Source # 
Instance details

Defined in Monomer.Core.Lens

HasScrollBarColor ThemeState Color Source # 
Instance details

Defined in Monomer.Core.Lens

HasRadioWidth ThemeState Double Source # 
Instance details

Defined in Monomer.Core.Lens

HasRadioStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

HasNumericFieldStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

HasLabelStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

HasExternalLinkStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

HasEmptyOverlayStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

HasDropdownStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

HasDropdownMaxHeight ThemeState Double Source # 
Instance details

Defined in Monomer.Core.Lens

HasDropdownListStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

HasDropdownItemStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

HasDropdownItemSelectedStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

HasDialogTitleStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

HasDialogMsgBodyStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

HasDialogFrameStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

HasDialogCloseIconStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

HasDialogButtonsStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

HasDialWidth ThemeState Double Source # 
Instance details

Defined in Monomer.Core.Lens

HasDialWheelRate ThemeState Rational Source # 
Instance details

Defined in Monomer.Core.Lens

HasDialStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

HasDateFieldStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

HasCheckboxWidth ThemeState Double Source # 
Instance details

Defined in Monomer.Core.Lens

HasCheckboxStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

HasBtnStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

HasBtnMainStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

HasSliderRadius ThemeState (Maybe Double) Source # 
Instance details

Defined in Monomer.Core.Lens

HasUserStyleMap ThemeState (Map String StyleState) Source # 
Instance details

Defined in Monomer.Core.Lens

HasUserColorMap ThemeState (Map String Color) Source # 
Instance details

Defined in Monomer.Core.Lens

type Rep ThemeState Source # 
Instance details

Defined in Monomer.Core.ThemeTypes

type Rep ThemeState = D1 ('MetaData "ThemeState" "Monomer.Core.ThemeTypes" "monomer-1.0.0.2-DX3IDOHKdvt1QjOePnbn4l" 'False) (C1 ('MetaCons "ThemeState" 'PrefixI 'True) (((((S1 ('MetaSel ('Just "_thsEmptyOverlayStyle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StyleState) :*: (S1 ('MetaSel ('Just "_thsBtnStyle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StyleState) :*: S1 ('MetaSel ('Just "_thsBtnMainStyle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StyleState))) :*: (S1 ('MetaSel ('Just "_thsCheckboxStyle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StyleState) :*: (S1 ('MetaSel ('Just "_thsCheckboxWidth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: S1 ('MetaSel ('Just "_thsDateFieldStyle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StyleState)))) :*: ((S1 ('MetaSel ('Just "_thsDialStyle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StyleState) :*: (S1 ('MetaSel ('Just "_thsDialWheelRate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rational) :*: S1 ('MetaSel ('Just "_thsDialWidth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double))) :*: (S1 ('MetaSel ('Just "_thsDialogFrameStyle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StyleState) :*: (S1 ('MetaSel ('Just "_thsDialogTitleStyle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StyleState) :*: S1 ('MetaSel ('Just "_thsDialogCloseIconStyle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StyleState))))) :*: (((S1 ('MetaSel ('Just "_thsDialogButtonsStyle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StyleState) :*: (S1 ('MetaSel ('Just "_thsDialogMsgBodyStyle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StyleState) :*: S1 ('MetaSel ('Just "_thsDropdownMaxHeight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double))) :*: (S1 ('MetaSel ('Just "_thsDropdownStyle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StyleState) :*: (S1 ('MetaSel ('Just "_thsDropdownListStyle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StyleState) :*: S1 ('MetaSel ('Just "_thsDropdownItemStyle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StyleState)))) :*: ((S1 ('MetaSel ('Just "_thsDropdownItemSelectedStyle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StyleState) :*: (S1 ('MetaSel ('Just "_thsExternalLinkStyle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StyleState) :*: S1 ('MetaSel ('Just "_thsLabelStyle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StyleState))) :*: (S1 ('MetaSel ('Just "_thsNumericFieldStyle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StyleState) :*: (S1 ('MetaSel ('Just "_thsRadioStyle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StyleState) :*: S1 ('MetaSel ('Just "_thsRadioWidth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double)))))) :*: ((((S1 ('MetaSel ('Just "_thsScrollOverlay") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "_thsScrollFollowFocus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "_thsScrollBarColor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Color))) :*: (S1 ('MetaSel ('Just "_thsScrollThumbColor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Color) :*: (S1 ('MetaSel ('Just "_thsScrollBarWidth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: S1 ('MetaSel ('Just "_thsScrollThumbWidth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double)))) :*: ((S1 ('MetaSel ('Just "_thsScrollThumbRadius") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: (S1 ('MetaSel ('Just "_thsScrollWheelRate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rational) :*: S1 ('MetaSel ('Just "_thsSeparatorLineWidth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double))) :*: (S1 ('MetaSel ('Just "_thsSeparatorLineStyle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StyleState) :*: (S1 ('MetaSel ('Just "_thsSelectListStyle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StyleState) :*: S1 ('MetaSel ('Just "_thsSelectListItemStyle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StyleState))))) :*: (((S1 ('MetaSel ('Just "_thsSelectListItemSelectedStyle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StyleState) :*: (S1 ('MetaSel ('Just "_thsSliderStyle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StyleState) :*: S1 ('MetaSel ('Just "_thsSliderRadius") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Double)))) :*: (S1 ('MetaSel ('Just "_thsSliderThumbFactor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: (S1 ('MetaSel ('Just "_thsSliderWheelRate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rational) :*: S1 ('MetaSel ('Just "_thsSliderWidth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double)))) :*: ((S1 ('MetaSel ('Just "_thsTextAreaStyle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StyleState) :*: (S1 ('MetaSel ('Just "_thsTextFieldStyle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StyleState) :*: S1 ('MetaSel ('Just "_thsTimeFieldStyle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StyleState))) :*: (S1 ('MetaSel ('Just "_thsTooltipStyle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StyleState) :*: (S1 ('MetaSel ('Just "_thsUserStyleMap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map String StyleState)) :*: S1 ('MetaSel ('Just "_thsUserColorMap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map String Color)))))))))