adrema/resources/css/tooltip.css

22 lines
843 B
CSS

.tippy-box[data-theme~='primary'] {
@apply bg-primary-800 text-primary-100 shadow-lg;
}
.tippy-box[data-theme~='primary'][data-placement^='top'] > .tippy-arrow:before {
border-top-color: theme('colors.primary.800');
}
.tippy-box[data-theme~='primary'][data-placement^='bottom'] > .tippy-arrow:before {
border-bottom-color: theme('colors.primary.800');
}
.tippy-box[data-theme~='primary'][data-placement^='left'] > .tippy-arrow:before {
border-left-color: theme('colors.primary.800');
}
.tippy-box[data-theme~='primary'][data-placement^='right'] > .tippy-arrow:before {
border-right-color: theme('colors.primary.800');
}
.tippy-box[data-theme~='primary'] > .tippy-backdrop {
background-color: theme('colors.primary.800');
}
.tippy-box[data-theme~='primary'] > .tippy-svg-arrow {
fill: theme('colors.primary.800');
}