Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Tone should work with css-variables #8167

Closed
@worthy7

Description

https://github.com/material-components/material-components-web/blame/8656bf0e032270f97d8673d33aaab4760befb5bc/packages/mdc-theme/_theme-color.scss#L66

Is this really neccessary? Why can it not work with css variables too? What happens if var(--my-primary-color) is passed in instead?

Can this code detect if it is a var and just resolve it and continue?

Metadata

Assignees

No one assigned

    Labels

    Unresolved (Archived)Open and unresolved issues and PRs that were closed due to archiving the repository.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions