| 1 |
{ |
| 2 |
"apiVersion": 3, |
| 3 |
"name": "blockenberg/text-stroke", |
| 4 |
"title": "Text Stroke", |
| 5 |
"description": "Large outlined/hollow text using CSS text-stroke with hover fill, gradient, and animation options.", |
| 6 |
"category": "bkbg-effects", |
| 7 |
"icon": "editor-textcolor", |
| 8 |
"keywords": [ |
| 9 |
"outline", |
| 10 |
"stroke", |
| 11 |
"hollow", |
| 12 |
"text", |
| 13 |
"typography" |
| 14 |
], |
| 15 |
"textdomain": "blockenberg", |
| 16 |
"editorScript": "bkbg-text-stroke-editor", |
| 17 |
"editorStyle": "bkbg-text-stroke-style", |
| 18 |
"style": "bkbg-text-stroke-style", |
| 19 |
"viewScript": "bkbg-text-stroke-frontend", |
| 20 |
"supports": { |
| 21 |
"html": false, |
| 22 |
"align": [ |
| 23 |
"wide", |
| 24 |
"full" |
| 25 |
] |
| 26 |
}, |
| 27 |
"attributes": { |
| 28 |
"text": { |
| 29 |
"type": "string", |
| 30 |
"default": "Outlined Text" |
| 31 |
}, |
| 32 |
"tag": { |
| 33 |
"type": "string", |
| 34 |
"default": "h2" |
| 35 |
}, |
| 36 |
"titleTypo": { |
| 37 |
"type": "object", |
| 38 |
"default": {} |
| 39 |
}, |
| 40 |
"strokeWidth": { |
| 41 |
"type": "number", |
| 42 |
"default": 2 |
| 43 |
}, |
| 44 |
"strokeColor": { |
| 45 |
"type": "string", |
| 46 |
"default": "#6c3fb5" |
| 47 |
}, |
| 48 |
"fillColor": { |
| 49 |
"type": "string", |
| 50 |
"default": "transparent" |
| 51 |
}, |
| 52 |
"textAlign": { |
| 53 |
"type": "string", |
| 54 |
"default": "center" |
| 55 |
}, |
| 56 |
"wrapBg": { |
| 57 |
"type": "string", |
| 58 |
"default": "" |
| 59 |
}, |
| 60 |
"paddingTop": { |
| 61 |
"type": "integer", |
| 62 |
"default": 40 |
| 63 |
}, |
| 64 |
"paddingBottom": { |
| 65 |
"type": "integer", |
| 66 |
"default": 40 |
| 67 |
}, |
| 68 |
"hoverEffect": { |
| 69 |
"type": "string", |
| 70 |
"default": "fill" |
| 71 |
}, |
| 72 |
"hoverFillColor": { |
| 73 |
"type": "string", |
| 74 |
"default": "#6c3fb5" |
| 75 |
}, |
| 76 |
"hoverStrokeColor": { |
| 77 |
"type": "string", |
| 78 |
"default": "" |
| 79 |
}, |
| 80 |
"transitionDuration": { |
| 81 |
"type": "integer", |
| 82 |
"default": 300 |
| 83 |
}, |
| 84 |
"useGradient": { |
| 85 |
"type": "boolean", |
| 86 |
"default": false |
| 87 |
}, |
| 88 |
"gradientAngle": { |
| 89 |
"type": "integer", |
| 90 |
"default": 135 |
| 91 |
}, |
| 92 |
"gradientColor1": { |
| 93 |
"type": "string", |
| 94 |
"default": "#6c3fb5" |
| 95 |
}, |
| 96 |
"gradientColor2": { |
| 97 |
"type": "string", |
| 98 |
"default": "#ec4899" |
| 99 |
}, |
| 100 |
"shadowBlur": { |
| 101 |
"type": "integer", |
| 102 |
"default": 0 |
| 103 |
}, |
| 104 |
"shadowColor": { |
| 105 |
"type": "string", |
| 106 |
"default": "#000000" |
| 107 |
}, |
| 108 |
"linkUrl": { |
| 109 |
"type": "string", |
| 110 |
"default": "" |
| 111 |
}, |
| 112 |
"linkNewTab": { |
| 113 |
"type": "boolean", |
| 114 |
"default": false |
| 115 |
}, |
| 116 |
"align": { |
| 117 |
"type": "string", |
| 118 |
"default": "" |
| 119 |
} |
| 120 |
} |
| 121 |
} |
| 122 |
|