@total_onion/onion-library 2.0.238 → 2.0.239
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.
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{% if fields.enable_wysiwyg_decoration %}
|
|
2
|
-
{% set wysiwygDecorationStyle = blockClassName ~ '__' ~ fields.wysiwyg_decoration_style|ru %}
|
|
2
|
+
{% set wysiwygDecorationStyle = ' ' ~ blockClassName ~ '__' ~ fields.wysiwyg_decoration_style|ru %}
|
|
3
3
|
{% endif %}
|
|
4
4
|
{% if fields.enable_text_shadow %}
|
|
5
|
-
{% set textShadowClass = blockClassName ~ "--text-shadow" %}
|
|
5
|
+
{% set textShadowClass = ' ' ~ blockClassName ~ "--text-shadow" %}
|
|
6
6
|
{% endif %}
|
|
7
|
-
{% set styleClasses =
|
|
7
|
+
{% set styleClasses = 'cmpl-text-editor-settings' ~ wysiwygDecorationStyle ~ textShadowClass %}
|
|
8
8
|
|
|
9
9
|
{{styleClasses}}
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
{% set typographicStyle = '' %}
|
|
2
|
-
{%
|
|
3
|
-
{% set
|
|
4
|
-
{%
|
|
2
|
+
{% if typographicStyleDesktop %}
|
|
3
|
+
{% set typographicStyleDesktop = ' ' ~ fields.font_size_desktop|ru %}
|
|
4
|
+
{% endif %}
|
|
5
|
+
{% if typographicStylePortrait %}
|
|
6
|
+
{% set typographicStylePortrait = ' ' ~ fields.font_size_portrait|ru %}
|
|
7
|
+
{% endif %}
|
|
8
|
+
{% if typographicStyleMobile %}
|
|
9
|
+
{% set typographicStyleMobile = ' ' ~ fields.font_size_mobile|ru %}
|
|
10
|
+
{% endif %}
|
|
5
11
|
{% set typographicStyle = fields.typographic_style|ru %}
|
|
6
|
-
{% set styleClasses = typographicStyle
|
|
12
|
+
{% set styleClasses = typographicStyle ~ typographicStyleDesktop ~ typographicStylePortrait ~ typographicStyleMobile %}
|
|
7
13
|
{{styleClasses}}
|