Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Font feature values + CSS variables #2

Open
JayPanoz opened this issue May 11, 2017 · 0 comments
Open

Font feature values + CSS variables #2

JayPanoz opened this issue May 11, 2017 · 0 comments

Comments

@JayPanoz
Copy link
Owner

We currently have this in the CSS (line 1005).

@font-feature-values var(--font-family) {
  @stylistic {
    salt: var(--salt);
  }
  @styleset {
    styleset: var(--styleset);
  }
  @swash {
    swsh: var(--swsh);
  }
  @ornaments {
    ornm: var(--ornm);
  }
  @annotation {
    nalt: var(--nalt);
  }
}

font-feature-values exist because alternates are font-specific.

Truth is I’m completely clueless about the combo with CSS variables and whether it should work in the future or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant