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

react-interface

Package Overview
Dependencies
Maintainers
1
Versions
135
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-interface - npm Package Compare versions

Comparing version 0.8.27 to 0.8.28

5

es/Theme.js

@@ -24,2 +24,3 @@ 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; };

// Look into https://yeun.github.io/open-color/ as a base theme
var Theme = function Theme(_ref) {

@@ -33,4 +34,4 @@ var _ref$theme = _ref.theme,

if (color) {
var primaryPalette = getColorShades(color, 'primary');
if (primary) {
var primaryPalette = getColorShades(primary, 'primary');
// Merge theme and primary color palette

@@ -37,0 +38,0 @@ theme = merge(theme, {

2

es/themes/base/index.js

@@ -9,3 +9,3 @@ 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; };

import palx from 'palx';
import palx from '../utils/palx';
import { getPaletteShades, colorListToMap } from '../utils/colors';

@@ -12,0 +12,0 @@ import defaultColors from "./colors";

@@ -45,2 +45,3 @@ 'use strict';

// Look into https://yeun.github.io/open-color/ as a base theme
var Theme = function Theme(_ref) {

@@ -54,4 +55,4 @@ var _ref$theme = _ref.theme,

if (color) {
var primaryPalette = (0, _colors.getColorShades)(color, 'primary');
if (primary) {
var primaryPalette = (0, _colors.getColorShades)(primary, 'primary');
// Merge theme and primary color palette

@@ -58,0 +59,0 @@ theme = (0, _deepmerge2.default)(theme, {

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

var _palx = require('palx');
var _palx = require('../utils/palx');

@@ -15,0 +15,0 @@ var _palx2 = _interopRequireDefault(_palx);

{
"name": "react-interface",
"version": "0.8.27",
"version": "0.8.28",
"description": "react-interface React component",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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