From 206383fdb7b178f7916ab632e9e6b655cc12bebd Mon Sep 17 00:00:00 2001 From: xcexec Date: Tue, 22 Oct 2024 11:31:15 +0200 Subject: [PATCH] changed all remaining 'zinc' color values to 'slate' --- src/assets/oruga-tailwindcss.css | 28 +++++++++---------- src/components/Comment/EventComment.vue | 12 ++++---- src/components/Event/EventListViewCard.vue | 2 +- src/components/Group/InvitationCard.vue | 2 +- src/components/NavBar.vue | 2 +- src/components/OAuth/AuthorizeApplication.vue | 6 ++-- .../Participation/UnloggedParticipation.vue | 4 +-- src/components/Report/ReportCard.vue | 4 +-- src/components/Resource/DraggableList.vue | 2 +- .../Settings/SettingMenuSection.vue | 2 +- src/components/TextEditor.vue | 6 ++-- src/views/Admin/AdminProfile.vue | 2 +- src/views/Admin/InstanceView.vue | 10 +++---- src/views/CategoriesView.vue | 2 +- src/views/Event/EventView.vue | 14 +++++----- src/views/Event/MyEventsView.vue | 2 +- src/views/Moderation/LogsView.vue | 2 +- src/views/Moderation/ReportView.vue | 10 +++---- src/views/OAuth/DeviceActivationView.vue | 2 +- src/views/Posts/PostView.vue | 2 +- src/views/Settings/PreferencesView.vue | 4 +-- .../__snapshots__/navbar.spec.ts.snap | 6 ++-- 22 files changed, 63 insertions(+), 63 deletions(-) diff --git a/src/assets/oruga-tailwindcss.css b/src/assets/oruga-tailwindcss.css index d9b2bea2c..5e1fd9858 100644 --- a/src/assets/oruga-tailwindcss.css +++ b/src/assets/oruga-tailwindcss.css @@ -35,7 +35,7 @@ body { @apply border-2 bg-mbz-warning text-black hover:bg-mbz-warning/90 hover:text-slate-800; } .btn-text { - @apply bg-transparent border-transparent text-black dark:text-white font-normal underline hover:bg-zinc-200 hover:text-black; + @apply bg-transparent border-transparent text-black dark:text-white font-normal underline hover:bg-slate-200 hover:text-black; } .btn-outlined-, .btn-outlined-primary { @@ -95,7 +95,7 @@ body { /* Input */ .input { - @apply appearance-none box-border rounded border w-full py-2 px-3 text-black leading-tight dark:bg-zinc-600 dark:placeholder:text-zinc-400 dark:text-zinc-50; + @apply appearance-none box-border rounded border w-full py-2 px-3 text-black leading-tight dark:bg-slate-600 dark:placeholder:text-slate-400 dark:text-slate-50; } .input-size-small { @apply text-sm; @@ -120,7 +120,7 @@ body { } .input[type="text"]:disabled, .input[type="email"]:disabled { - @apply bg-zinc-200 dark:bg-zinc-400; + @apply bg-slate-200 dark:bg-slate-400; } .icon-warning { @@ -147,7 +147,7 @@ body { /* TagInput */ .taginput { - @apply rounded bg-white dark:bg-zinc-700; + @apply rounded bg-white dark:bg-slate-700; } .taginput-item { @apply bg-primary mr-2; @@ -191,14 +191,14 @@ body { } .dropdown-menu { min-width: 12em; - @apply bg-white dark:bg-zinc-700 shadow-lg rounded text-start py-2; + @apply bg-white dark:bg-slate-700 shadow-lg rounded text-start py-2; } .dropdown-item { @apply relative inline-flex gap-1 no-underline p-2 cursor-pointer w-full hover:bg-[#f5f5f5] hover:text-black; } .dropdown-item-active { - @apply bg-mbz-yellow-500 dark:bg-mbz-yellow-900 dark:text-zinc-100 text-black; + @apply bg-mbz-yellow-500 dark:bg-mbz-yellow-900 dark:text-slate-100 text-black; } .dropdown-button { @apply inline-flex gap-1; @@ -224,7 +224,7 @@ body { /* Modal */ .modal-content { - @apply bg-white dark:bg-zinc-800 rounded px-2 py-4 w-full z-0; + @apply bg-white dark:bg-slate-800 rounded px-2 py-4 w-full z-0; } /* Switch */ @@ -242,7 +242,7 @@ body { /* Select */ .select { - @apply dark:bg-zinc-600 dark:placeholder:text-zinc-400 dark:text-zinc-50 pl-2 pr-8 border-2 border-transparent h-10 shadow-none rounded w-full; + @apply dark:bg-slate-600 dark:placeholder:text-slate-400 dark:text-slate-50 pl-2 pr-8 border-2 border-transparent h-10 shadow-none rounded w-full; } /* Radio */ @@ -288,7 +288,7 @@ button.menubar__button { /* Table */ .table tr { - @apply odd:bg-white dark:odd:bg-zinc-600 last:border-b-0 even:bg-gray-50 dark:even:bg-zinc-700 border-b rounded; + @apply odd:bg-white dark:odd:bg-slate-600 last:border-b-0 even:bg-gray-50 dark:even:bg-slate-700 border-b rounded; } .table-td { @@ -314,7 +314,7 @@ button.menubar__button { @apply flex items-center text-center justify-between; } .pagination-link { - @apply inline-flex items-center relative justify-center cursor-pointer rounded h-10 m-1 p-2 bg-white dark:bg-zinc-300 text-lg text-black; + @apply inline-flex items-center relative justify-center cursor-pointer rounded h-10 m-1 p-2 bg-white dark:bg-slate-300 text-lg text-black; } .pagination-list { @apply flex items-center text-center list-none flex-wrap grow shrink justify-start; @@ -346,10 +346,10 @@ button.menubar__button { /** Tooltip */ .tooltip-content { - @apply bg-zinc-800 text-white dark:bg-zinc-300 dark:text-black rounded py-1 px-2; + @apply bg-slate-800 text-white dark:bg-slate-300 dark:text-black rounded py-1 px-2; } .tooltip-arrow { - @apply text-zinc-800 dark:text-zinc-200; + @apply text-slate-800 dark:text-slate-200; } .tooltip-content-success { @apply bg-mbz-success text-white; @@ -388,7 +388,7 @@ button.menubar__button { @apply rounded py-2 px-3; } .o-dpck__table__cell--selectable { - @apply dark:text-zinc-50; + @apply dark:text-slate-50; } .o-dpck__month__head-cell, .o-dpck__table__head-cell { @@ -397,5 +397,5 @@ button.menubar__button { /** Timepicker */ .o-tpck__select { - @apply dark:bg-zinc-700 dark:placeholder:text-zinc-400 dark:text-zinc-50; + @apply dark:bg-slate-700 dark:placeholder:text-slate-400 dark:text-slate-50; } diff --git a/src/components/Comment/EventComment.vue b/src/components/Comment/EventComment.vue index 2512753fc..44a249c35 100644 --- a/src/components/Comment/EventComment.vue +++ b/src/components/Comment/EventComment.vue @@ -1,6 +1,6 @@