Socket
Socket
Sign inDemoInstall

@littlemissrobot/sass-mixins

Package Overview
Dependencies
17
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.2 to 2.0.3

2

package.json
{
"name": "@littlemissrobot/sass-mixins",
"version": "2.0.2",
"version": "2.0.3",
"description": "Little Miss Robot sass mixins library that helps execute reusable and complex tasks.",

@@ -5,0 +5,0 @@ "main": "index.scss",

@@ -45,3 +45,3 @@ # Little Miss Robot - Sass mixins

```scss
@include _mixins.load-font(...);
@include _mixins.responsive-props(...);
```

@@ -51,26 +51,2 @@

### load-font($name, $url, $font-weight, $font-style, $font-display)
Load font files with the extensions **.woff** and **.woff2**. Every version of
the font should have the same name.
Parameters:
- **$name**: The name the font should have
- **$url**: The location of the font-files
- **$font-weight** (optional): The weight the font has
- **$font-style** (optional): The style the font has
- **$font-display** (optional): The way the font should be displayed when loaded
```scss
@use "@littlemissrobot/sass-mixins" as _mixins;
@include _mixins.load-font(
"Open Sans",
"./assets/fonts/open-sans",
"300",
normal,
swap
);
```
### responsive-props($props, $responsive, $min, $max)

@@ -77,0 +53,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc