Open-source and local-first Slack and Notion alternative that puts you in control of your data
TypeScript chatchat-applicationcrdteditorelectronknowledge-baselocal-firstnotionnotion-alternativerealtime-collaborationself-hostedslacksqliteteam-collaborationwikiyjs
Disable outline for all components
Hakan Shehuf238f15094d6
diff --git a/apps/desktop/src/renderer/components/ui/button.tsx b/apps/desktop/src/renderer/components/ui/button.tsxindex dd50fcdb..0c1b9f2b 100644--- a/apps/desktop/src/renderer/components/ui/button.tsx+++ b/apps/desktop/src/renderer/components/ui/button.tsx@@ -5,7 +5,7 @@ import { cva, type VariantProps } from 'class-variance-authority';import { cn } from '@/shared/lib/utils';const buttonVariants = cva(- 'inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-0 focus-visible:outline-none focus-visible:ring-0 disabled:pointer-events-none disabled:opacity-50',+ 'inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-0 focus-visible:ring-0 disabled:pointer-events-none disabled:opacity-50',{variants: {variant: {diff --git a/apps/desktop/src/renderer/styles/index.css b/apps/desktop/src/renderer/styles/index.cssindex a9158e7f..5aa3cb6b 100644--- a/apps/desktop/src/renderer/styles/index.css+++ b/apps/desktop/src/renderer/styles/index.css@@ -82,6 +82,13 @@body {@apply bg-background text-foreground;}+ *:focus {+ outline: none;+ }++ *:focus-visible {+ outline: none;+ }}@font-face {