on master help sign in
Fixed fonts
commit683f1d1ccf572aeeb5b57bb5bdaebc89ff89ff81 authoriko <mail@iko.soy> dateFri 4 Aug 2023, 13:26 (3 years ago) parent4841a52
2 files changed+22−2
frontend/index.html−1 frontend/src/Main.elm+22−1
frontend/index.html−1
@@ -5,7 +5,6 @@
55 <meta name="viewport" content="width=device-width, initial-scale=1.0" />
66 <style>
77 body {
8− font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
98 margin: 0;
109 }
1110 @keyframes bobbing {
frontend/src/Main.elm+22−1
@@ -93,7 +93,28 @@ main =
9393 |> Ur.Cmd.cmd
9494 )
9595 , update = update
96− , view = \model -> { title = "%seax", body = [ view model |> layout [] ] }
96+ , view =
97+ \model ->
98+ { title = "%seax"
99+ , body =
100+ [ view model
101+ |> layout
102+ [ Font.family
103+ [ Font.typeface "system-ui"
104+ , Font.typeface "-apple-system"
105+ , Font.typeface "BlinkMacSystemFont"
106+ , Font.typeface "Segoe UI"
107+ , Font.typeface "Roboto"
108+ , Font.typeface "Helvetica"
109+ , Font.typeface "Arial"
110+ , Font.sansSerif
111+ , Font.typeface "Apple Color Emoji"
112+ , Font.typeface "Segoe UI Emoji"
113+ , Font.typeface "Segoe UI Symbol"
114+ ]
115+ ]
116+ ]
117+ }
97118 , subscriptions = \model -> Animator.toSubscription Tick model (animator model)
98119 , createEventSource = createEventSource
99120 , urbitSubscriptions =