From 0da15bdc4284dc5043a202dfcfa5e99e02229b43 Mon Sep 17 00:00:00 2001 From: Olga Bulat Date: Fri, 13 Dec 2024 16:29:41 +0300 Subject: [PATCH] Re-add focus --- frontend/tailwind.config.ts | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/frontend/tailwind.config.ts b/frontend/tailwind.config.ts index 9fc3b32fa77..5d9260429d3 100644 --- a/frontend/tailwind.config.ts +++ b/frontend/tailwind.config.ts @@ -104,6 +104,12 @@ export default { curr: "currentColor", current: "currentColor", + // Focus ring colors + focus: { + DEFAULT: "var(--color-border-focus)", + yellow: "var(--color-yellow-3)", + }, + contrast: "var(--color-contrast, var(--color-text))", }, placeholderColor: { @@ -168,12 +174,6 @@ export default { 2: "2px", 3: "3px", }, - outlineColor: { - focus: "var(--color-border-focus)", - }, - ringColor: { - focus: "var(--color-border-focus)", - }, ringOffsetWidth: { 0: "0px", 1: "1px", @@ -322,6 +322,12 @@ export default { 1.5: "1.5px", 3: "3px", }, + outlineColor: { + focus: "var(--color-border-focus)", + }, + ringColor: { + focus: "var(--color-border-focus)", + }, typography: () => ({ DEFAULT: { css: {