diff --git a/lib/simpleshop_theme_web/live/admin/order_show.ex b/lib/simpleshop_theme_web/live/admin/order_show.ex index ca9ab8d..84a2c1a 100644 --- a/lib/simpleshop_theme_web/live/admin/order_show.ex +++ b/lib/simpleshop_theme_web/live/admin/order_show.ex @@ -262,10 +262,12 @@ defmodule SimpleshopThemeWeb.Admin.OrderShow do {"bg-red-50", "text-red-700", "ring-red-600/20", "hero-x-circle-mini"} "cancelled" -> - {"bg-zinc-50", "text-zinc-600", "ring-zinc-500/10", "hero-no-symbol-mini"} + {"bg-base-200/50", "text-base-content/60", "ring-base-content/10", + "hero-no-symbol-mini"} _ -> - {"bg-zinc-50", "text-zinc-600", "ring-zinc-500/10", "hero-minus-circle-mini"} + {"bg-base-200/50", "text-base-content/60", "ring-base-content/10", + "hero-minus-circle-mini"} end assigns = assign(assigns, bg: bg, text: text, ring: ring, icon: icon) @@ -295,10 +297,12 @@ defmodule SimpleshopThemeWeb.Admin.OrderShow do {"bg-red-50", "text-red-700", "ring-red-600/20", "hero-x-circle-mini"} "refunded" -> - {"bg-zinc-50", "text-zinc-600", "ring-zinc-500/10", "hero-arrow-uturn-left-mini"} + {"bg-base-200/50", "text-base-content/60", "ring-base-content/10", + "hero-arrow-uturn-left-mini"} _ -> - {"bg-zinc-50", "text-zinc-600", "ring-zinc-500/10", "hero-question-mark-circle-mini"} + {"bg-base-200/50", "text-base-content/60", "ring-base-content/10", + "hero-question-mark-circle-mini"} end assigns = assign(assigns, bg: bg, text: text, ring: ring, icon: icon) diff --git a/lib/simpleshop_theme_web/live/admin/orders.ex b/lib/simpleshop_theme_web/live/admin/orders.ex index 75161bb..a70408d 100644 --- a/lib/simpleshop_theme_web/live/admin/orders.ex +++ b/lib/simpleshop_theme_web/live/admin/orders.ex @@ -133,10 +133,12 @@ defmodule SimpleshopThemeWeb.Admin.Orders do {"bg-red-50", "text-red-700", "ring-red-600/20", "hero-x-circle-mini"} "refunded" -> - {"bg-zinc-50", "text-zinc-600", "ring-zinc-500/10", "hero-arrow-uturn-left-mini"} + {"bg-base-200/50", "text-base-content/60", "ring-base-content/10", + "hero-arrow-uturn-left-mini"} _ -> - {"bg-zinc-50", "text-zinc-600", "ring-zinc-500/10", "hero-question-mark-circle-mini"} + {"bg-base-200/50", "text-base-content/60", "ring-base-content/10", + "hero-question-mark-circle-mini"} end assigns = assign(assigns, bg: bg, text: text, ring: ring, icon: icon) @@ -176,10 +178,12 @@ defmodule SimpleshopThemeWeb.Admin.Orders do {"bg-red-50", "text-red-700", "ring-red-600/20", "hero-x-circle-mini"} "cancelled" -> - {"bg-zinc-50", "text-zinc-600", "ring-zinc-500/10", "hero-no-symbol-mini"} + {"bg-base-200/50", "text-base-content/60", "ring-base-content/10", + "hero-no-symbol-mini"} _ -> - {"bg-zinc-50", "text-zinc-600", "ring-zinc-500/10", "hero-minus-circle-mini"} + {"bg-base-200/50", "text-base-content/60", "ring-base-content/10", + "hero-minus-circle-mini"} end assigns = assign(assigns, bg: bg, text: text, ring: ring, icon: icon) diff --git a/lib/simpleshop_theme_web/live/admin/settings.ex b/lib/simpleshop_theme_web/live/admin/settings.ex index 1d320b4..51beb83 100644 --- a/lib/simpleshop_theme_web/live/admin/settings.ex +++ b/lib/simpleshop_theme_web/live/admin/settings.ex @@ -275,7 +275,7 @@ defmodule SimpleshopThemeWeb.Admin.Settings do <.status_pill color="zinc">Offline <% end %> -
+
<%= if @site_live do %> Your shop is visible to the public. <% else %> @@ -288,7 +288,7 @@ defmodule SimpleshopThemeWeb.Admin.Settings do class={[ "inline-flex items-center gap-2 rounded-md px-3 py-2 text-sm font-semibold shadow-xs", if(@site_live, - do: "bg-zinc-100 text-zinc-700 hover:bg-zinc-200 ring-1 ring-zinc-300 ring-inset", + do: "bg-base-200 text-base-content hover:bg-base-300 ring-1 ring-base-300 ring-inset", else: "bg-green-600 text-white hover:bg-green-500" ) ]} @@ -352,13 +352,13 @@ defmodule SimpleshopThemeWeb.Admin.Settings do <.printify_connected printify={@printify} /> <% else %>
+
Connect a print-on-demand provider to import products into your shop.
+
To accept payments, connect your Stripe account by entering your secret key. You can find it in your Stripe dashboard @@ -566,7 +569,7 @@ defmodule SimpleshopThemeWeb.Admin.Settings do autocomplete="off" placeholder="sk_test_... or sk_live_..." /> -
+
Starts with sk_test_ (test mode) or sk_live_ (live mode).
This key is encrypted at rest in the database.
{@stripe_api_key_hint}{@stripe_api_key_hint}{@stripe_webhook_url}{@stripe_webhook_url}{@stripe_signing_secret_hint}
+ {@stripe_signing_secret_hint}
<% else %>
Not set
<% end %>
@@ -628,10 +631,10 @@ defmodule SimpleshopThemeWeb.Admin.Settings do