Skip to content

Crazy idea: Support class composition #96

@jikkujose

Description

@jikkujose

Not sure whether this is possible, but think it would have been great if cxs supported composing of classes. Something like this:

const className = cxs.compose('pa4 code white bg-blue mb2 ba b--black-10')

So that a new class name that will compose all these styles will be created.

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