UNPKG

franken-ui

Version:

Franken UI is an HTML-first, open-source library of UI components based on the utility-first Tailwind CSS with UIkit 3 compatibility. The design is based on shadcn/ui ported to be framework-agnostic.

77 lines (76 loc) 2.37 kB
export default function () { return { 'hook-modal': { padding: null, backgroundColor: `rgba(0, 0, 0, 0.8)`, '@apply backdrop-blur-sm p-4': {} }, 'hook-dialog': { width: '32rem', backgroundColor: null, '@apply overflow-hidden border border-border bg-background rounded-lg': {} }, 'hook-full': { backgroundColor: null, '@apply w-full rounded-none border-none': {} }, 'hook-header': { padding: null, backgroundColor: null, borderBottom: null, '@apply p-6': {} }, 'hook-body': { padding: null, '@apply p-6': {} }, 'hook-footer': { padding: null, backgroundColor: null, borderTop: null, '@apply p-6': {} }, 'hook-title': { fontSize: null, lineHeight: null, '@apply text-lg font-semibold leading-none tracking-tight': {} }, 'hook-close-full': { backgroundColor: null, padding: null }, 'hook-misc': { "[class*='uk-modal-close-']": { padding: null, '@apply top-4 right-4': {} }, '.uk-modal-header + .uk-modal-body, .uk-modal-body + .uk-modal-footer': { '@apply pt-0': {} }, '.uk-modal-header ~ .uk-modal-footer': { '@apply pt-0': {} }, '.uk-modal-header + .uk-modal-body.uk-overflow-auto': { '@apply pb-0': {} }, '.uk-modal-body.uk-overflow-auto + .uk-modal-footer': { '@apply pt-6': {} }, '.uk-modal-full': { padding: '0 !important' }, '.uk-flex': { display: 'flex !important' }, '.uk-flex-top': { '@apply items-start': {} }, '.uk-margin-auto-vertical': { marginTop: 'auto !important', marginBottom: 'auto !important' }, '.uk-overflow-auto': { overflow: 'auto' }, '.uk-overflow-auto > :last-child': { marginBottom: '0' } } }; }