mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-15 04:29:37 +01:00
8 lines
286 B
TypeScript
8 lines
286 B
TypeScript
import { createTV, type defaultConfig } from 'tailwind-variants'
|
|
import type { AppConfig } from '@nuxt/schema'
|
|
import _appConfig from '#build/app.config'
|
|
|
|
const appConfigTv = _appConfig as AppConfig & { ui: { tv: typeof defaultConfig } }
|
|
|
|
export const tv = createTV(appConfigTv.ui?.tv)
|