diff --git a/src/components/layout/app-shell.tsx b/src/components/layout/app-shell.tsx index c1aae37..8b480d9 100644 --- a/src/components/layout/app-shell.tsx +++ b/src/components/layout/app-shell.tsx @@ -170,10 +170,12 @@ export function AppShell(props: ParentProps) { diff --git a/src/components/ui/table-row-actions.tsx b/src/components/ui/table-row-actions.tsx index 7a73f75..ede936f 100644 --- a/src/components/ui/table-row-actions.tsx +++ b/src/components/ui/table-row-actions.tsx @@ -7,6 +7,7 @@ import { DropdownMenuTrigger, } from "@/components/ui/dropdown-menu"; import { IconDotsVertical } from "@/components/ui/icons"; +import { useT } from "@/stores/preferences-context"; type TableRowAction = { label: string; @@ -17,15 +18,18 @@ type TableRowAction = { }; export function TableRowActions(props: { label: string; actions: TableRowAction[] }) { + const t = useT(); + return (
- + {t("common.action")} + diff --git a/src/i18n/messages.ts b/src/i18n/messages.ts index 5bfb385..4570d26 100644 --- a/src/i18n/messages.ts +++ b/src/i18n/messages.ts @@ -99,6 +99,7 @@ export type MessageKey = | "common.reply" | "common.approve" | "common.reject" + | "common.action" | "common.actions" | "common.columns" | "common.visibleColumns" @@ -1317,6 +1318,7 @@ const en: Dict = { "common.reply": "Reply", "common.approve": "Approve", "common.reject": "Reject", + "common.action": "Action", "common.actions": "Actions", "common.columns": "Columns", "common.visibleColumns": "Visible columns", @@ -2547,6 +2549,7 @@ const tr: Dict = { "common.reply": "Yanıtla", "common.approve": "Onayla", "common.reject": "Reddet", + "common.action": "İşlem", "common.actions": "İşlemler", "common.columns": "Sütunlar", "common.visibleColumns": "Görünür sütunlar", diff --git a/src/index.css b/src/index.css index a48e0b8..ff3095c 100644 --- a/src/index.css +++ b/src/index.css @@ -103,6 +103,11 @@ color utility to any element that depends on these defaults. */ @layer base { + button:not(:disabled), + [role='button']:not([aria-disabled='true']) { + cursor: pointer; + } + *, ::after, ::before, @@ -120,13 +125,10 @@ @apply border border-border/70 bg-transparent text-muted-foreground transition-colors hover:border-border hover:bg-muted/60 hover:text-foreground; } -/* AI action button: violet→indigo gradient + indigo glow. */ +/* AI action button: follows the active product palette instead of introducing + a separate violet brand color in the top bar. */ @utility topbar-ai-control { - color: #fff; - background-image: linear-gradient(to right, #7c3aed, #4f46e5, #7c3aed); - border: 1px solid rgb(129 140 248 / 0.5); - box-shadow: 0 0 20px rgb(99 102 241 / 0.35); - @apply transition-[filter,box-shadow,transform] hover:brightness-110 hover:shadow-[0_0_24px_rgb(99_102_241_/_0.5)]; + @apply border border-primary/20 bg-primary/10 text-primary transition-colors hover:bg-primary/16 hover:text-primary; } @utility data-shell {