Skip to content

Commit

Permalink
Add DaisyUI
Browse files Browse the repository at this point in the history
  • Loading branch information
emkshv committed Jul 11, 2023
1 parent 1ccd6b2 commit afb0548
Show file tree
Hide file tree
Showing 5 changed files with 1,768 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,5 @@

/app/assets/builds/*
!/app/assets/builds/.keep

node_modules/*
4 changes: 2 additions & 2 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
</head>
<body>
<header>
<div class="flex p-4 bg-slate-50">
<div class="navbar bg-base-100">
<div class="flex-1">
<a class="btn btn-ghost normal-case text-xl font-semibold text-slate-800 select-none">Rails MiniStarter</a>
<a class="btn btn-ghost">Rails MiniStarter</a>
</div>
<div class="flex-none">
<ul class="menu menu-horizontal px-5">
Expand Down
1 change: 1 addition & 0 deletions config/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ module.exports = {
require('@tailwindcss/aspect-ratio'),
require('@tailwindcss/typography'),
require('@tailwindcss/container-queries'),
require("daisyui")
]
}
Loading

0 comments on commit afb0548

Please sign in to comment.