New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

circuitsim-theme

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

circuitsim-theme - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

26

dist/theme.js

@@ -14,6 +14,2 @@ 'use strict';

var _themeJson = require('./theme.json');
var _themeJson2 = _interopRequireDefault(_themeJson);
var trans = function trans(color) {

@@ -27,8 +23,21 @@ var by = arguments.length <= 1 || arguments[1] === undefined ? 0.5 : arguments[1];

exports.trans = trans;
_themeJson2['default'].current = trans('#7DF9FF', 0.3); // electric blue
_themeJson2['default'].transBase = trans(_themeJson2['default'].base);
var BASE_COLOR = '#bbb';
exports['default'] = _themeJson2['default'];
var colors = {
background: '#333',
base: BASE_COLOR,
transBase: trans(BASE_COLOR),
highlight: 'white',
theme: '#8800ff',
transparent: 'rgba(0,0,0,0)',
current: trans('#7DF9FF', 0.3) };
exports.colors = colors;
// electric blue
var typography = {
'fontFamily': '\'Helvetica Neue\', Helvetica, Arial, sans-serif',
'lineHeight': '1.5em',
'fontSize': '12px'
};
/**

@@ -39,2 +48,3 @@ * Split a string, e.g. '12px' into its value and units:

*/
exports.typography = typography;

@@ -41,0 +51,0 @@ function valAndUnits(s) {

{
"name": "circuitsim-theme",
"version": "0.0.5",
"version": "0.0.6",
"dependencies": {

@@ -5,0 +5,0 @@ "color": {

{
"name": "circuitsim-theme",
"version": "0.0.5",
"description": "Color scheme for CircuitSim",
"version": "0.0.6",
"description": "Style theme for CircuitSim",
"main": "dist/theme.js",
"scripts": {
"babel": "babel src --out-dir dist --ignore \"__tests__\"",
"scss": "json-sass -i src/theme.json -o dist/_theme.scss -p \"\\$theme: \"",
"build": "rimraf dist && npm run babel && npm run scss && cp src/theme.json dist/theme.json",
"build": "rimraf dist && npm run babel",
"lint": "eslint src/",

@@ -37,3 +36,2 @@ "mocha": "mocha src/**/*__tests__/* -R spec --require test-setup",

"eslint": "^1.0.0",
"json-sass": "^1.3.5",
"mocha": "^2.2.5",

@@ -40,0 +38,0 @@ "rimraf": "^2.3.4"

@@ -6,2 +6,2 @@ # theme

Style theme for CircuitSim in `js`, `json`, and `scss` formats.
Style theme for CircuitSim.
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