| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Dashi.Components.Button
Documentation
newtype Foreground Source #
Constructors
| Foreground Appearance |
Instances
data Background Source #
Constructors
| Background Appearance InputState |
Instances
| Token Background Source # | |||||
Defined in Dashi.Components.Button Methods tokenName :: (IsString s, Semigroup s) => Background -> s Source # defaultToken :: Maybe Background Source # tokenAttr :: Background -> Attribute action Source # byToken :: Background -> Refinement Source # | |||||
| ValueToken Background Source # | |||||
Defined in Dashi.Components.Button Associated Types
Methods | |||||
| Bounded Background Source # | |||||
Defined in Dashi.Components.Button | |||||
| Enum Background Source # | |||||
Defined in Dashi.Components.Button Methods succ :: Background -> Background # pred :: Background -> Background # toEnum :: Int -> Background # fromEnum :: Background -> Int # enumFrom :: Background -> [Background] # enumFromThen :: Background -> Background -> [Background] # enumFromTo :: Background -> Background -> [Background] # enumFromThenTo :: Background -> Background -> Background -> [Background] # | |||||
| Eq Background Source # | |||||
Defined in Dashi.Components.Button | |||||
| type ValueType Background Source # | |||||
Defined in Dashi.Components.Button | |||||
data ButtonSize Source #
Constructors
| DefaultSize | |
| IconButton | |
| CompactButton | |
| FullWidthButton |
Instances
| Token ButtonSize Source # | |
Defined in Dashi.Components.Button Methods tokenName :: (IsString s, Semigroup s) => ButtonSize -> s Source # defaultToken :: Maybe ButtonSize Source # tokenAttr :: ButtonSize -> Attribute action Source # byToken :: ButtonSize -> Refinement Source # | |
| Bounded ButtonSize Source # | |
Defined in Dashi.Components.Button | |
| Enum ButtonSize Source # | |
Defined in Dashi.Components.Button Methods succ :: ButtonSize -> ButtonSize # pred :: ButtonSize -> ButtonSize # toEnum :: Int -> ButtonSize # fromEnum :: ButtonSize -> Int # enumFrom :: ButtonSize -> [ButtonSize] # enumFromThen :: ButtonSize -> ButtonSize -> [ButtonSize] # enumFromTo :: ButtonSize -> ButtonSize -> [ButtonSize] # enumFromThenTo :: ButtonSize -> ButtonSize -> ButtonSize -> [ButtonSize] # | |
| Eq ButtonSize Source # | |
Defined in Dashi.Components.Button | |
data Button model action Source #
Constructors
| Button | |
Fields
| |
appearanceStyle :: Appearance -> Css Source #
sizeStyle :: ButtonSize -> Css Source #