tvl-depot/scratch/habit-screens/client
William Carroll 106457de4b Prefer handwritten font
Use the Google Fonts API to fetch a handwritten font, which gives the app a
modicum of personality. There are more "best practices" ways to do this, such
as:

- Download the font once, and include it in the bundle
- Extend the Tailwind configure to recognize the font
- Ditch the inline <style> block

But I don't need the performance benefits that the first bullet provides. And
the second two bullets are more relevant for a larger application with more than
one font. So I think in this case, the easiest solution is best.

Also:
- Use `container` and `mx-auto` to constrain content for wide screens
2020-10-11 10:09:15 +01:00
..
src Prefer handwritten font 2020-10-11 10:09:15 +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!