PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.7
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.7
2.0.13 2.0.12 2.0.11 2.0.10 2.0.9 trunk 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8
blockenberg / blocks / color-palette / block.json

block.json in Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor 2.0.7, at blocks/color-palette/block.json

174 lines 4.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "$schema": "https://schemas.wp.org/trunk/block.json",
3 "apiVersion": 3,
4 "name": "blockenberg/color-palette",
5 "title": "Color Palette",
6 "category": "bkbg-dev",
7 "icon": "art",
8 "description": "Display brand color swatches with HEX, RGB, and CSS variable labels. Perfect for style guides and design systems.",
9 "keywords": [
10 "color",
11 "palette",
12 "swatch",
13 "brand",
14 "design",
15 "style guide"
16 ],
17 "textdomain": "blockenberg",
18 "editorScript": "bkbg-color-palette-editor",
19 "style": "bkbg-color-palette-style",
20 "viewScript": "bkbg-color-palette-frontend",
21 "attributes": {
22 "colors": {
23 "type": "array",
24 "default": [
25 {
26 "name": "Primary",
27 "hex": "#6c3fb5",
28 "cssVar": "--color-primary"
29 },
30 {
31 "name": "Secondary",
32 "hex": "#a855f7",
33 "cssVar": "--color-secondary"
34 },
35 {
36 "name": "Accent",
37 "hex": "#3b82f6",
38 "cssVar": "--color-accent"
39 },
40 {
41 "name": "Success",
42 "hex": "#10b981",
43 "cssVar": "--color-success"
44 },
45 {
46 "name": "Warning",
47 "hex": "#f59e0b",
48 "cssVar": "--color-warning"
49 },
50 {
51 "name": "Danger",
52 "hex": "#ef4444",
53 "cssVar": "--color-danger"
54 }
55 ]
56 },
57 "layout": {
58 "type": "string",
59 "default": "grid"
60 },
61 "columns": {
62 "type": "number",
63 "default": 3
64 },
65 "swatchHeight": {
66 "type": "number",
67 "default": 120
68 },
69 "swatchRadius": {
70 "type": "number",
71 "default": 12
72 },
73 "showName": {
74 "type": "boolean",
75 "default": true
76 },
77 "showHex": {
78 "type": "boolean",
79 "default": true
80 },
81 "showRGB": {
82 "type": "boolean",
83 "default": false
84 },
85 "showCssVar": {
86 "type": "boolean",
87 "default": false
88 },
89 "showCopyBtn": {
90 "type": "boolean",
91 "default": true
92 },
93 "copyFormat": {
94 "type": "string",
95 "default": "hex"
96 },
97 "labelBg": {
98 "type": "string",
99 "default": "#ffffff"
100 },
101 "labelTextColor": {
102 "type": "string",
103 "default": "#1e1e1e"
104 },
105 "labelMeta": {
106 "type": "string",
107 "default": "#6b7280"
108 },
109 "fontSize": {
110 "type": "number",
111 "default": 14
112 },
113 "gap": {
114 "type": "number",
115 "default": 16
116 },
117 "borderRadius": {
118 "type": "number",
119 "default": 12
120 },
121 "showShadow": {
122 "type": "boolean",
123 "default": true
124 },
125 "showBorder": {
126 "type": "boolean",
127 "default": false
128 },
129 "borderColor": {
130 "type": "string",
131 "default": "#e5e7eb"
132 },
133 "labelPadding": {
134 "type": "number",
135 "default": 12
136 },
137 "textAlign": {
138 "type": "string",
139 "default": "left"
140 },
141 "title": {
142 "type": "string",
143 "default": ""
144 },
145 "showTitle": {
146 "type": "boolean",
147 "default": false
148 },
149 "titleColor": {
150 "type": "string",
151 "default": "#1e1e1e"
152 },
153 "titleSize": {
154 "type": "number",
155 "default": 20
156 },
157 "typoTitle": {
158 "type": "object",
159 "default": {}
160 },
161 "typoLabel": {
162 "type": "object",
163 "default": {}
164 }
165 },
166 "supports": {
167 "html": false,
168 "align": [
169 "wide",
170 "full"
171 ]
172 }
173 }
174