15 lines
601 B
TypeScript
15 lines
601 B
TypeScript
import type { PluginCreator } from 'postcss';
|
|
/** postcss-oklab-function plugin options */
|
|
export 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;
|
|
};
|
|
};
|
|
declare const postcssPlugin: PluginCreator<pluginOptions>;
|
|
export default postcssPlugin;
|