UNPKG

@csstools/postcss-color-mix-function

Version:
21 lines (17 loc) 674 B
import type { PluginCreator } from 'postcss'; /** postcss-color-mix-function plugin options */ export declare type pluginOptions = { /** Preserve the original notation. default: false */ preserve?: boolean; /** Enable "@csstools/postcss-progressive-custom-properties". default: true */ enableProgressiveCustomProperties?: boolean; /** Toggle sub features. default: { displayP3: true } */ subFeatures?: { /** Enable displayP3 fallbacks. default: true */ displayP3?: boolean; }; }; /** Transform color-mix() functions in CSS. */ declare const postcssPlugin: PluginCreator<pluginOptions>; export default postcssPlugin; export { }