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

arc-theme

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arc-theme - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

9

dist/index.js

@@ -6,3 +6,3 @@ 'use strict';

});
exports.reverseColor = exports.color = exports.font = exports.reverse = exports.getColor = exports.get = exports.ifProps = undefined;
exports.reverseColor = exports.color = exports.font = exports.key = exports.reverse = exports.getColor = exports.get = exports.ifProps = undefined;

@@ -88,2 +88,9 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };

var key = exports.key = function key(path) {
return function () {
var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
return get(path, props.theme);
};
};
var font = exports.font = function font(path) {

@@ -90,0 +97,0 @@ return function () {

2

package.json
{
"name": "arc-theme",
"version": "0.2.2",
"version": "0.2.3",
"description": "ARc theming utilities and resources",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -121,2 +121,8 @@ # arc-theme

### key(path: String)(props: Object)
Returns the key in `props.theme[path]` or `theme[path]`.
This is the same as `get(path, props.theme)`.
### font(path: String)(props: Object)

@@ -123,0 +129,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