rebly-sections 1.3.0 → 1.3.1
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.
|
@@ -52,13 +52,14 @@ CONDITIONAL RULES (apply based on section content):
|
|
|
52
52
|
- IF section has heading or subheading text settings:
|
|
53
53
|
-> MUST include font_picker with default "assistant_n4"
|
|
54
54
|
-> MUST wire font_picker to CSS using this exact pattern:
|
|
55
|
-
Liquid (before style tag):
|
|
55
|
+
Liquid (before <style> tag, assign only — NO output here):
|
|
56
56
|
{%- assign heading_font = section.settings.heading_font -%}
|
|
57
|
+
Inside <style> tag (CRITICAL: font_face outputs raw CSS, MUST be inside <style>):
|
|
57
58
|
{{ heading_font | font_face: font_display: 'swap' }}
|
|
58
|
-
|
|
59
|
-
--heading-font: {{ heading_font.family }}, {{ heading_font.fallback_families }};
|
|
59
|
+
#section-{{ section_id }} { --heading-font: {{ heading_font.family }}, {{ heading_font.fallback_families }}; }
|
|
60
60
|
CSS on heading selector:
|
|
61
61
|
font-family: var(--heading-font);
|
|
62
|
+
WARNING: {{ font | font_face }} placed outside <style> renders as visible text on page!
|
|
62
63
|
-> MUST include heading_font_size (type: range, min: 16, max: 72, step: 2, unit: px, default: 40)
|
|
63
64
|
-> Wire heading_font_size as CSS variable and use in heading selector
|
|
64
65
|
-> MUST include heading_tag (type: select, options: h1/h2/h3/h4) for SEO
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rebly-sections",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "Shopify section AI coding skill installer for Claude Code and Antigravity Kit",
|
|
5
5
|
"author": "Rebly Sections",
|
|
6
6
|
"homepage": "https://github.com/rebly-sections/sections-ai#readme",
|