Skip to content

theme.json layout contentSize and wideSize to breakpoints #255

@moxyinc

Description

@moxyinc

Tailwind 4 is amazing. Thank you! One issue I've found:

contentSize and wideSize settings from theme.json do not seem to be populating the values into --breakpoint-lg: var(--wp--style--global--content-size); and --breakpoint-xl: var(--wp--style--global--wide-size); in theme.css.

If I over ride them, everything works, i.e.:
/* --breakpoint-lg: var(--wp--style--global--content-size); */ --breakpoint-lg: 960px; /* --breakpoint-xl: var(--wp--style--global--wide-size); */ --breakpoint-xl: 1280px;

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions