UNPKG

xtendui

Version:

Xtend UI is a powerful frontend library of Tailwind CSS components enhanced by vanilla js. It helps you build interfaces with advanced interactions and animations.

35 lines (33 loc) 767 B
/*! * Xtend UI (https://xtendui.github.io/xtendui/) * @copyright (c) 2017-2026 Riccardo Caroli * @license MIT (https://github.com/xtendui/xtendui/blob/master/LICENSE.txt) */ module.exports = { variants: ['responsive'], utility: { '.xt-tooltip-static': { padding: 0, top: '100% !important', left: '0 !important', right: '0 !important', }, }, component: theme => ({ '.xt-tooltip': { position: 'absolute', zIndex: theme('zIndex.tooltip'), margin: '0 !important', '&:not(.on):not(.in):not(.out)': { display: 'none', }, '&.out': { pointerEvents: 'none', }, '> .xt-arrow': { position: 'absolute', pointerEvents: 'none', }, }, }), }