Skip to content

Commit

Permalink
added daisyui class prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbchron committed Feb 9, 2024
1 parent 0e584ae commit c0e225f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/site-app/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ fn ClickMeButton() -> impl IntoView {
view! {
<button
on:click=on_click
class="btn"
class="d-btn"
>"Click Me: " {count}</button>
}
}
5 changes: 4 additions & 1 deletion crates/site-app/style/tailwind/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@ module.exports = {
files: ["crates/site-app/src/**/*.rs"],
},
plugins: [require("daisyui")],
daisyui: {
themes: false,
prefix: "d-",
},
};

0 comments on commit c0e225f

Please sign in to comment.