Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions web/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,19 @@
}

@custom-variant dark (&:where(.dark, .dark *));

/* safelist 一些不会在源码里出现的类 */
@source inline(
'to-neutral-100',
'to-indigo-700',
'from-indigo-100/80',
'backdrop-blur-xl',
'to-purple-100/60',
'min-w-xl',
'to-purple-500',
'overflow-y-auto',
'max-h-64',
'overflow-hidden',
'translate-x-5',
'translate-x-0'
);
2 changes: 1 addition & 1 deletion web/src/app/Mcp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ export function Mcp() {
className="relative"
>
{/* Enhanced container with fixed height and layers */}
<div className="relative min-h-[66vh] max-h-[66vh] overflow-hidden rounded-3xl border border-neutral-200/30 bg-gradient-to-br from-white/80 via-white/60 to-white/40 backdrop-blur-xl dark:border-neutral-700/30 dark:from-neutral-900/80 dark:via-neutral-900/60 dark:to-neutral-900/40">
<div className="relative min-h-[66vh] max-h-[66vh] overflow-y-auto rounded-3xl border border-neutral-200/30 bg-gradient-to-br from-white/80 via-white/60 to-white/40 backdrop-blur-xl dark:border-neutral-700/30 dark:from-neutral-900/80 dark:via-neutral-900/60 dark:to-neutral-900/40">
{/* Subtle background patterns for depth */}
<div className="absolute inset-0 opacity-30">
<div className="absolute top-0 right-0 w-96 h-96 bg-gradient-to-bl from-indigo-100/50 via-transparent to-transparent rounded-full blur-3xl dark:from-indigo-900/30" />
Expand Down