Skip to content

Commit edbf59a

Browse files
fixed pipeline section for dark theme
1 parent 1ef4c4b commit edbf59a

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

packages/Webkul/Admin/src/Resources/views/components/shimmer/pipelines/kanban.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div class="flex gap-4 overflow-auto max-xl:flex-wrap">
22
@for ($i = 1; $i <= 6; $i++)
3-
<div class="flex h-[380px] min-w-[275px] max-w-[275px] flex-col justify-between rounded-lg bg-white">
3+
<div class="flex h-[380px] min-w-[275px] max-w-[275px] flex-col justify-between rounded-lg bg-white dark:bg-gray-900">
44
<!-- Stage Header -->
55
<div class="flex flex-col gap-6 px-4 py-3">
66
<!-- Stage Title and Action -->
@@ -23,7 +23,7 @@
2323
</div>
2424
</div>
2525

26-
<div class="flex items-center gap-2 border-t p-2">
26+
<div class="flex items-center gap-2 p-2">
2727
<div class="shimmer h-[26px] w-[26px] rounded-md"></div>
2828

2929
<div class="shimmer h-5 w-20"></div>

packages/Webkul/Admin/src/Resources/views/settings/pipelines/create.blade.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class="primary-button"
3737
</div>
3838
</div>
3939

40-
<div class="flex gap-4 border-t px-4 py-2 align-top max-sm:flex-wrap">
40+
<div class="flex gap-4 border-t border-gray-200 px-4 py-2 align-top dark:border-gray-800 max-sm:flex-wrap">
4141
<!-- Name -->
4242
<x-admin::form.control-group>
4343
<x-admin::form.control-group.label class="required">
@@ -129,12 +129,12 @@ class="flex gap-4"
129129
::class="{ draggable: isDragable(element) }"
130130
class="flex gap-4 overflow-x-auto"
131131
>
132-
<div class="flex min-w-[275px] max-w-[275px] flex-col justify-between rounded-lg bg-white">
132+
<div class="flex min-w-[275px] max-w-[275px] flex-col justify-between rounded-lg bg-white dark:bg-gray-900">
133133
<!-- Stage Crad -->
134134
<div class="flex flex-col gap-6 px-4 py-3">
135135
<!-- Stage Title and Action -->
136136
<div class="flex items-center justify-between">
137-
<span class="py-1 font-medium">
137+
<span class="py-1 font-medium dark:text-gray-300">
138138
@{{ element.name ? element.name : '@lang('admin::app.settings.pipelines.create.newly-added') ' }}
139139
</span>
140140
@@ -199,7 +199,7 @@ class="icon-move cursor-grab rounded-md p-1 text-2xl transition-all hover:bg-gra
199199
</div>
200200
201201
<div
202-
class="flex cursor-pointer items-center gap-2 border-t p-2 text-red-600"
202+
class="flex cursor-pointer items-center gap-2 border-t border-gray-200 p-2 text-red-600 dark:border-gray-800"
203203
@click="removeStage(element)"
204204
v-if="isDragable(element)"
205205
>
@@ -214,11 +214,11 @@ class="flex cursor-pointer items-center gap-2 border-t p-2 text-red-600"
214214
</draggable>
215215
216216
<!-- Add New Stage Card -->
217-
<div class="flex min-h-[400px] min-w-[275px] max-w-[275px] flex-col items-center justify-center gap-1 rounded-lg bg-white">
217+
<div class="flex min-h-[400px] min-w-[275px] max-w-[275px] flex-col items-center justify-center gap-1 rounded-lg bg-white dark:bg-gray-900">
218218
<div class="flex flex-col items-center justify-center gap-6 px-4 py-3">
219219
<div class="grid justify-center justify-items-center gap-3.5 text-center">
220220
<div class="flex flex-col items-center gap-2">
221-
<p class="text-xl font-semibold">
221+
<p class="text-xl font-semibold dark:text-gray-300">
222222
@lang('admin::app.settings.pipelines.create.add-new-stages')
223223
</p>
224224

packages/Webkul/Admin/src/Resources/views/settings/pipelines/edit.blade.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class="primary-button"
4141
</div>
4242
</div>
4343

44-
<div class="flex gap-4 border-t px-4 py-2 align-top max-sm:flex-wrap">
44+
<div class="flex gap-4 border-t border-gray-200 px-4 py-2 align-top dark:border-gray-800 max-sm:flex-wrap">
4545
<!-- Pipeline Name -->
4646
<x-admin::form.control-group>
4747
<x-admin::form.control-group.label class="required">
@@ -133,11 +133,11 @@ class="flex gap-4"
133133
::class="{ draggable: isDragable(element) }"
134134
class="flex gap-4 overflow-x-auto"
135135
>
136-
<div class="flex min-w-[275px] max-w-[275px] flex-col justify-between rounded-lg bg-white">
136+
<div class="flex min-w-[275px] max-w-[275px] flex-col justify-between rounded-lg bg-white dark:bg-gray-900">
137137
<div class="flex flex-col gap-6 px-4 py-3">
138138
<!-- Stage Title and Action -->
139139
<div class="flex items-center justify-between">
140-
<span class="py-1 font-medium">
140+
<span class="py-1 font-medium dark:text-gray-300">
141141
@{{ element.name ? element.name : 'New Added' }}
142142
</span>
143143
@@ -201,7 +201,7 @@ class="icon-move cursor-grab rounded-md p-1 text-2xl transition-all hover:bg-gra
201201
202202
<!-- Remove Stage -->
203203
<div
204-
class="flex cursor-pointer items-center gap-2 border-t p-2 text-red-600"
204+
class="flex cursor-pointer items-center gap-2 border-t border-gray-200 p-2 text-red-600 dark:border-gray-800"
205205
@click="removeStage(element)"
206206
v-if="isDragable(element)"
207207
>
@@ -215,11 +215,11 @@ class="flex cursor-pointer items-center gap-2 border-t p-2 text-red-600"
215215
</draggable>
216216
217217
<!-- Add New Stage Card -->
218-
<div class="flex min-h-[400px] min-w-[275px] max-w-[275px] flex-col items-center justify-center gap-1 rounded-lg bg-white">
218+
<div class="flex min-h-[400px] min-w-[275px] max-w-[275px] flex-col items-center justify-center gap-1 rounded-lg bg-white dark:bg-gray-900">
219219
<div class="flex flex-col items-center justify-center gap-6 px-4 py-3">
220220
<div class="grid justify-center justify-items-center gap-3.5 text-center">
221221
<div class="flex flex-col items-center gap-2">
222-
<p class="text-xl font-semibold">
222+
<p class="text-xl font-semibold dark:text-gray-300">
223223
@lang('admin::app.settings.pipelines.edit.add-new-stages')
224224
</p>
225225

0 commit comments

Comments
 (0)