Skip to content

Commit 25fbd9c

Browse files
committed
Light mode better styles
1 parent a453182 commit 25fbd9c

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

frontend/src/lib/layout/icons/DeleteIcon.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
stroke-width="2"
99
stroke-linecap="round"
1010
stroke-linejoin="round"
11-
class="hover:stroke-red-500 hover:scale-110 transition-transform"
11+
class="hover:stroke-red-500 hover:scale-110 transition-transform dark:stroke-white stroke-gray-900"
1212
><circle cx="12" cy="12" r="10" /><path d="m15 9-6 6" /><path d="m9 9 6 6" /></svg
1313
>

frontend/src/lib/layout/icons/PencilIcon.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
stroke-width="2"
99
stroke-linecap="round"
1010
stroke-linejoin="round"
11-
class="lucide lucide-pencil"
11+
class="lucide lucide-pencil dark:stroke-white stroke-gray-900"
1212
><path d="M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z" /><path d="m15 5 4 4" /></svg
1313
>

frontend/src/lib/layout/icons/TrashIcon.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
stroke-width="2"
99
stroke-linecap="round"
1010
stroke-linejoin="round"
11-
class="hover:stroke-red-500 hover:scale-110 transition-transform"
11+
class="hover:stroke-red-500 hover:scale-110 transition-transform dark:stroke-white stroke-gray-900"
1212
><path d="M3 6h18" /><path d="M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6" /><path
1313
d="M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2"
1414
/><line x1="10" x2="10" y1="11" y2="17" /><line x1="14" x2="14" y1="11" y2="17" /></svg

frontend/src/lib/webrtc/ICEServerManager.svelte

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,9 @@
136136
e.preventDefault()
137137
groupToCreate = '';
138138
}}
139-
class="flex flex-col gap-4 items-center justify-center sm:w-[30vw] w-[75vw] p-4 my-4 border rounded-lg shadow sm:p-6 bg-gray-800 border-gray-700"
139+
class="flex flex-col gap-4 items-center justify-center sm:w-[30vw] w-[75vw] p-4 my-4 bg-white border border-gray-200 rounded-lg shadow dark:bg-gray-800 dark:border-gray-700"
140140
>
141-
<label for="group" class="block mb-2 font-medium text-gray-900 dark:text-white"
141+
<label for="group" class="block mb-2 font-medium text-gray-900 dark:text-white"
142142
>{$_('create_group')}</label
143143
>
144144
<input
@@ -163,7 +163,7 @@
163163
</p>
164164
{/if}
165165
{#each Object.keys($servers) as server_group, i}
166-
<li class="w-[75vw] p-4 my-4 border rounded-lg shadow sm:p-6 bg-gray-800 border-gray-700">
166+
<li class="w-[75vw] p-4 my-4 border rounded-lg shadow sm:p-6 bg-white border-gray-200 dark:bg-gray-800 dark:border-gray-700">
167167
<div class="flex justify-end h-0 mb-4 lg:mb-1">
168168
<button
169169
type="button"
@@ -204,7 +204,7 @@
204204
newserverToAdd = '';
205205
}}
206206
>
207-
<label for="domain" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white"
207+
<label for="domain" class="block mb-2 text-sm font-medium text-gray-400 dark:text-white"
208208
>{$_('new_server')}</label
209209
>
210210
<input
@@ -239,7 +239,7 @@
239239
<li class="pb-3 sm:pb-4">
240240
<div class="flex items-center space-x-4 rtl:space-x-reverse">
241241
<div class="flex-1 min-w-0">
242-
<p class="text-lg truncate text-white">
242+
<p class="text-lg truncate text-gray-400 dark:text-white">
243243
{#if type === 'stun'}
244244
{server.split('stun:')[1]}
245245
{:else}
@@ -262,7 +262,7 @@
262262
<form action="">
263263
<label
264264
for="user-{i}"
265-
class="block mb-2 text-sm font-medium text-gray-900 dark:text-white"
265+
class="block mb-2 text-sm font-medium text-gray-400 dark:text-white"
266266
>{$_('username')}</label
267267
>
268268
<input
@@ -277,7 +277,7 @@
277277

278278
<label
279279
for="password"
280-
class="block mb-2 text-sm font-medium text-gray-900 dark:text-white"
280+
class="block mb-2 text-sm font-medium text-gray-400 dark:text-white"
281281
>{$_('password')}</label
282282
>
283283

frontend/src/routes/+page.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
class="card md:w-96 md:h-52 bg-white border border-gray-200 rounded-lg shadow dark:bg-gray-800 dark:border-gray-700"
3333
>
3434
<div class="card-body">
35-
<h2 class="card-title text-white">{$_('host_card_title')}</h2>
35+
<h2 class="card-title dark:text-white text-gray-800">{$_('host_card_title')}</h2>
3636
<p class="text-gray-400">{$_('host_card_description')}</p>
3737
<a href="/mode/host" class="btn btn-primary text-white">{$_('host_card_cta')}</a>
3838
</div>
@@ -42,7 +42,7 @@
4242
class="card md:w-96 md:h-52 bg-white border border-gray-200 rounded-lg shadow dark:bg-gray-800 dark:border-gray-700"
4343
>
4444
<div class="card-body">
45-
<h2 class="card-title text-white">{$_('client_card_title')}</h2>
45+
<h2 class="card-title dark:text-white text-gray-800">{$_('client_card_title')}</h2>
4646
<p class="text-gray-400">{$_('client_card_description')}</p>
4747
<a href="/mode/client" class="btn btn-primary text-white">{$_('client_card_cta')}</a>
4848
</div>

0 commit comments

Comments
 (0)