postcss-focus-visible
Version:
Use the :focus-visible pseudo-selector in CSS
18 lines (14 loc) • 613 B
TypeScript
import type { PluginCreator } from 'postcss';
declare const creator: PluginCreator<pluginOptions>;
export default creator;
export { creator as 'module.exports' }
/** postcss-focus-visible plugin options */
export declare type pluginOptions = {
/** Preserve the original notation. default: true */
preserve?: boolean;
/** The replacement class to be used in the polyfill. default: ".focus-visible" */
replaceWith?: string;
/** Disable the selector prefix that is used to prevent a flash of incorrectly styled content. default: false */
disablePolyfillReadyClass?: boolean;
};
export { }