Skip to content

core.style inheritance #1911

Open
Open
@xcb-xwii

Description

Extending what was previously mentioned in #1000, the inheritance of style variables can perhaps be extended to all other values in the table.

Suggested approach from #1520 would be through a metatable function to lookup fallbacks on-the-fly when something is missing.

Also perhaps there should be a mechanism to override default fallback logic, since it may not always make sense for a.b to inherit from a, and also allow for stuff like b inheriting from a, without being a sub-entry.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions