Skip to content

[bug] css variables #187

@amcdnl

Description

@amcdnl

If you use CSS variables to define the font like:

body {
  font-family: var(--font-family);
}

then later you define something like:

    '--font-family': `"Electrolux Sans", system-ui, -apple-system,BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans,sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol,Noto Color Emoji`,

the sizes won't be correct. If you hardcode the font family on the body it does work though.

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