diff --git a/src/templates/attributes/text.twig b/src/templates/attributes/text.twig index 295160d..11df151 100644 --- a/src/templates/attributes/text.twig +++ b/src/templates/attributes/text.twig @@ -36,6 +36,34 @@ value: value['font-weight']|default('400') }) }} +
+ {{ selectField({ + label: 'Style', + name: name ~ '[font-style]', + options: [ + {label: 'Default', value: ''}, + {label: 'Normal', value: 'normal'}, + {label: 'Italic', value: 'italic'}, + ], + value: value['font-style']|default('') + }) }} +
+
+ {{ textField({ + label: 'Size', + name: name ~ '[font-size]', + type: 'text', + value: value['font-size']|default('') + }) }} +
+
+ {{ textField({ + label: 'Line Height', + name: name ~ '[line-height]', + type: 'text', + value: value['line-height']|default('') + }) }} +
{{ selectField({ label: 'Decoration',