Fully autonomous AI Agents system capable of performing complex penetration testing tasks
Go ai-agentsai-security-toolanthropicautonomous-agentsgolanggptgraphqlmulti-agent-systemoffensive-securityopen-sourceopenaipenetration-testingpenetration-testing-toolsreactsecurity-automationsecurity-testingsecurity-toolsself-hosted
style(frontend): tweak Kbd tooltip palette, drop redundant Plus sizing
Sergey Kozyrenko747c98855651
diff --git a/frontend/src/components/ui/kbd.tsx b/frontend/src/components/ui/kbd.tsxindex d0aff5d3..57a5adb7 100644--- a/frontend/src/components/ui/kbd.tsx+++ b/frontend/src/components/ui/kbd.tsx@@ -6,7 +6,7 @@ function Kbd({ className, ...props }: React.ComponentProps<'kbd'>) {className={cn('bg-muted text-muted-foreground pointer-events-none inline-flex h-5 w-fit min-w-5 items-center justify-center gap-1 rounded-sm px-1 font-sans text-xs font-medium select-none',"[&_svg:not([class*='size-'])]:size-3",- '[[data-slot=tooltip-content]_&]:bg-background/20 [[data-slot=tooltip-content]_&]:text-background dark:[[data-slot=tooltip-content]_&]:bg-background/10',+ '[[data-slot=tooltip-content]_&]:bg-accent/20 [[data-slot=tooltip-content]_&]:text-accent-foreground dark:[[data-slot=tooltip-content]_&]:bg-accent/50',className,)}data-slot="kbd"diff --git a/frontend/src/pages/knowledges/knowledges.tsx b/frontend/src/pages/knowledges/knowledges.tsxindex 969b3224..3823244d 100644--- a/frontend/src/pages/knowledges/knowledges.tsx+++ b/frontend/src/pages/knowledges/knowledges.tsx@@ -471,7 +471,7 @@ function Knowledges() {onClick={() => navigate('/knowledges/new')}variant="secondary">- <Plus className="size-4" />+ <Plus />New Knowledge</Button>}