From cdc2b4dd616a415db7bfa656804d4d374f4fa5d6 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Mon, 11 Nov 2024 13:56:33 -0800 Subject: [PATCH] refac: styling --- src/routes/(app)/admin/+layout.svelte | 6 +++--- src/routes/(app)/playground/+layout.svelte | 6 +++--- src/routes/(app)/workspace/+layout.svelte | 10 +++++----- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/routes/(app)/admin/+layout.svelte b/src/routes/(app)/admin/+layout.svelte index f3eaf7f52..2ad600150 100644 --- a/src/routes/(app)/admin/+layout.svelte +++ b/src/routes/(app)/admin/+layout.svelte @@ -56,21 +56,21 @@ $page.url.pathname ) ? '' - : 'text-gray-300 dark:text-gray-600'} transition" + : 'text-gray-300 dark:text-gray-600 hover:text-gray-700 dark:hover:text-white'} transition" href="/admin">{$i18n.t('Dashboard')} {$i18n.t('Evaluations')} {$i18n.t('Settings')} diff --git a/src/routes/(app)/playground/+layout.svelte b/src/routes/(app)/playground/+layout.svelte index 98c0158fa..3458ad5c2 100644 --- a/src/routes/(app)/playground/+layout.svelte +++ b/src/routes/(app)/playground/+layout.svelte @@ -46,14 +46,14 @@ $page.url.pathname ) ? '' - : 'text-gray-300 dark:text-gray-600'} transition" + : 'text-gray-300 dark:text-gray-600 hover:text-gray-700 dark:hover:text-white'} transition" href="/playground">{$i18n.t('Chat')} {$i18n.t('Notes')} @@ -62,7 +62,7 @@ '/playground/completions' ) ? '' - : 'text-gray-300 dark:text-gray-600'} transition" + : 'text-gray-300 dark:text-gray-600 hover:text-gray-700 dark:hover:text-white'} transition" href="/playground/completions">{$i18n.t('Completions')} diff --git a/src/routes/(app)/workspace/+layout.svelte b/src/routes/(app)/workspace/+layout.svelte index adf620eb7..f770071c6 100644 --- a/src/routes/(app)/workspace/+layout.svelte +++ b/src/routes/(app)/workspace/+layout.svelte @@ -54,7 +54,7 @@ {$i18n.t('Models')} @@ -63,7 +63,7 @@ '/workspace/knowledge' ) ? '' - : 'text-gray-300 dark:text-gray-600'} transition" + : 'text-gray-300 dark:text-gray-600 hover:text-gray-700 dark:hover:text-white'} transition" href="/workspace/knowledge" > {$i18n.t('Knowledge')} @@ -72,14 +72,14 @@ {$i18n.t('Prompts')} {$i18n.t('Tools')} @@ -90,7 +90,7 @@ '/workspace/functions' ) ? '' - : 'text-gray-300 dark:text-gray-600'} transition" + : 'text-gray-300 dark:text-gray-600 hover:text-gray-700 dark:hover:text-white'} transition" href="/workspace/functions" > {$i18n.t('Functions')}