Skip to content

Feature request: position & css var's for fill color #4

@SunboX

Description

@SunboX

It would be great, if we could do something like this:

QRCode({
    msg: 'xxxxxxxxxxxxx',
    dim: 120,
    pal: ['var(--primary-color)', 'var(--secondary-color)'],
    x: 123,
    y: 45
})

that will result in:

<svg x="123" y="45" viewBox="0 0 37 37" width="120" height="120" fill="var(--primary-color)" ...

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