UNPKG

postcss-rtl-logical-properties

Version:

This plugin is a PostCSS plugin that replaces supported horizontal direction properties (LTR/RTL) with logical CSS properties (start/end) to add RTL support.

15 lines (12 loc) 425 B
import { PluginCreator } from 'postcss'; import { Props, PluginMethods } from './types.cjs'; declare const plugName = "postcss-rtl-logical-properties"; /** * @type {import('postcss').PluginCreator} */ declare namespace plugin { type PluginOptions = {}; type ignoreDeclarationList = Array<Props>; } declare const plugin: PluginCreator<plugin.PluginOptions> & PluginMethods; export { plugin as default, plugName };