UNPKG

@a_ng_d/utils-ui-color-palette

Version:

Core utilities library for UI Color Palette - a color management plugin for design tools. This library provides the foundational color manipulation, contrast calculation, and palette generation features used in the plugin.

28 lines 1.26 kB
import { SystemData } from '../../types/system.types'; import { PaletteData } from '../../types/data.types'; import { ColorSpaceConfiguration } from '../../types/configuration.types'; import { CodeFile } from '../../types/code.types'; export default class Code { private paletteData; private systemData?; constructor({ paletteData, systemData, }: { paletteData: PaletteData; systemData?: SystemData; }); private wrap; makeCssCustomProps: (colorSpace?: ColorSpaceConfiguration) => Array<CodeFile>; makeScssVariables: (colorSpace?: ColorSpaceConfiguration) => Array<CodeFile>; makeLessVariables: (colorSpace?: ColorSpaceConfiguration) => Array<CodeFile>; makeTailwindV3Config: () => Array<CodeFile>; makeTailwindV4Config: () => Array<CodeFile>; makeDtcgTokens: (colorSpace?: ColorSpaceConfiguration) => Array<CodeFile>; makeStyleDictionaryV3Tokens: () => Array<CodeFile>; makeUniversalJson: () => Array<CodeFile>; makeNativeTokens: () => Array<CodeFile>; makeSwiftUI: () => Array<CodeFile>; makeUIKit: () => Array<CodeFile>; makeCompose: () => Array<CodeFile>; makeResources: () => Array<CodeFile>; makeCsv: () => Array<CodeFile>; } //# sourceMappingURL=code.d.ts.map