Skip to content

Commit

Permalink
Fix focus-slim-offset offset color
Browse files Browse the repository at this point in the history
  • Loading branch information
obulat committed Oct 17, 2024
1 parent 1cd097c commit 815669b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/VCheckbox/VCheckbox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ const onChange = () => {
class="me-3 block appearance-none border border-tertiary bg-default transition-colors duration-100 checked:bg-tertiary disabled:border-disabled disabled:bg-secondary checked:disabled:border-disabled checked:disabled:bg-disabled"
:class="
isSwitch
? ['h-4.5', 'w-9', '!rounded-full', 'focus-slim-offset']
? ['h-4.5', 'w-9', 'rounded-full', 'focus-slim-offset']
: [
'h-5',
'w-5',
Expand Down
1 change: 1 addition & 0 deletions frontend/tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@ export default {
].map((item) => [
item,
(value) => ({
"--tw-ring-offset-color": "var(--color-bg-curr-page)",
"--tw-ring-color": value,
"--tw-outline-color": value,
}),
Expand Down

0 comments on commit 815669b

Please sign in to comment.