UNPKG

@wordpress/style-engine

Version:
32 lines (31 loc) 972 B
// packages/style-engine/src/styles/outline/index.ts import { generateRule } from "../utils"; var color = { name: "color", generate: (style, options, path = ["outline", "color"], ruleKey = "outlineColor") => { return generateRule(style, options, path, ruleKey); } }; var offset = { name: "offset", generate: (style, options, path = ["outline", "offset"], ruleKey = "outlineOffset") => { return generateRule(style, options, path, ruleKey); } }; var outlineStyle = { name: "style", generate: (style, options, path = ["outline", "style"], ruleKey = "outlineStyle") => { return generateRule(style, options, path, ruleKey); } }; var width = { name: "width", generate: (style, options, path = ["outline", "width"], ruleKey = "outlineWidth") => { return generateRule(style, options, path, ruleKey); } }; var outline_default = [color, outlineStyle, offset, width]; export { outline_default as default }; //# sourceMappingURL=index.js.map