about summary refs log tree commit diff
path: root/website/habit-screens/src/UI.elm
diff options
context:
space:
mode:
Diffstat (limited to 'website/habit-screens/src/UI.elm')
-rw-r--r--website/habit-screens/src/UI.elm9
1 files changed, 9 insertions, 0 deletions
diff --git a/website/habit-screens/src/UI.elm b/website/habit-screens/src/UI.elm
new file mode 100644
index 000000000000..5b5426913570
--- /dev/null
+++ b/website/habit-screens/src/UI.elm
@@ -0,0 +1,9 @@
+module UI exposing (..)
+
+import Html exposing (..)
+import Html.Attributes exposing (..)
+
+
+button : List (Attribute msg) -> List (Html msg) -> Html msg
+button attrs children =
+    Html.button ([ class "focus:outline-none" ] ++ attrs) children