Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data Theme = Theme' {}
- newTheme :: Text -> UTCTime -> Text -> Text -> Text -> Theme
- theme_modifiedAt :: Lens' Theme (Maybe UTCTime)
- theme_overrides :: Lens' Theme (Maybe [ThemeValues])
- theme_tags :: Lens' Theme (Maybe (HashMap Text Text))
- theme_appId :: Lens' Theme Text
- theme_createdAt :: Lens' Theme UTCTime
- theme_environmentName :: Lens' Theme Text
- theme_id :: Lens' Theme Text
- theme_name :: Lens' Theme Text
- theme_values :: Lens' Theme [ThemeValues]
Documentation
A theme is a collection of style settings that apply globally to the components associated with an Amplify application.
See: newTheme
smart constructor.
Theme' | |
|
Instances
Create a value of Theme
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:modifiedAt:Theme'
, theme_modifiedAt
- The time that the theme was modified.
$sel:overrides:Theme'
, theme_overrides
- Describes the properties that can be overriden to customize a theme.
$sel:tags:Theme'
, theme_tags
- One or more key-value pairs to use when tagging the theme.
$sel:appId:Theme'
, theme_appId
- The unique ID for the Amplify app associated with the theme.
$sel:createdAt:Theme'
, theme_createdAt
- The time that the theme was created.
$sel:environmentName:Theme'
, theme_environmentName
- The name of the backend environment that is a part of the Amplify app.
$sel:id:Theme'
, theme_id
- The ID for the theme.
$sel:name:Theme'
, theme_name
- The name of the theme.
$sel:values:Theme'
, theme_values
- A list of key-value pairs that defines the properties of the theme.
theme_overrides :: Lens' Theme (Maybe [ThemeValues]) Source #
Describes the properties that can be overriden to customize a theme.
theme_tags :: Lens' Theme (Maybe (HashMap Text Text)) Source #
One or more key-value pairs to use when tagging the theme.
theme_appId :: Lens' Theme Text Source #
The unique ID for the Amplify app associated with the theme.
theme_environmentName :: Lens' Theme Text Source #
The name of the backend environment that is a part of the Amplify app.
theme_values :: Lens' Theme [ThemeValues] Source #
A list of key-value pairs that defines the properties of the theme.