Skip to content

feat: tailwind v4 css based plugin #419

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
fix: try to exchange an invalid utility selector
  • Loading branch information
lacrioque committed Mar 14, 2025
commit eea2a638245ab801779d1bd8c65b380da6708810
19 changes: 11 additions & 8 deletions tailwind.v4.js
Original file line number Diff line number Diff line change
Expand Up @@ -2258,14 +2258,6 @@ const vueform = plugin((context) => {
height: '100%',
}
},
'body[dir="rtl"]': {
'.form-bg-icon-check': {
'&::after': {
left: 'auto',
right: 'calc(var(--vf-border-width-checkbox-l) * (-1))',
}
},
}
}

const focusable = {
Expand Down Expand Up @@ -2389,6 +2381,17 @@ const vueform = plugin((context) => {
}
}

addBase({
'body[dir="rtl"]': {
'.form-bg-icon-check': {
'&::after': {
left: 'auto',
right: 'calc(var(--vf-border-width-checkbox-l) * (-1))',
}
},
}
});

addUtilities(plain)
addUtilities(hoverable, ['hover'])
addUtilities(groupHoverable, ['group-hover'])
Expand Down