Overview
Webite: https://rfui.deno.dev/
This is a component library that is currently intended to be used on projects using Deno’s web framework Fresh and is built according to the following philosophical principles.
- Opinionated
- Scale down
- Limit your choices
- Prioritize documentation
- Pit of success (eg. by providing tips and references to best practices, and by prefixing with underscores)
- Pretty
- Use the platform
- Pareto solutions > high customizability
Releasing
Versioning
To create a new version of this library:
- Add version-specific CSS file in
static
directory - Update
utilities/get-css-path.ts
- Update docs (cmd+f for eg. v0.1.5 and change it to the most recent version)
- Use https://github.com/adamzerner/rfui/releases/new
- Update CHANGELOG.md
- Follow semantic versioning
Generating the Tailwind CSS file
Here’s the process:
- Download the
tailwindcss
executable by following these instructions. - Go to
tailwind.config.ts
and removeroutes
since that directory is just for the documentation, not for code that will be used by library users. - Run
./tailwindcss -i static/app.css -o static/rfui.css --minify
.