✩ Automates responsive resizing ✩
Full Changelog: https://github.com/twbs/rfs/compare/v9.0.6...v10.0.0
divide()
function to prevent Sass deprecation warningsdivide()
function to prevent Sass deprecation warnings (#398)See https://github.com/twbs/rfs/issues/110
Released as alpha version since browser support ain't that great at this moment. Branch is not merged in main yet, docs are available here: https://github.com/twbs/rfs/tree/min-function
https://github.com/twbs/rfs/commit/d073bc94689a46031a38840d099b9dde2f072c15#diff-ab9ae3f4626ffc1851a825ba738ae7ba broke Dart Sass compatibility. The bug is patched & a test is written to prevent issues in the future.
Thanks @seth100 for reporting this issue in https://github.com/twbs/rfs/issues/176.
.sass
and .js
files.!important
rules: @include rfs(1rem !important)
instead of @include rfs(1rem, true)
max-width
media queries if neededpx
-values should always have a unit now. In v8
, RFS assumed every unitless value was set in px
(eg. @include rfs(32)
), but since we can now pass numbers too (eg. @include rfs(1 1 30rem, flex)
, this behaviour is changed.responsive-font-size
property changed to rfs()
function (see https://github.com/twbs/rfs/issues/116)responsive-font-size
mixins/test/expected/main.css
postcss-value-parser
dependency added to parse values in PostCSS plugin.// $enable-rfs: false;
to see the difference)