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:
- Use https://github.com/adamzerner/rfui/releases/new
- Update CHANGELOG.md
- Follow semantic versioning
Generating the Tailwind CSS file
Here’s the process:
- 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
. - Add variables (
:root
inapp.css
) to the bottom ofrfui.css
so that RFUI users can easily customize their values.