Skip to content

Inheritance could affect CSS specificity #3352

Open
@rodrigogiraoserrao

Description

@rodrigogiraoserrao

@tusharsadhwani raised an interesting point during a tutorial I was giving:

“Shouldn't” the inheritance chain have an effect on TCSS rule specificity?
E.g., isn't Label {...} a more specific rule than Widget {...}?

Currently, they're at the exact same level of specificity and if there's overlap, the rule that was defined later wins.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions