Skip to content

Make combineStyleStreams accept streams of arbitrary CSS #250

Open
@appsforartists

Description

@appsforartists

StyleStreams is currently a whitelist of values that combineStyleStreams can transform into CSS rules. Thus, even though combineStyleStreams will pass through streams of standard CSS rules, TypeScript will reject them:

pointerEvents$ does not exist in type "Partial<StyleStreams>"

Fixing this probably involves falling back to csstype, and either removing the $ suffices from stream arguments, or writing a script that generates rule$: Observable<typeof rule> for every rule in csstype.

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