mirror of
https://codeberg.org/JasterV/spazio-solazzo.git
synced 2026-04-26 18:20:03 +00:00
refactor: update button colors
This commit is contained in:
parent
961b24b202
commit
2037af7cb9
5 changed files with 12 additions and 6 deletions
|
|
@ -220,3 +220,8 @@ h6 {
|
|||
.hover\:text-plum:hover {
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
/* Fix label-text color in dark mode */
|
||||
.label-text {
|
||||
color: var(--color-base-content);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -223,7 +223,8 @@ defmodule SpazioSolazzoWeb.CoreComponents do
|
|||
checked={@checked}
|
||||
class={@class || "checkbox checkbox-sm"}
|
||||
{@rest}
|
||||
/>{@label}
|
||||
/>
|
||||
<span class="label-text">{@label}</span>
|
||||
</span>
|
||||
</label>
|
||||
<.error :for={msg <- @errors}>{msg}</.error>
|
||||
|
|
|
|||
|
|
@ -135,14 +135,14 @@ defmodule SpazioSolazzoWeb.Layouts do
|
|||
<div class="hidden md:flex items-center gap-3">
|
||||
<.link
|
||||
navigate={~p"/profile"}
|
||||
class="btn btn-circle btn-outline text-primary hover:bg-info/10"
|
||||
class="btn btn-circle btn-outline text-secondary hover:bg-info/10"
|
||||
>
|
||||
<.icon name="hero-user" class="size-6" />
|
||||
</.link>
|
||||
<.link
|
||||
href={~p"/sign-out"}
|
||||
id="sign-out-link"
|
||||
class="btn btn-outline btn-error btn-sm hover:text-error hover:bg-error/10"
|
||||
class="btn btn-outline btn-primary btn-sm "
|
||||
>
|
||||
Sign Out
|
||||
</.link>
|
||||
|
|
|
|||
|
|
@ -118,14 +118,14 @@ defmodule SpazioSolazzoWeb.BookingFormLiveComponent do
|
|||
<div class="mt-6 flex items-center gap-3">
|
||||
<button
|
||||
type="submit"
|
||||
class="btn btn-primary flex-1 rounded-2xl"
|
||||
class="btn btn-secondary flex-1 rounded-2xl"
|
||||
>
|
||||
Confirm
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
phx-click={@on_cancel}
|
||||
class="btn btn-ghost btn-secondary dark:text-white flex-1 rounded-2xl"
|
||||
class="btn btn-ghost btn-primary dark:text-white flex-1 rounded-2xl"
|
||||
>
|
||||
Cancel
|
||||
</button>
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@
|
|||
<div class="mt-8 pt-8 border-t border-base-200 flex justify-end">
|
||||
<button
|
||||
type="submit"
|
||||
class="btn btn-primary rounded-xl shadow-lg cursor-pointer"
|
||||
class="btn btn-secondary rounded-xl shadow-lg cursor-pointer"
|
||||
>
|
||||
Save Changes
|
||||
</button>
|
||||
|
|
|
|||
Loading…
Reference in a new issue