Skip to content

Use :host instead of :root to declare theme color variables #2167

@1mehal

Description

@1mehal

Current Behavior

I'm using Skeleton to build a Chrome Extension (so using skeleton in shadow-dom), and colors are not working, because :root css value refers to a document, I would suggest switching to use :host variable, if it wouldn't break anything

Expected Behavior

When using Skeleton in shadow-dom container - colors should work

Steps To Reproduce

No response

Link to Reproduction / Stackblitz

No response

More Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    proposalsFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions