Skip to content

@global is broken #18

@alekangelov

Description

@alekangelov

Hello,

the @global rule seems to be broken

it's wrapping the styles in an "@global {...}"

function App() {
    css`
        @global { body { background: white } }
    `
    return <main />
}

should compile to

body { background: white }

but instead it compiles to

@global { body { background: white } }

downgrading to 0.8.2 fixed the issue. maybe due to moving away from postcss?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions