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

$rfs-base-value with rem breaks #456

Closed
fogx opened this issue Apr 16, 2023 · 0 comments
Closed

$rfs-base-value with rem breaks #456

fogx opened this issue Apr 16, 2023 · 0 comments

Comments

@fogx
Copy link

fogx commented Apr 16, 2023

Setting the $rfs-base-value in SCSS to $rfs-base-value: 1.25rem; as described in the configuration tutorial breaks the configuration, resulting in generated snippets like this:

  @include font-size(3rem);
  @include rfs(4rem, line-height);

->

font-size: calc(0.3703125remrem + 3.50625remvw);
line-height: calc(0.4703125remrem + 4.70625remvw);

i assume the example should be $rfs-base-value: 1.25; without the unit?

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