1module Typography.Paragraph where
5import React.Basic.DOM (css)
6import React.Basic.DOM as R
7import React.Basic.Hooks (ReactComponent, component)
8import React.Basic.Hooks as React
9import Theme.Styles (makeStyles)
10import Theme.Types (Theme)
12mkP ∷ Effect (ReactComponent { text ∷ String })
15 makeStyles \(theme ∷ Theme) ->
18 { color: theme.textColour
19 , fontFamily: theme.textFontFamily
21 , margin: "0.67em 0 0.33em 0"
22 , padding: "0.67em 0 0.33em 0"
25 component "paragraph" \{ text } -> React.do
29 { className: classes.p
30 , children: [ R.text text ]
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list