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.

18 lines (17 loc) 567 B
// import { variables } from '../variables.js'; // import hexes from '../hexes.js'; export default function (options) { // let root = variables[`.theme-${options.theme || 'zinc'}`]; // let dark = variables[`.dark .theme-${options.theme || 'zinc'}`]; // if (options.palette && options.palette[':root'] && options.palette['.dark']) { // root = options.palette[':root']; // dark = options.palette['.dark']; // } // const scheme = hexes({ // ':root': root, // '.dark': dark // }); return { 'hook-misc': {} }; }