mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-26 09:50:33 +01:00
fix(components): move remaining classes to config (#1039)
This commit is contained in:
8
src/runtime/ui.config/popper.ts
Normal file
8
src/runtime/ui.config/popper.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
export const arrow = {
|
||||
base: 'invisible before:visible before:block before:rotate-45 before:z-[-1] before:w-2 before:h-2',
|
||||
ring: 'before:ring-1 before:ring-gray-200 dark:before:ring-gray-800',
|
||||
rounded: 'before:rounded-sm',
|
||||
background: 'before:bg-gray-200 dark:before:bg-gray-800',
|
||||
shadow: 'before:shadow',
|
||||
placement: 'group-data-[popper-placement*="right"]:-left-1 group-data-[popper-placement*="left"]:-right-1 group-data-[popper-placement*="top"]:-bottom-1 group-data-[popper-placement*="bottom"]:-top-1'
|
||||
}
|
||||
Reference in New Issue
Block a user