tvl-depot/scratch/habit-screens/client
William Carroll 0a15ea7366 Create UI module for common components
Create UI.elm to house components like `button`, which is a simple HTML button
with `focus:outline-none` applied as a `class`, which is an accessibility
feature that I don't need for this touch-screen application.

I like this pattern more than my more opinionated patterns for UI modules in Elm
where I'd define all of the arguments as a record type (i.e. kwargs).
2020-10-11 10:15:03 +01:00
..
src Create UI module for common components 2020-10-11 10:15:03 +01:00
.envrc Begin working on Habit Screens project 2020-10-10 17:04:24 +01:00
.gitignore Begin working on Habit Screens project 2020-10-10 17:04:24 +01:00
elm.json Begin working on Habit Screens project 2020-10-10 17:04:24 +01:00
index.css Begin working on Habit Screens project 2020-10-10 17:04:24 +01:00
index.html Prefer handwritten font 2020-10-11 10:09:15 +01:00
README.md Begin working on Habit Screens project 2020-10-10 17:04:24 +01:00
shell.nix Begin working on Habit Screens project 2020-10-10 17:04:24 +01:00

Elm

Elm has one of the best developer experiences that I'm aware of. The error messages are helpful and the entire experience is optimized to improve the ease of writing web applications.

Developing

If you're interested in contributing, the following will create an environment in which you can develop:

$ nix-shell
$ npx tailwindcss build index.css -o output.css
$ elm-live -- src/Main.elm --output=Main.min.js

You can now view your web client at http://localhost:8000!