Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
e8fbb8f1
Commit
e8fbb8f1
authored
Jul 08, 2024
by
Timothy J. Baek
Browse files
refac: styling
parent
088e7b02
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
3 deletions
+13
-3
src/app.css
src/app.css
+10
-0
src/lib/components/chat/Messages/Placeholder.svelte
src/lib/components/chat/Messages/Placeholder.svelte
+3
-3
static/assets/fonts/Archivo-Variable.ttf
static/assets/fonts/Archivo-Variable.ttf
+0
-0
No files found.
src/app.css
View file @
e8fbb8f1
...
@@ -4,6 +4,12 @@
...
@@ -4,6 +4,12 @@
font-display
:
swap
;
font-display
:
swap
;
}
}
@font-face
{
font-family
:
'Archivo'
;
src
:
url('/assets/fonts/Archivo-Variable.ttf')
;
font-display
:
swap
;
}
@font-face
{
@font-face
{
font-family
:
'Mona Sans'
;
font-family
:
'Mona Sans'
;
src
:
url('/assets/fonts/Mona-Sans.woff2')
;
src
:
url('/assets/fonts/Mona-Sans.woff2')
;
...
@@ -32,6 +38,10 @@ math {
...
@@ -32,6 +38,10 @@ math {
@apply
underline;
@apply
underline;
}
}
.font-primary
{
font-family
:
'Archivo'
,
sans-serif
;
}
iframe
{
iframe
{
@apply
rounded-lg;
@apply
rounded-lg;
}
}
...
...
src/lib/components/chat/Messages/Placeholder.svelte
View file @
e8fbb8f1
...
@@ -65,7 +65,7 @@
...
@@ -65,7 +65,7 @@
</div>
</div>
<div
<div
class=" mt-2 mb-4 text-3xl text-gray-800 dark:text-gray-100 font-semibold text-left flex items-center gap-4"
class=" mt-2 mb-4 text-3xl text-gray-800 dark:text-gray-100 font-semibold text-left flex items-center gap-4
font-primary
"
>
>
<div>
<div>
<div class=" capitalize line-clamp-1" in:fade={{ duration: 200 }}>
<div class=" capitalize line-clamp-1" in:fade={{ duration: 200 }}>
...
@@ -102,7 +102,7 @@
...
@@ -102,7 +102,7 @@
</div>
</div>
{/if}
{/if}
{:else}
{:else}
<div class=" font-medium text-gray-400 dark:text-gray-500 line-clamp-1">
<div class=" font-medium text-gray-400 dark:text-gray-500 line-clamp-1
font-p
">
{$i18n.t('How can I help you today?')}
{$i18n.t('How can I help you today?')}
</div>
</div>
{/if}
{/if}
...
@@ -110,7 +110,7 @@
...
@@ -110,7 +110,7 @@
</div>
</div>
</div>
</div>
<div class=" w-full" in:fade={{ duration: 200, delay: 300 }}>
<div class=" w-full
font-primary
" in:fade={{ duration: 200, delay: 300 }}>
<Suggestions
<Suggestions
suggestionPrompts={models[selectedModelIdx]?.info?.meta?.suggestion_prompts ??
suggestionPrompts={models[selectedModelIdx]?.info?.meta?.suggestion_prompts ??
$config.default_prompt_suggestions}
$config.default_prompt_suggestions}
...
...
static/assets/fonts/Archivo-Variable.ttf
0 → 100644
View file @
e8fbb8f1
File added
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment