diff --git a/assets/css/app.css b/assets/css/app.css index fe14592..84caef2 100644 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -57,7 +57,7 @@ /* Set width and color for identity icons */ a[rel] svg { width: 1em; - fill: rgb(var(--color-primary)); + fill: rgb(var(--color-foreground)); } svg { width: 1.5em; diff --git a/assets/tailwind.config.js b/assets/tailwind.config.js index d5ff1cf..60a23f4 100644 --- a/assets/tailwind.config.js +++ b/assets/tailwind.config.js @@ -44,6 +44,9 @@ module.exports = { base: 'rgb(var(--color-foreground) / )', base1: 'rgb(var(--color-foreground1) / )', primary: 'rgb(var(--color-primary) / )', + primary1: 'rgb(var(--color-primary1) / )', + secondary: 'rgb(var(--color-secondary) / )', + secondary1: 'rgb(var(--color-secondary1) / )', heading: 'rgb(var(--color-heading) / )', code: 'rgb(var(--color-code) / )' } diff --git a/lib/chiya_web/components/admin_components.ex b/lib/chiya_web/components/admin_components.ex index 5abf6c5..1d71c48 100644 --- a/lib/chiya_web/components/admin_components.ex +++ b/lib/chiya_web/components/admin_components.ex @@ -91,12 +91,6 @@ defmodule ChiyaWeb.AdminComponents do
  • <%= if @current_user do %> -
  • - <.link href="#" id="dark-mode-toggle" class="text-sm leading-6"> - 🌙 - - -
  • <.link href={~p"/admin"} @@ -115,12 +109,6 @@ defmodule ChiyaWeb.AdminComponents do
  • <% else %> -
  • - <.link href="#" id="dark-mode-toggle" class="text-sm leading-6"> - 🌙 - - -
  • <.link href={~p"/user/log_in"} @@ -130,6 +118,12 @@ defmodule ChiyaWeb.AdminComponents do
  • <% end %> +
  • + <.link href="#" id="dark-mode-toggle" class="text-sm leading-6"> + 🌙 + + +
  • """ end diff --git a/lib/chiya_web/components/layouts/public.html.heex b/lib/chiya_web/components/layouts/public.html.heex index ae5dcab..e879404 100644 --- a/lib/chiya_web/components/layouts/public.html.heex +++ b/lib/chiya_web/components/layouts/public.html.heex @@ -1,10 +1,10 @@
    -
    +
    <%= for channel <- @channels do %> <.link href={~p"/c/#{channel.slug}"} - class="text-xs font-semibold leading-6 text-theme-base hover:text-theme-base/75" + class="font-semibold text-theme-base hover:text-theme-base/75 text-sm" > <%= channel.name %> diff --git a/lib/chiya_web/components/layouts/root_public.html.heex b/lib/chiya_web/components/layouts/root_public.html.heex index e160a9c..e749694 100644 --- a/lib/chiya_web/components/layouts/root_public.html.heex +++ b/lib/chiya_web/components/layouts/root_public.html.heex @@ -33,11 +33,15 @@ <%= @inner_content %> -