Skip to content

St/split showcase#72

Open
Rivka-Development wants to merge 28 commits intoShopify:mainfrom
Rivka-Development:ST/split-showcase
Open

St/split showcase#72
Rivka-Development wants to merge 28 commits intoShopify:mainfrom
Rivka-Development:ST/split-showcase

Conversation

@Rivka-Development
Copy link
Copy Markdown

Implementation of Mobile Typography & Layout Customizations in Global Blocks

Text Global Block (blocks/text.liquid):

Added font_size_mobile customization to allow overriding the font size on mobile devices.
Introduced alignment_mobile setup to permit specific text alignment (left, center, or right) uniquely for mobile displays.

Updated

snippets/text.liquid to read these new schema values and map them to --font-size-mobile and --text-align-mobile CSS variables inside a @media screen and (max-width: 749px) breakpoint.

Button Global Block (blocks/button.liquid):

Added a dedicated Typography configuration section to the button block schema.
Included a standard desktop font_size setting.
Included a font_size_mobile setting to control mobile font sizing without relying on arbitrary global stylesheet scalings.
Modified

snippets/button.liquid to dynamically inject --font-size and --font-size-mobile variables and updated the embedded {% stylesheet %} block to apply these scales gracefully across devices while retaining the button's standard styling fallback behavior.

Sergio Tamayo and others added 28 commits March 16, 2026 12:09
Perf: Make scroll event listeners passive
Perf: Defer predictive-search.js loading
…-LCP

Optimize responsive images, LCP priority, and deferred mobile hydration
Committed from shop: Develoment-theme
Committed from shop: Develoment-theme
Committed from shop: Develoment-theme
Committed from shop: Develoment-theme
Committed from shop: Develoment-theme
Committed from shop: Develoment-theme
- Added Metroflex fonts to the assets and declared them in base.css so they can be used dynamically.

- Overrode the italic tags in the announcement bar section to render as a border underline instead of italics, bypassing the visual editor's lack of an underline button.
feat: Add Metroflex fonts & announcement bar underline
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant