UNPKG

@materialx/material-color-utilities

Version:

Algorithms and utilities that power the Material Design 3 (M3) color system, including choosing theme colors from images and creating tones of colors; all in a new color space.

2 lines 1.83 kB
import { ColorGroup, CustomColor, CustomColorGroup, Theme, alphaFromArgb$1 as alphaFromArgb, applyTheme$1 as applyTheme, argbFromHex$1 as argbFromHex, argbFromLab$1 as argbFromLab, argbFromLinrgb$1 as argbFromLinrgb, argbFromLstar$1 as argbFromLstar, argbFromRgb$1 as argbFromRgb, argbFromXyz$1 as argbFromXyz, blueFromArgb$1 as blueFromArgb, clampDouble$1 as clampDouble, clampInt$1 as clampInt, customColor$1 as customColor, delinearized$1 as delinearized, differenceDegrees$1 as differenceDegrees, greenFromArgb$1 as greenFromArgb, hexFromArgb$1 as hexFromArgb, isOpaque$1 as isOpaque, labFromArgb$1 as labFromArgb, lerp$1 as lerp, linearized$1 as linearized, lstarFromArgb$1 as lstarFromArgb, lstarFromY$1 as lstarFromY, matrixMultiply$1 as matrixMultiply, redFromArgb$1 as redFromArgb, rotationDirection$1 as rotationDirection, sanitizeDegreesDouble$1 as sanitizeDegreesDouble, sanitizeDegreesInt$1 as sanitizeDegreesInt, signum$1 as signum, sourceColorFromImage$1 as sourceColorFromImage, sourceColorFromImageBytes$1 as sourceColorFromImageBytes, themeFromImage$1 as themeFromImage, themeFromSourceColor$1 as themeFromSourceColor, whitePointD65$1 as whitePointD65, xyzFromArgb$1 as xyzFromArgb, yFromLstar$1 as yFromLstar } from "./index-Dv1zAOaN.js"; export { ColorGroup, CustomColor, CustomColorGroup, Theme, alphaFromArgb, applyTheme, argbFromHex, argbFromLab, argbFromLinrgb, argbFromLstar, argbFromRgb, argbFromXyz, blueFromArgb, clampDouble, clampInt, customColor, delinearized, differenceDegrees, greenFromArgb, hexFromArgb, isOpaque, labFromArgb, lerp, linearized, lstarFromArgb, lstarFromY, matrixMultiply, redFromArgb, rotationDirection, sanitizeDegreesDouble, sanitizeDegreesInt, signum, sourceColorFromImage, sourceColorFromImageBytes, themeFromImage, themeFromSourceColor, whitePointD65, xyzFromArgb, yFromLstar };