6.3.0 pro beta - bug or unexpected behaviour in global parameters

Just wondering about global parameters and the ability to set these global parameters as responsive / variable. Is that being correctly implemented? From the looks of it, it might not be. Here’s my situation:

I set up a layout-gap-var parameter and set isVar to true, and then set the base value to 4em and the small and below value to 2em.

Then on a Row or Grid element, I want to use this layout-gap-var as the Gap Width and Gap Height, without using the responsive settings here.

However, this parameter is not being output correctly into the code. The grid-gap property is being set as var(--global-0) var(--global-0) and --global-0 is not set.

This occurs for the Row element as well, though due to the way the width of columns is calculated, it actually results in every column calculating to be 100% flex-basis.

This also happens if the global parameter is set to have the same value across all breakpoints.

Is it intended for responsive parameters to not work from Global Parameters? Or is this a bug? I would imagine having them work with responsive values would be very beneficial for advanced theme creation.

Tangentially, I noticed that in the Globals tab, the keyboard shortcut for breakout mode doesn’t work, however if you set breakout mode when editing an element, it will be reflected in the Globals tab as well.

I see the issue with the global parameters not outputting. Bit of a rabbit trail, but we’ll get this figured out. Really hoping that will translate to getting the other theme options to be able to use breakpoints. Thanks for testing.

The breakout mode bug is known to me. We’ll get that keybinding working everywhere in the next beta.

1 Like

Fantastic!

This is all really great stuff. Can’t wait to start some new projects from the blank and starter stacks once it’s out in the wild!

1 Like

Thanks for the kind words. I’ll keep you updated on this one.

I wanted to inform you that I have also encountered this issue, and it would be fantastic if the theme options included the ability to adjust font sizes for each breakpoint. Looking out for an update, keep up the good work!

1 Like

I don’t plan on releasing before this one is done. Made some progress so we’ll probably be seeing it within a week or two. After that there’s some cleanup in the new stacks, drag and drop finishing touches, and other misc stuff before the RC.