Skip to content

Commit

Permalink
sort module members
Browse files Browse the repository at this point in the history
  • Loading branch information
lue-bird committed Oct 5, 2024
1 parent 571fa24 commit 53384ff
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Main.elm
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,11 @@ paragraphPartUi context =
}


domFontSizePercentage : Float -> Html.Attribute event_
domFontSizePercentage heightInRem =
Html.Attributes.style "font-size" ((heightInRem |> String.fromFloat) ++ "rem")


domBackgroundColor : Color -> Html.Attribute event_
domBackgroundColor color =
Html.Attributes.style "background-color" (color |> Color.toCssString)
Expand Down Expand Up @@ -433,11 +438,6 @@ domFontColor color =
Html.Attributes.style "color" (color |> Color.toCssString)


domFontSizePercentage : Float -> Html.Attribute event_
domFontSizePercentage heightInRem =
Html.Attributes.style "font-size" ((heightInRem |> String.fromFloat) ++ "rem")


port toJS : Json.Encode.Value -> Cmd msg_


Expand Down

0 comments on commit 53384ff

Please sign in to comment.