From 6c64fd5609b89bb4004d497a3ba6ea6fc59b08fe Mon Sep 17 00:00:00 2001 From: KKlochko Date: Thu, 18 Apr 2024 08:52:09 +0300 Subject: [PATCH] Update the values for the primary css classes. --- views/admin_panel.hbs | 18 +++++++++--------- views/partials/article_row.hbs | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/views/admin_panel.hbs b/views/admin_panel.hbs index 3192224..dbc6f39 100644 --- a/views/admin_panel.hbs +++ b/views/admin_panel.hbs @@ -42,7 +42,7 @@ hx-target="#articles" hx-swap="outerHTML" placeholder="Search articles by title or content" - class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-primary-500 focus:border-primary-500 block w-full pl-10 p-2 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500"> + class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-[#3b82f6] focus:border-[#3b82f6] block w-full pl-10 p-2 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-[#3b82f6] dark:focus:border-[#3b82f6]"> @@ -51,7 +51,7 @@ id="createArticleButton" data-modal-target="createArticleModal" data-modal-toggle="createArticleModal" - class="flex items-center justify-center text-white bg-primary-700 hover:bg-primary-800 focus:ring-4 focus:ring-primary-300 font-medium rounded-lg text-sm px-4 py-2 dark:bg-primary-600 dark:hover:bg-primary-700 focus:outline-none dark:focus:ring-primary-800"> + class="flex items-center justify-center text-white bg-[#1d4ed8] hover:bg-[#1e40af] focus:ring-4 focus:ring-[#93c5fd] font-medium rounded-lg text-sm px-4 py-2 dark:bg-[#2563eb] dark:hover:bg-[#1d4ed8] focus:outline-none dark:focus:ring-[#1e40af]"> @@ -107,9 +107,9 @@
- +
-
+
+ class="text-white bg-[#1d4ed8] hover:bg-[#1e40af] focus:ring-4 focus:outline-none focus:ring-[#93c5fd] font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-[#2563eb] dark:hover:bg-[#1d4ed8] dark:focus:ring-[#1e40af]">Update diff --git a/views/partials/article_row.hbs b/views/partials/article_row.hbs index 7288c2c..84be754 100644 --- a/views/partials/article_row.hbs +++ b/views/partials/article_row.hbs @@ -18,7 +18,7 @@ hx-target="#update-drawer-content" data-drawer-target="drawer-update-article" data-drawer-show="drawer-update-article" - class="py-2 px-3 flex items-center text-sm font-medium text-center text-white bg-primary-700 rounded-lg hover:bg-primary-800 focus:ring-4 focus:outline-none focus:ring-primary-300 dark:bg-primary-600 dark:hover:bg-primary-700 dark:focus:ring-primary-800"> + class="py-2 px-3 flex items-center text-sm font-medium text-center text-white bg-[#1d4ed8] rounded-lg hover:bg-[#1e40af] focus:ring-4 focus:outline-none focus:ring-[#93c5fd] dark:bg-[#2563eb] dark:hover:bg-[#1d4ed8] dark:focus:ring-[#1e40af]">