Skip to content

Issue with css variables for border-color #167

Closed
@sguduguntla

Description

@sguduguntla

When I try, color or background-color with CSS variables, it works fine, but when I do the following:

{
    border-color: --var(--color-primary)
}

It errors. Can this be fixed to allow border-colors with css variables as well? It just says "Error translating CSS" on https://csstox.surge.sh/

Metadata

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