New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

rfs

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rfs - npm Package Compare versions

Comparing version 5.0.0 to 5.0.1

2

package.json
{
"name": "rfs",
"version": "5.0.0",
"version": "5.0.1",
"description": "A scss-mixin for responsive font-sizes.",

@@ -5,0 +5,0 @@ "main": "scss/_rfs.scss",

# RFS [![npm][npm-image]][npm-url]
[npm-image]: https://img.shields.io/npm/v/rfs.svg
[npm-url]: https://npmjs.org/package/rfs
RFS stands for Responsive Font-Size and is an easy to use **SCSS-mixin** which **automatically calculates the
appropriate font-size** based on the dimensions of the monitor or device.
RFS stands for Responsive Font Size and is an easy to use **SCSS-mixin** which **automatically calculates the
appropriate font size** based on the dimensions of the monitor or device.

@@ -11,4 +11,4 @@

mobile devices.
- The minimum font size will prevent the font-size from becoming too small so readability can be assured.
- **Super easy** to use, no need to define complex configurations for each font-size.
- The minimum font size will prevent the font size from becoming too small so readability can be assured.
- **Super easy** to use, no need to define complex configurations for each font size.
- Font sizes of all text elements will always remain in relation with each other.

@@ -67,3 +67,3 @@

In this case a value without unit was passed to the mixin (`62`), which is interpreted as `62px`. It's also possible to
pass font-sizes in rem-units. Since v5.0.0 `font-size()` is added as an alias for `rfs()`.
pass font sizes in rem-units. Since v5.0.0 `font-size()` is added as an alias for `rfs()`.

@@ -109,3 +109,3 @@

## Best practices
- Remember to set RFS on your font-size of your `html` or `body`, otherwise some text may not dynamically rescale. Note
- Remember to set RFS on your font size of your `html` or `body`, otherwise some text may not dynamically rescale. Note
that setting RFS on `html` will influence the value of `rem`.

@@ -112,0 +112,0 @@ - Always set your line-heights relative (in `em` or unitless).

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc