UNPKG

reka-ui

Version:

Vue port for Radix UI Primitives.

36 lines (30 loc) 788 B
// Channel operations export { getChannelName, getChannelRange, getChannelValue, setChannelValue, setChannelValues } from './channel' // Conversion export { colorToHex, colorToHsb, colorToHsl, colorToRgb, colorToString, convertToHsb, convertToHsl, convertToRgb, } from './convert' // Gradients export { getAreaBackgroundStyle, getAreaGradient, getSliderBackgroundStyle, getSliderGradient } from './gradient' // Parsing export { isValidColor, normalizeColor, parseColor } from './parse' // Types export type { ChannelRange, Color, ColorChannel, ColorFormat, ColorSpace, HSBColor, HSLColor, RGBColor, } from './types' // Legacy utilities (keeping for backwards compatibility) export { getColorContrast, getColorName, hexToHSL, hexToRGB } from './utils'