dark mode 2
Browse files
src/lib/components/Playground/Playground.svelte
CHANGED
@@ -152,7 +152,7 @@
|
|
152 |
{/each}
|
153 |
|
154 |
<button
|
155 |
-
class="grid w-full grid-cols-[130px,1fr] items-center py-6 hover:bg-gray-50 dark:hover:bg-gray-800"
|
156 |
on:click={addMessage}
|
157 |
>
|
158 |
<div class="button !p-0 text-sm font-semibold">Add message</div>
|
|
|
152 |
{/each}
|
153 |
|
154 |
<button
|
155 |
+
class="grid w-full grid-cols-[130px,1fr] items-center py-6 hover:bg-gray-50 dark:hover:bg-gray-800/50"
|
156 |
on:click={addMessage}
|
157 |
>
|
158 |
<div class="button !p-0 text-sm font-semibold">Add message</div>
|
src/lib/components/Playground/PlaygroundMessage.svelte
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
</script>
|
13 |
|
14 |
<div
|
15 |
-
class="group/message group grid grid-cols-[130px,1fr,2.5rem] items-start gap-4 px-6 pb-6 pt-4 hover:bg-gray-50 dark:hover:bg-gray-800"
|
16 |
>
|
17 |
<div class="pb-2 pt-3 text-sm font-semibold uppercase">{message.role}</div>
|
18 |
<textarea
|
|
|
12 |
</script>
|
13 |
|
14 |
<div
|
15 |
+
class="group/message group grid grid-cols-[130px,1fr,2.5rem] items-start gap-4 px-6 pb-6 pt-4 hover:bg-gray-50 dark:hover:bg-gray-800/50"
|
16 |
>
|
17 |
<div class="pb-2 pt-3 text-sm font-semibold uppercase">{message.role}</div>
|
18 |
<textarea
|
src/lib/components/Playground/PlaygroundOptions.svelte
CHANGED
@@ -90,7 +90,7 @@
|
|
90 |
</label>
|
91 |
</div>
|
92 |
<div
|
93 |
-
class="mt-auto flex max-w-xs flex-col items-start gap-2.5 rounded-lg border bg-white p-4 text-gray-500 shadow dark:border-gray-
|
94 |
role="alert"
|
95 |
>
|
96 |
<span class="text-sm font-semibold text-gray-900 dark:text-white">Get more usage</span>
|
|
|
90 |
</label>
|
91 |
</div>
|
92 |
<div
|
93 |
+
class="mt-auto flex max-w-xs flex-col items-start gap-2.5 rounded-lg border bg-white p-4 text-gray-500 shadow dark:border-gray-800 dark:bg-gray-800/50 dark:text-gray-400"
|
94 |
role="alert"
|
95 |
>
|
96 |
<span class="text-sm font-semibold text-gray-900 dark:text-white">Get more usage</span>
|