about summary refs log tree commit diff
path: root/users/wpcarro/website/habit-screens/src/UI.elm
diff options
context:
space:
mode:
Diffstat (limited to 'users/wpcarro/website/habit-screens/src/UI.elm')
-rw-r--r--users/wpcarro/website/habit-screens/src/UI.elm9
1 files changed, 9 insertions, 0 deletions
diff --git a/users/wpcarro/website/habit-screens/src/UI.elm b/users/wpcarro/website/habit-screens/src/UI.elm
new file mode 100644
index 0000000000..5b54269135
--- /dev/null
+++ b/users/wpcarro/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