Skip to content

Commit c8b64d4

Browse files
committed
feat: improve options
1 parent 4a5d0a8 commit c8b64d4

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

src/tw.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,13 @@ const tailwindFunctions = [
2020
'twj',
2121
'twJoin',
2222
'twMerge',
23+
'twx',
2324
];
2425

2526
export default extendConfig({
2627
customAttributes: tailwindAttributes,
2728
customFunctions: tailwindFunctions,
29+
endingPosition: 'absolute',
2830

2931
plugins: [
3032
//

test/__snapshots__/index.test.ts.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,9 @@ export const styles = {
189189
export function Callout({ children }: React.PropsWithChildren) {
190190
return (
191191
<label
192-
className="shadow-panel can-hover:hover:border-primary mx-auto flex max-w-md cursor-pointer flex-col items-center justify-center
193-
gap-2 rounded-lg border-2 border-dashed border-transparent bg-white p-8 transition [view-transition-name:upload]
194-
hover:-translate-y-1 active:scale-95"
192+
className="shadow-panel can-hover:hover:border-primary mx-auto flex max-w-md cursor-pointer flex-col
193+
items-center justify-center gap-2 rounded-lg border-2 border-dashed border-transparent bg-white p-8 transition
194+
[view-transition-name:upload] hover:-translate-y-1 active:scale-95"
195195
>
196196
{children}
197197
</label>

0 commit comments

Comments
 (0)