@@ -4,9 +4,9 @@ import Browser
4
4
import Browser.Dom as Dom
5
5
import Browser.Events exposing (onKeyDown )
6
6
import Browser.Navigation as Nav
7
- import Html exposing (Html , a , div , h1 , img , input , p , pre , span , text , textarea )
8
- import Html.Attributes exposing (autofocus , class , classList , cols , href , id , placeholder , rows , src , style , tabindex , value )
9
- import Html.Events exposing (on , onClick , onInput )
7
+ import Html exposing (Html , a , div , p , span , text , textarea )
8
+ import Html.Attributes exposing (autofocus , class , classList , href , value )
9
+ import Html.Events exposing (onClick , onInput )
10
10
import Http
11
11
import Json.Decode as JD
12
12
import Json.Encode as JE
@@ -685,7 +685,7 @@ theme activeTheme =
685
685
, renderOptions activeTheme
686
686
]
687
687
688
-
688
+ renderOptions : ThemeOption -> Html Msg
689
689
renderOptions activeTheme =
690
690
div [ class " m-2" ]
691
691
[ div [ class " p-2 flex flex-row justify-start" ]
@@ -711,7 +711,7 @@ subscriptions model =
711
711
in
712
712
onKeyDown ( JD . map ( HandleKeyboardEvent mode) decodeKeyboardEvent)
713
713
714
-
714
+ getMode : String -> KeyAction
715
715
getMode v =
716
716
case v of
717
717
" /theme" ->
0 commit comments