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.
17 lines (16 loc) • 476 B
JavaScript
import merge from 'lodash/merge.js';
export const rules = {
'.uk-switcher': { margin: '0', padding: '0', listStyle: 'none' },
'.uk-switcher > :not(.uk-active)': { display: 'none' },
'.uk-switcher > * > :last-child': { marginBottom: '0' }
};
export const addHooks = (args) => {
const { hooks } = args;
const defaultHooks = {
'hook-misc': {}
};
const _hooks = merge(defaultHooks, hooks);
return {
..._hooks['hook-misc']
};
};