Skip to content

handle @import #10

@fuzetsu

Description

@fuzetsu

Currently zaftig doesn't support @import statements, would it make sense to do so? They only work if they're declared as the first rules in the stylesheet.

So would they only work in z.global? I feel like it probably doesn't make sense to implement, since links work fine, and there's less uncertainty about how they can be included..
Including an external stylesheet kind of goes against CSS in JS anyway...

https://developer.mozilla.org/en-US/docs/Web/CSS/@import

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions