Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@epegzz/sass-vars-loader

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@epegzz/sass-vars-loader - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

2

package.json
{
"name": "@epegzz/sass-vars-loader",
"version": "2.2.0",
"version": "2.2.1",
"author": "Daniel Schäfer <epegzz@gmail.com>",

@@ -5,0 +5,0 @@ "description": "A SASS vars loader for Webpack. Load global SASS vars from JS/JSON files or from Webpack config.",

@@ -148,3 +148,3 @@ <h1 align="center">Sass Vars Loader</h1>

module.exports = {
blueFromJS: 'blue'
blueFromJavascript: 'blue'
};

@@ -199,3 +199,3 @@ ```

### Pro Tipp: Nested Vars!
### Pro Tip: Nested Vars!

@@ -210,3 +210,8 @@ Use [map_get](http://sass-lang.com/documentation/Sass/Script/Functions.html#map_get-instance_method)

lightTheme: {
background: 'white'
background: 'white',
color: 'black'
},
darkTheme: {
background: 'black',
color: 'gray'
}

@@ -219,4 +224,7 @@ };

$theme: $lightTheme;
.some-class {
background: map_get($lightTheme, background);
background: map_get($theme, background);
color: map_get($theme, color);
}

@@ -223,0 +231,0 @@ ```

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