phoenix_duskmoon
v6.2.0
Published
[](https://github.com/gsmlg-dev/phoenix-duskmoon-ui/actions/workflows/test-and-release.yml)
Downloads
1,187
Readme
PhoenixDuskmoon
Provides Duskmoon UI for Phoenix project.
Require tailwindcss >= 4.0
and daisyui >= 5.0
See the docs for more information.
Install
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";
Live Storybook