UNPKG

@csstools/postcss-relative-color-syntax

Version:
22 lines (18 loc) 722 B
import type { PluginCreator } from 'postcss'; /** postcss-relative-color-syntax 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 relative color syntax in CSS. */ declare const postcssPlugin: PluginCreator<pluginOptions>; export default postcssPlugin; export { postcssPlugin as 'module.exports' } export { }