mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-18 19:21:29 +03:00
Begin setting up example code
This commit is contained in:
parent
ca4f7935ef
commit
4b6ac208ee
@ -49,7 +49,24 @@ example =
|
||||
, settings = state.control
|
||||
, toExampleCode =
|
||||
\settings ->
|
||||
[]
|
||||
let
|
||||
toExampleCode name =
|
||||
{ sectionName = name
|
||||
, code =
|
||||
"Text."
|
||||
++ name
|
||||
++ "\n [ "
|
||||
++ "\n TODO"
|
||||
++ "\n ]"
|
||||
}
|
||||
in
|
||||
[ toExampleCode "mediumBody"
|
||||
, toExampleCode "smallBody"
|
||||
, toExampleCode "smallBodyGray"
|
||||
, toExampleCode "caption"
|
||||
, toExampleCode "ugMediumBody"
|
||||
, toExampleCode "ugSmallBody"
|
||||
]
|
||||
}
|
||||
, Heading.h2 [ Heading.style Heading.Top ] [ Html.text "Paragraph styles" ]
|
||||
, viewExamples
|
||||
|
Loading…
Reference in New Issue
Block a user