chore(Range): export RangeColor type

This commit is contained in:
Benjamin Canac
2024-02-15 11:56:40 +01:00
parent c34df13e65
commit b11c773f32
2 changed files with 4 additions and 3 deletions

View File

@@ -1,5 +1,7 @@
import { range } from '../ui.config'
import type { ExtractDeepKey } from '.'
import type { AppConfig } from 'nuxt/schema'
import colors from '#ui-colors'
export type RangeSize = keyof typeof range.size | ExtractDeepKey<AppConfig, ['ui', 'range', 'size']>
export type RangeColor = typeof colors[number]