Skip to content

Commit

Permalink
Re-add focus
Browse files Browse the repository at this point in the history
  • Loading branch information
obulat committed Dec 13, 2024
1 parent 1caa398 commit e11497b
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions frontend/tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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: {
Expand Down

0 comments on commit e11497b

Please sign in to comment.