@massimo-cassandro/minimo 0.4.1 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -136,7 +136,29 @@
136
136
  },
137
137
  "opacity": {
138
138
  "$type": "number",
139
- "$value": ".3"
139
+ "$value": 0.7
140
+ },
141
+ "font": {
142
+ "style": {
143
+ "$type": "string",
144
+ "$value": "italic"
145
+ }
146
+ }
147
+ },
148
+ "readonly": {
149
+ "background": {
150
+ "color": {
151
+ "$type": "color",
152
+ "$value": "{form.control.background.color}"
153
+ }
154
+ },
155
+ "color": {
156
+ "$type": "color",
157
+ "$value": "#666"
158
+ },
159
+ "opacity": {
160
+ "$type": "number",
161
+ "$value": 1
140
162
  },
141
163
  "font": {
142
164
  "style": {
@@ -0,0 +1,346 @@
1
+ export default {
2
+ form: {
3
+
4
+ label: {
5
+ 'font' : {
6
+ size: {
7
+ $value: '{font.size.sm}',
8
+ $type: 'dimension'
9
+ },
10
+ weight: {
11
+ $value: '{font.weight.semibold}',
12
+ $type: 'fontWeight'
13
+ }
14
+ },
15
+ color: {
16
+ $value: '{text.color}',
17
+ $type: 'color'
18
+ }
19
+ },
20
+ group: {
21
+ 'padding-block': {
22
+ $value: '0 {size.base}',
23
+ $type: 'dimension'
24
+ }
25
+ },
26
+ 'input-group': {
27
+ background: {
28
+ color: {
29
+ $value: 'transparent',
30
+ $type: 'color'
31
+ }
32
+ }
33
+ },
34
+
35
+ control: {
36
+ static: {
37
+ color: {
38
+ $value: '{form.control.text.color}',
39
+ $type: 'color'
40
+ },
41
+ background: {
42
+ color: {
43
+ $value: 'transparent',
44
+ $type: 'color'
45
+ }
46
+ }
47
+ },
48
+
49
+ text: {
50
+ color: {
51
+ $value: '{text.color}',
52
+ $type: 'color'
53
+ }
54
+ },
55
+
56
+ font: {
57
+ style: {
58
+ $value: 'normal',
59
+ $type: 'string'
60
+ },
61
+ weight: {
62
+ $value: '{font.weight.regular}',
63
+ $type: 'fontWeight'
64
+ },
65
+ size: {
66
+ $value: '{font.size.base}',
67
+ $type: 'dimension'
68
+ }
69
+ },
70
+
71
+ background: {
72
+ color: {
73
+ $value: '{body.background.color}',
74
+ $type: 'color'
75
+ }
76
+ },
77
+ 'line-height': {
78
+ $value: '1.2',
79
+ $type: 'number'
80
+ },
81
+
82
+ padding: {
83
+ inline: {
84
+ $value: '{size.sm}',
85
+ $type: 'dimension'
86
+ },
87
+ block: {
88
+ $value: '{size.xs}',
89
+ $type: 'dimension'
90
+ }
91
+ },
92
+
93
+ border: {
94
+ color: {
95
+ $value: '#666',
96
+ $type: 'color'
97
+ },
98
+ width: {
99
+ $value: '1px',
100
+ $type: 'dimension'
101
+ },
102
+ radius: {
103
+ $value: '{radius.xxs}',
104
+ $type: 'dimension'
105
+ }
106
+ },
107
+
108
+ placeholder: {
109
+ color: {
110
+ $value: '#666',
111
+ $type: 'color'
112
+ },
113
+ opacity: {
114
+ $value: 0.8,
115
+ $type: 'number'
116
+ },
117
+ font: {
118
+ size: {
119
+ $value: '{form.control.font.size}',
120
+ $type: 'dimension'
121
+ },
122
+ style: {
123
+ $value: 'italic',
124
+ $type: 'string'
125
+ }
126
+ }
127
+ },
128
+
129
+ disabled: {
130
+ background: {
131
+ color: {
132
+ $value: '#ddd',
133
+ $type: 'color'
134
+ }
135
+ },
136
+ color: {
137
+ $value: '#999',
138
+ $type: 'color'
139
+ },
140
+ opacity: {
141
+ $value: .7,
142
+ $type: 'number'
143
+ },
144
+ font: {
145
+ style: {
146
+ $value: 'italic',
147
+ $type: 'string'
148
+ }
149
+ }
150
+ },
151
+ readonly: {
152
+ background: {
153
+ color: {
154
+ $value: '{form.control.background.color}',
155
+ $type: 'color'
156
+ }
157
+ },
158
+ color: {
159
+ $value: '#666',
160
+ $type: 'color'
161
+ },
162
+ opacity: {
163
+ $value: 1,
164
+ $type: 'number'
165
+ },
166
+ font: {
167
+ style: {
168
+ $value: 'italic',
169
+ $type: 'string'
170
+ }
171
+ }
172
+ },
173
+ required: {
174
+ 'flag-color': {
175
+ $value: '#c00',
176
+ $type: 'color'
177
+ },
178
+ 'flag-content': {
179
+ $value: '\'\\002A\'',
180
+ $type: 'string'
181
+ }
182
+ },
183
+ focus: {
184
+ color: {
185
+ $value: 'hsl(205 69% 45% / .508)',
186
+ $type: 'color'
187
+ },
188
+ outline: {
189
+ width: {
190
+ $value: '4px',
191
+ $type: 'dimension'
192
+ }
193
+ }
194
+ },
195
+
196
+ xs: {
197
+ font: {
198
+ size: {
199
+ $value: '{font.size.xs}',
200
+ $type: 'dimension'
201
+ }
202
+ },
203
+ padding: {
204
+ inline: {
205
+ $value: '{size.xxs}',
206
+ $type: 'dimension'
207
+ },
208
+ block: {
209
+ $value: '{size.xxs}',
210
+ $type: 'dimension'
211
+ }
212
+ }
213
+ },
214
+ sm: {
215
+ font: {
216
+ size: {
217
+ $value: '{font.size.sm}',
218
+ $type: 'dimension'
219
+ }
220
+ },
221
+ padding: {
222
+ inline: {
223
+ $value: '{size.xs}',
224
+ $type: 'dimension'
225
+ },
226
+ block: {
227
+ $value: '{size.xxs}',
228
+ $type: 'dimension'
229
+ }
230
+ }
231
+ },
232
+ md: {
233
+ font: {
234
+ size: {
235
+ $value: '{font.size.md}',
236
+ $type: 'dimension'
237
+ }
238
+ },
239
+ padding: {
240
+ inline: {
241
+ $value: '{size.sm}',
242
+ $type: 'dimension'
243
+ },
244
+ block: {
245
+ $value: '{size.xs}',
246
+ $type: 'dimension'
247
+ }
248
+ }
249
+ },
250
+ lg: {
251
+ font: {
252
+ size: {
253
+ $value: '{font.size.lg}',
254
+ $type: 'dimension'
255
+ }
256
+ },
257
+ padding: {
258
+ inline: {
259
+ $value: '{size.md}',
260
+ $type: 'dimension'
261
+ },
262
+ block: {
263
+ $value: '{size.base}',
264
+ $type: 'dimension'
265
+ }
266
+ }
267
+ },
268
+ xl: {
269
+ font: {
270
+ size: {
271
+ $value: '{font.size.xl}',
272
+ $type: 'dimension'
273
+ }
274
+ },
275
+ padding: {
276
+ inline: {
277
+ $value: '{size.xl}',
278
+ $type: 'dimension'
279
+ },
280
+ block: {
281
+ $value: '{size.md}',
282
+ $type: 'dimension'
283
+ }
284
+ }
285
+ },
286
+
287
+ // /* TODO importazione automatica SVG (NB problemi con svgo) */
288
+ // /* url('./css/forms/select-indicator.svg?cssInline'); */
289
+ select: {
290
+ 'trigger-icon': {
291
+ $value: 'url(\'data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22rgb(5%2C%2048%2C%2056)%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20d%3D%22m2%205%206%206%206-6%22%2F%3E%3C%2Fsvg%3E\')',
292
+ $type: 'string'
293
+ }
294
+ }
295
+ },
296
+
297
+ fieldset: {
298
+ border: {
299
+ width: {
300
+ $value: '1px',
301
+ $type: 'dimension'
302
+ }
303
+ },
304
+ },
305
+ legend: {
306
+ background: {
307
+ color: {
308
+ $value: 'transparent',
309
+ $type: 'color'
310
+ }
311
+ },
312
+ color: {
313
+ $value: '{text.color}',
314
+ $type: 'color'
315
+ }
316
+ },
317
+
318
+ // blocco info finali form
319
+ end: {
320
+ margin: {
321
+ block: {
322
+ start: {
323
+ $value: '{size.base}',
324
+ $type: 'dimension'
325
+ },
326
+ end: {
327
+ $value: '{size.base}',
328
+ $type: 'dimension'
329
+ }
330
+ }
331
+ }
332
+ },
333
+ 'user-info': {
334
+ font: {
335
+ size: {
336
+ $value: '{font.size.xs}',
337
+ $type: 'dimension'
338
+ }
339
+ },
340
+ color: {
341
+ $value: '{text.muted}',
342
+ $type: 'color'
343
+ }
344
+ }
345
+ }
346
+ };
@@ -8,6 +8,8 @@
8
8
  //
9
9
  // Usage: node check-unresolved-custom-props.mjs --config ./path/to/config.mjs
10
10
 
11
+ // TODO rimuovere/non generare file result se vuoto
12
+
11
13
  import path from 'path';
12
14
  import fs from 'node:fs';
13
15
  import { fileURLToPath, pathToFileURL } from 'url';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@massimo-cassandro/minimo",
3
- "version": "0.4.1",
3
+ "version": "0.4.3",
4
4
  "description": "Light css framework",
5
5
  "type": "module",
6
6
  "homepage": "https://github.com/massimo-cassandro/minimo#readme",
@@ -0,0 +1,55 @@
1
+ # sf-macro
2
+
3
+
4
+ ## Usage
5
+
6
+ ```javascript
7
+ import { sf_macro } from '@minimo/components/sf-macro/sf-macro.js';
8
+
9
+ sf_macro({
10
+ wrapper_selector: '.sf-macro-wrapper',
11
+ row_selector: '.sf-macro-riga',
12
+ add_callback: null,
13
+ del_callback: null
14
+ });
15
+ ```
16
+
17
+ ## Twig macro
18
+
19
+ ```twig
20
+ <fieldset class="sf-macro-wrapper">
21
+ <legend>XXXXX</legend>
22
+
23
+ {%- macro makeRow(row) -%}
24
+ {% set anno = row.vars.value.anno %}
25
+
26
+ <div class="sf-macro-riga">
27
+ <div class="grid">
28
+
29
+ {{ form_row(row.__field__, {
30
+ label: "__label__",
31
+ attr: {}
32
+ }) }}
33
+
34
+ </div> {# end .grid #}
35
+
36
+ <button type="button" class="btn-reset sf-macro-close-btn" aria-label="Elimina riga">
37
+ Elimina riga
38
+ </button>
39
+ </div> {# end .sf-macro-riga #}
40
+ {%- endmacro -%}
41
+ {% import _self as m %}
42
+
43
+ <div class="my-3 sf-macro-container" data-template="{{-
44
+ m.makeRow(form.ciclo.vars.prototype)|e('html_attr')
45
+ -}}">
46
+ {% for row in form.ciclo %}
47
+ {{ m.makeRow(row) }}
48
+ {% endfor %}
49
+ </div>
50
+
51
+ <div class="mt text-right">
52
+ <button type="button" class="btn btn-outline-secondary sf-macro-riga-add">Aggiungi XXX</button>
53
+ </div>
54
+ </fieldset>
55
+ ```
@@ -38,6 +38,19 @@
38
38
  border: var(--sf-macro-rows-border);
39
39
  border-radius: var(--sf-macro-rows-border-radius);
40
40
 
41
+ &::before {
42
+ position: absolute;
43
+ top: 0;
44
+ left: 0;
45
+ display: block;
46
+ width: 100%;
47
+ height: 100%;
48
+ text-indent: -999em;
49
+ /* TODO content nelle custom properties */
50
+ content: url(../../icons/x-bold.svg?cssInline);
51
+ translate: -50% -50%;
52
+ }
53
+
41
54
  &:nth-child(even) {
42
55
  background-color: var(--sf-macro-rows-even-background-color);
43
56
  }
@@ -0,0 +1,41 @@
1
+
2
+ .form-control {
3
+
4
+ &[disabled] {
5
+ color: var(--form-control-disabled-color);
6
+ /* border-color: $form-select-disabled-border-color; */
7
+ cursor: not-allowed;
8
+ background-color: var(--form-control-disabled-background-color);
9
+
10
+ &, &::placeholder {
11
+ font-style: var(--form-control-disabled-font-style);
12
+ }
13
+ }
14
+
15
+ &[readonly] {
16
+ color: var(--form-control-readonly-color);
17
+ pointer-events: none;
18
+ user-select: none;
19
+ background-color: var(--form-control-readonly-background-color);
20
+ }
21
+
22
+ }
23
+
24
+ .form-group {
25
+ &:has([disabled]) {
26
+ opacity: var(--form-control-disabled-opacity);
27
+ .form-label {
28
+ font-style: var(--form-control-disabled-font-style);
29
+ color: var(--form-control-disabled-color);
30
+ }
31
+ }
32
+
33
+ &:has([readonly]) {
34
+ opacity: var(--form-control-readonly-opacity);
35
+ .form-label {
36
+ font-style: var(--form-control-readonly-font-style);
37
+ color: var(--form-control-readonly-color);
38
+ }
39
+ }
40
+
41
+ }
@@ -43,24 +43,9 @@
43
43
  &:focus {
44
44
  outline: var(--form-control-focus-outline-width) solid var(--form-control-focus-color);
45
45
  }
46
-
47
- &[disabled] {
48
- color: var(--form-control-disabled-color);
49
- /* border-color: $form-select-disabled-border-color; */
50
- background-color: var(--form-control-disabled-background-color);
51
- &, &::placeholder {
52
- font-style: var(--form-control-disabled-font-style);
53
- }
54
- }
55
46
  }
56
47
 
57
- .form-group:has([disabled]) {
58
- opacity: var(--form-control-disabled-opacity);
59
- .form-label {
60
- font-style: var(--form-control-disabled-font-style);
61
- color: var(--form-control-disabled-color);
62
- }
63
- }
48
+
64
49
 
65
50
  .form-control, .form-control-static {
66
51
 
@@ -156,3 +141,4 @@ textarea.form-control {
156
141
  flex: 1;
157
142
  }
158
143
 
144
+
@@ -99,7 +99,7 @@
99
99
  --form-control-disabled-background-color: #ddd;
100
100
  --form-control-disabled-color: #999;
101
101
  --form-control-disabled-font-style: italic;
102
- --form-control-disabled-opacity: .3;
102
+ --form-control-disabled-opacity: .7;
103
103
  --form-control-focus-color: hsl(205 69% 45% / .508);
104
104
  --form-control-focus-outline-width: .25rem;
105
105
  --form-control-font-size: var(--font-size-base);
@@ -118,6 +118,10 @@
118
118
  --form-control-placeholder-font-size: var(--form-control-font-size);
119
119
  --form-control-placeholder-font-style: italic;
120
120
  --form-control-placeholder-opacity: .8;
121
+ --form-control-readonly-background-color: var(--form-control-background-color);
122
+ --form-control-readonly-color: #666;
123
+ --form-control-readonly-font-style: italic;
124
+ --form-control-readonly-opacity: 1;
121
125
  --form-control-required-flag-color: #c00;
122
126
  --form-control-required-flag-content: '\002A';
123
127
  --form-control-select-trigger-icon: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22rgb(5%2C%2048%2C%2056)%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20d%3D%22m2%205%206%206%206-6%22%2F%3E%3C%2Fsvg%3E');
@@ -18,8 +18,10 @@
18
18
  /* @import '@minimo/css/forms/fieldset.css'; */
19
19
  /* @import '@minimo/css/forms/form-group.css'; */
20
20
  /* @import '@minimo/css/forms/input-group.css'; */
21
+ /* @import '@minimo/css/forms/form-disabled-readonly.css'; */
21
22
  /* @import '@minimo/css/forms/validation.css'; */
22
23
  /* @import '@minimo/css/forms/form-utilities.css'; */
24
+
23
25
  @import '@minimo/css/buttons/buttons.css';
24
26
  /* @import '@minimo/css/buttons/status-buttons.css'; */
25
27
  /* @import '@minimo/css/buttons/btn-close.css'; */
@@ -30,7 +32,6 @@
30
32
  /* @import '@minimo/css/alerts.css'; */
31
33
  /* @import '@minimo/css/icons.css'; */
32
34
  @import '@minimo/css/svg.css';
33
- @import '@minimo/css/overlay.css';
34
35
  /* @import '@minimo/css/table.css'; */
35
36
  /* @import '@minimo/css/flex.css'; */
36
37
  /* @import '@minimo/css/grid.css'; */
@@ -38,9 +39,6 @@
38
39
  /* @import '@minimo/css/utilities.css'; */
39
40
 
40
41
 
41
- /* componenti */
42
- /* @import '@minimo/components/spinner/spinner-circle-basic.css'; */
43
- /* @import '@minimo/components/modal-alert/modal-alert.css'; */
44
42
 
45
43
  /* file progetto */
46
44
  /* @import '@src/path_to/layout.css'; */
@@ -1,324 +0,0 @@
1
- {
2
- "form": {
3
-
4
- "label": {
5
- "font" : {
6
- "size": {
7
- "$value": "{font.size.sm}",
8
- "$type": "dimension"
9
- },
10
- "weight": {
11
- "$value": "{font.weight.semibold}",
12
- "$type": "fontWeight"
13
- }
14
- },
15
- "color": {
16
- "$value": "{text.color}",
17
- "$type": "color"
18
- }
19
- },
20
- "group": {
21
- "padding-block": {
22
- "$value": "0 {size.base}",
23
- "$type": "dimension"
24
- }
25
- },
26
- "input-group": {
27
- "background": {
28
- "color": {
29
- "$value": "transparent",
30
- "$type": "color"
31
- }
32
- }
33
- },
34
-
35
- "control": {
36
- "static": {
37
- "color": {
38
- "$value": "{form.control.text.color}",
39
- "$type": "color"
40
- },
41
- "background": {
42
- "color": {
43
- "$value": "transparent",
44
- "$type": "color"
45
- }
46
- }
47
- },
48
-
49
- "text": {
50
- "color": {
51
- "$value": "{text.color}",
52
- "$type": "color"
53
- }
54
- },
55
-
56
- "font": {
57
- "style": {
58
- "$value": "normal",
59
- "$type": "string"
60
- },
61
- "weight": {
62
- "$value": "{font.weight.regular}",
63
- "$type": "fontWeight"
64
- },
65
- "size": {
66
- "$value": "{font.size.base}",
67
- "$type": "dimension"
68
- }
69
- },
70
-
71
- "background": {
72
- "color": {
73
- "$value": "{body.background.color}",
74
- "$type": "color"
75
- }
76
- },
77
- "line-height": {
78
- "$value": "1.2",
79
- "$type": "number"
80
- },
81
-
82
- "padding": {
83
- "inline": {
84
- "$value": "{size.sm}",
85
- "$type": "dimension"
86
- },
87
- "block": {
88
- "$value": "{size.xs}",
89
- "$type": "dimension"
90
- }
91
- },
92
-
93
- "border": {
94
- "color": {
95
- "$value": "#666",
96
- "$type": "color"
97
- },
98
- "width": {
99
- "$value": "1px",
100
- "$type": "dimension"
101
- },
102
- "radius": {
103
- "$value": "{radius.xxs}",
104
- "$type": "dimension"
105
- }
106
- },
107
-
108
- "placeholder": {
109
- "color": {
110
- "$value": "#666",
111
- "$type": "color"
112
- },
113
- "opacity": {
114
- "$value": 0.8,
115
- "$type": "number"
116
- },
117
- "font": {
118
- "size": {
119
- "$value": "{form.control.font.size}",
120
- "$type": "dimension"
121
- },
122
- "style": {
123
- "$value": "italic",
124
- "$type": "string"
125
- }
126
- }
127
- },
128
-
129
- "disabled": {
130
- "background": {
131
- "color": {
132
- "$value": "#ddd",
133
- "$type": "color"
134
- }
135
- },
136
- "color": {
137
- "$value": "#999",
138
- "$type": "color"
139
- },
140
- "opacity": {
141
- "$value": ".3",
142
- "$type": "number"
143
- },
144
- "font": {
145
- "style": {
146
- "$value": "italic",
147
- "$type": "string"
148
- }
149
- }
150
- },
151
- "required": {
152
- "flag-color": {
153
- "$value": "#c00",
154
- "$type": "color"
155
- },
156
- "flag-content": {
157
- "$value": "'\\002A'",
158
- "$type": "string"
159
- }
160
- },
161
- "focus": {
162
- "color": {
163
- "$value": "hsl(205 69% 45% / .508)",
164
- "$type": "color"
165
- },
166
- "outline": {
167
- "width": {
168
- "$value": "4px",
169
- "$type": "dimension"
170
- }
171
- }
172
- },
173
-
174
- "xs": {
175
- "font": {
176
- "size": {
177
- "$value": "{font.size.xs}",
178
- "$type": "dimension"
179
- }
180
- },
181
- "padding": {
182
- "inline": {
183
- "$value": "{size.xxs}",
184
- "$type": "dimension"
185
- },
186
- "block": {
187
- "$value": "{size.xxs}",
188
- "$type": "dimension"
189
- }
190
- }
191
- },
192
- "sm": {
193
- "font": {
194
- "size": {
195
- "$value": "{font.size.sm}",
196
- "$type": "dimension"
197
- }
198
- },
199
- "padding": {
200
- "inline": {
201
- "$value": "{size.xs}",
202
- "$type": "dimension"
203
- },
204
- "block": {
205
- "$value": "{size.xxs}",
206
- "$type": "dimension"
207
- }
208
- }
209
- },
210
- "md": {
211
- "font": {
212
- "size": {
213
- "$value": "{font.size.md}",
214
- "$type": "dimension"
215
- }
216
- },
217
- "padding": {
218
- "inline": {
219
- "$value": "{size.sm}",
220
- "$type": "dimension"
221
- },
222
- "block": {
223
- "$value": "{size.xs}",
224
- "$type": "dimension"
225
- }
226
- }
227
- },
228
- "lg": {
229
- "font": {
230
- "size": {
231
- "$value": "{font.size.lg}",
232
- "$type": "dimension"
233
- }
234
- },
235
- "padding": {
236
- "inline": {
237
- "$value": "{size.md}",
238
- "$type": "dimension"
239
- },
240
- "block": {
241
- "$value": "{size.base}",
242
- "$type": "dimension"
243
- }
244
- }
245
- },
246
- "xl": {
247
- "font": {
248
- "size": {
249
- "$value": "{font.size.xl}",
250
- "$type": "dimension"
251
- }
252
- },
253
- "padding": {
254
- "inline": {
255
- "$value": "{size.xl}",
256
- "$type": "dimension"
257
- },
258
- "block": {
259
- "$value": "{size.md}",
260
- "$type": "dimension"
261
- }
262
- }
263
- },
264
-
265
- // /* TODO importazione automatica SVG (NB problemi con svgo) */
266
- // /* url('./css/forms/select-indicator.svg?cssInline'); */
267
- "select": {
268
- "trigger-icon": {
269
- "$value": "url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22rgb(5%2C%2048%2C%2056)%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20d%3D%22m2%205%206%206%206-6%22%2F%3E%3C%2Fsvg%3E')",
270
- "$type": "string"
271
- }
272
- }
273
- },
274
-
275
- "fieldset": {
276
- "border": {
277
- "width": {
278
- "$value": "1px",
279
- "$type": "dimension"
280
- }
281
- },
282
- },
283
- "legend": {
284
- "background": {
285
- "color": {
286
- "$value": "transparent",
287
- "$type": "color"
288
- }
289
- },
290
- "color": {
291
- "$value": "{text.color}",
292
- "$type": "color"
293
- }
294
- },
295
-
296
- // blocco info finali form
297
- "end": {
298
- "margin": {
299
- "block": {
300
- "start": {
301
- "$value": "{size.base}",
302
- "$type": "dimension"
303
- },
304
- "end": {
305
- "$value": "{size.base}",
306
- "$type": "dimension"
307
- }
308
- }
309
- }
310
- },
311
- "user-info": {
312
- "font": {
313
- "size": {
314
- "$value": "{font.size.xs}",
315
- "$type": "dimension"
316
- }
317
- },
318
- "color": {
319
- "$value": "{text.muted}",
320
- "$type": "color"
321
- }
322
- }
323
- }
324
- }