mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-15 08:52:42 +03:00
62 lines
1.4 KiB
Elm
62 lines
1.4 KiB
Elm
module Examples.Logo exposing (example)
|
|
|
|
{-|
|
|
|
|
@docs example, styles
|
|
|
|
-}
|
|
|
|
import Category exposing (Category(..))
|
|
import Css
|
|
import Examples.IconExamples as IconExamples
|
|
import ModuleExample exposing (ModuleExample)
|
|
import Nri.Ui.Colors.V1 as Colors
|
|
import Nri.Ui.Logo.V1 as Logo
|
|
|
|
|
|
{-| -}
|
|
example : ModuleExample msg
|
|
example =
|
|
{ name = "Nri.Ui.Logo.V1"
|
|
, category = Icons
|
|
, content =
|
|
[ IconExamples.viewWithCustomStyles "NRI"
|
|
[ ( "noredink"
|
|
, Logo.noredink
|
|
, [ Css.height (Css.px 25)
|
|
, Css.width (Css.px 100)
|
|
, Css.margin (Css.px 4)
|
|
]
|
|
)
|
|
]
|
|
, IconExamples.viewWithCustomStyles "Social Media & SSO"
|
|
[ ( "facebook"
|
|
, Logo.facebook
|
|
, defaults
|
|
)
|
|
, ( "twitter", Logo.twitter, defaults )
|
|
, ( "clever"
|
|
, Logo.clever
|
|
, [ Css.height (Css.px 25)
|
|
, Css.width (Css.px 100)
|
|
, Css.margin (Css.px 4)
|
|
, Css.color Colors.azure
|
|
]
|
|
)
|
|
, ( "google classroom"
|
|
, Logo.googleClassroom
|
|
, defaults
|
|
)
|
|
]
|
|
]
|
|
}
|
|
|
|
|
|
defaults : List Css.Style
|
|
defaults =
|
|
[ Css.height (Css.px 25)
|
|
, Css.width (Css.px 25)
|
|
, Css.margin (Css.px 4)
|
|
, Css.color Colors.azure
|
|
]
|