Skip to content

Extend with strictly defined list of fields #3361

Closed
@ThePlenkov

Description

@ThePlenkov

Hi

In our company we have a third-party system which has less theme and we cannot manipulate DOM ( assigning new classes )

From the other side we have own component library which provides CSS styles.

In most of cases extend helps to redefine standard classes with new custom attributes from the own theme.

But in some cases we cannot inherit all components. Instead we would like to have same class but with redefined background and color but having native padding’s and margins.

Do you have any thoughts how can we achieve that?

Something like

.stdButton { &:extend(.cusButton {color,background}) }

Sent with GitHawk

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