mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-12 23:02:35 +00:00
refac
This commit is contained in:
parent
8c0c7b3b6c
commit
1457000ba6
2 changed files with 17 additions and 6 deletions
|
|
@ -524,7 +524,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
{#if (tools?.[toolId]?.authenticated ?? true) && toolId.startsWith('server:mcp:')}
|
||||
{#if tools?.[toolId]?.authenticated === true && toolId.startsWith('server:mcp:')}
|
||||
<div class="shrink-0">
|
||||
<Tooltip content={$i18n.t('Disconnect OAuth')}>
|
||||
<button
|
||||
|
|
|
|||
|
|
@ -3,6 +3,14 @@
|
|||
@config '../tailwind.config.js';
|
||||
|
||||
@theme {
|
||||
--font-sans:
|
||||
var(--app-font-family, -apple-system), BlinkMacSystemFont, 'Inter', 'Vazirmatn',
|
||||
ui-sans-serif, system-ui, 'Segoe UI', Roboto, Ubuntu, Cantarell, 'Noto Sans', sans-serif,
|
||||
'Helvetica Neue', Arial, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
||||
'Noto Color Emoji';
|
||||
--font-primary: var(--font-sans);
|
||||
--font-secondary: var(--font-sans);
|
||||
|
||||
--color-gray-50: oklch(0.98 0 0);
|
||||
--color-gray-100: oklch(0.94 0 0);
|
||||
--color-gray-200: oklch(0.92 0 0);
|
||||
|
|
@ -37,11 +45,7 @@
|
|||
|
||||
@layer base {
|
||||
html {
|
||||
font-family:
|
||||
var(--app-font-family, -apple-system), BlinkMacSystemFont, 'Inter', 'Vazirmatn',
|
||||
ui-sans-serif, system-ui, 'Segoe UI', Roboto, Ubuntu, Cantarell, 'Noto Sans', sans-serif,
|
||||
'Helvetica Neue', Arial, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
||||
'Noto Color Emoji';
|
||||
font-family: var(--font-sans);
|
||||
}
|
||||
|
||||
pre {
|
||||
|
|
@ -97,4 +101,11 @@
|
|||
}
|
||||
}
|
||||
|
||||
@layer utilities {
|
||||
.font-primary,
|
||||
.font-secondary {
|
||||
font-family: var(--font-sans);
|
||||
}
|
||||
}
|
||||
|
||||
@custom-variant hover (&:hover);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue