Provides Duskmoon UI for Phoenix project.
Require tailwindcss >= 4.0
and daisyui >= 5.0
See the docs for more information.
Add deps in mix.exs
{:phoenix_duskmoon, "~> 6.0"},
Include in phoenix view helpers
defp html_helpers do
quote do
# import all duskmoon ui component
use PhoenixDuskmoon.Component
# import all duskmoon ui fun component
use PhoenixDuskmoon.Fun
end
end
Import css
@config "../tailwind.config.js";
@import "tailwindcss";
@plugin "@tailwindcss/typography";
@plugin "daisyui";
@import "phoenix_duskmoon/theme";
@import "phoenix_duskmoon/components";