Skip to content

Layout breakpoints cannot be moved by a consuming product #2

Open

Description

@SirLouen

Current state: RAIL_BREAKPOINT and DENSE_BREAKPOINT are module constants in a published brick, so a product with a wider rail cannot move the point where the navigation folds. DENSE_BREAKPOINT is exported but used nowhere inside the package, while base.css spells 639px by hand, so the two copies can drift with nothing pinning them together.

Proposal: expose them as custom properties or build options and pin the stylesheet to the same source.

Trigger: a product moves the fold point without forking, and one value drives both.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions