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

@stylable/custom-value

Package Overview
Dependencies
Maintainers
6
Versions
180
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stylable/custom-value - npm Package Compare versions

Comparing version 3.5.0 to 3.5.2

2

cjs/index.js

@@ -11,5 +11,5 @@ "use strict";

for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
}
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./st-border"), exports);
//# sourceMappingURL=index.js.map
{
"name": "@stylable/custom-value",
"version": "3.5.0",
"version": "3.5.2",
"description": "Custom values (variables) for Stylable",

@@ -14,3 +14,3 @@ "main": "./cjs/index.js",

"dependencies": {
"@stylable/core": "^3.5.0"
"@stylable/core": "^3.5.2"
},

@@ -17,0 +17,0 @@ "files": [

@@ -12,15 +12,14 @@ # @stylable/custom-value

:import {
-st-from: "@stylable/custom-value";
-st-named: stBorder;
-st-from: '@stylable/custom-value';
-st-named: stBorder;
}
:vars {
myBorder: stBorder(1px, solid, green);
myBorder: stBorder(1px, solid, green);
}
.root {
border: value(stBorder); /* returns: 1px solid green */
background-color: value(stBorder, color); /* returns: green */
border: value(stBorder); /* returns: 1px solid green */
background-color: value(stBorder, color); /* returns: green */
}
```
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