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

@urbaninfrastructure/design-tokens

Package Overview
Dependencies
Maintainers
13
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@urbaninfrastructure/design-tokens - npm Package Compare versions

Comparing version 1.0.1-alpha.24 to 1.0.1-alpha.25

263

dist/color.js

@@ -1,124 +0,157 @@

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _polished = require("polished");
// $FlowFixMe polished
var neutral = {
white: "#ffffff",
dark01: "#0B163F",
gray01: "#F5F8F9",
gray02: "#E3E6EB",
gray03: "#D2D4DD",
gray04: "#C1C2CF",
gray05: "#72718E"
};
var accent = {
aubergine: "#75647B",
green: "#6E9D88",
purple: "#556889",
blue: "#4B7A8A"
};
var theme = {
red01: {
name: "Reinrot",
ral: "3028",
hex: "#E42C00"
// @flow
// AUTO GENERATED Wed Dec 12 2018 12:02:19 GMT+0100 (CET)
module.exports = {
"theme": {
"red01": {
"name": "Reinrot",
"ral": "3028",
"hex": "#E42C00"
},
"orange01": {
"name": "Verkehrsorange",
"ral": "2009",
"hex": "#D93E01"
},
"green01": {
"name": "Gelbgrün",
"ral": "6018",
"hex": "#4C9107"
},
"green02": {
"name": "Reingrün",
"ral": "6037",
"hex": "#008A34"
},
"green03": {
"name": "Wasserblau",
"ral": "5021",
"hex": "#018580"
},
"blue01": {
"name": "Himmelblau",
"ral": "5015",
"hex": "#0074E6"
},
"blue02": {
"name": "Verkehrsblau",
"ral": "5017",
"hex": "#005FC9"
},
"purple01": {
"name": "Ultramarine blau",
"ral": "5002",
"hex": "#3A05B7"
},
"purple02": {
"name": "Signalviolett",
"ral": "4008",
"hex": "#BA1ABD"
},
"pink01": {
"name": "Telemagenta",
"ral": "4010",
"hex": "#CA007D"
},
"red02": {
"name": "Himberrod",
"ral": "3027",
"hex": "#E02344"
},
"edinburghCityBike": {
"name": "Just Eat Cycles",
"ral": "???",
"hex": "#EB0027"
}
},
orange01: {
name: "Verkehrsorange",
ral: "2009",
hex: "#D93E01"
"themeDark": {
"red01": "#b12200",
"orange01": "#a72f00",
"green01": "#336104",
"green02": "#005721",
"green03": "#01524f",
"blue01": "#005ab3",
"blue02": "#004796",
"purple01": "#2a0386",
"purple02": "#8f1391",
"pink01": "#97005d",
"red02": "#b71934",
"edinburghCityBike": "#b8001f"
},
green01: {
name: "Gelbgrün",
ral: "6018",
hex: "#4C9107"
"neutral": {
"white": "#ffffff",
"dark01": "#0B163F",
"gray01": "#F5F8F9",
"gray02": "#E3E6EB",
"gray03": "#D2D4DD",
"gray04": "#C1C2CF",
"gray05": "#72718E"
},
green02: {
name: "Reingrün",
ral: "6037",
hex: "#008A34"
"paletteTheme": {
"red01": "#E42C00",
"orange01": "#D93E01",
"green01": "#4C9107",
"green02": "#008A34",
"green03": "#018580",
"blue01": "#0074E6",
"blue02": "#005FC9",
"purple01": "#3A05B7",
"purple02": "#BA1ABD",
"pink01": "#CA007D",
"red02": "#E02344",
"edinburghCityBike": "#EB0027"
},
green03: {
name: "Wasserblau",
ral: "5021",
hex: "#018580"
"paletteDark": {
"red01": "#7e1800",
"orange01": "#732101",
"green01": "#193002",
"green02": "#00240e",
"green03": "#00201f",
"blue01": "#004180",
"blue02": "#002f63",
"purple01": "#1b0254",
"purple02": "#620e63",
"pink01": "#64003e",
"red02": "#8a1328",
"edinburghCityBike": "#850016"
},
blue01: {
name: "Himmelblau",
ral: "5015",
hex: "#0074E6"
"palette": {
"red01": "#f6bfb2",
"orange01": "#f3c5b2",
"green01": "#c9deb4",
"green02": "#b2dbc2",
"green03": "#b2dad8",
"blue01": "#b2d5f7",
"blue02": "#b2cfee",
"purple01": "#c3b4e9",
"purple02": "#eabaeb",
"pink01": "#efb2d8",
"red02": "#f5bdc6",
"edinburghCityBike": "#f9b2be"
},
blue02: {
name: "Verkehrsblau",
ral: "5017",
hex: "#005FC9"
"paletteLight": {
"red01": "#ff5f39",
"orange01": "#fe6c33",
"green01": "#81d132",
"green02": "#2dcc68",
"green03": "#2ec8c3",
"blue01": "#3a9dff",
"blue02": "#318ef4",
"purple01": "#6a34e8",
"purple02": "#e744ea",
"pink01": "#f431ab",
"red02": "#ff4f6e",
"edinburghCityBike": "#ff3e5e"
},
purple01: {
name: "Ultramarine blau",
ral: "5002",
hex: "#3A05B7"
"accent": {
"aubergine": "#75647B",
"green": "#6E9D88",
"purple": "#556889",
"blue": "#4B7A8A"
},
purple02: {
name: "Signalviolett",
ral: "4008",
hex: "#BA1ABD"
},
pink01: {
name: "Telemagenta",
ral: "4010",
hex: "#CA007D"
},
red02: {
name: "Himberrod",
ral: "3027",
hex: "#E02344"
},
edinburghCityBike: {
name: "Just Eat Cycles",
ral: "???",
hex: "#EB0027"
"state": {
"error": "#ff5f39",
"info": "#3a9dff",
"warning": "#fe6c33",
"success": "#81d132"
}
};
var paletteTheme = Object.keys(theme).reduce(function (accum, key) {
var hex = theme[key].hex;
accum[key] = hex;
return accum;
}, {});
var paletteDark = Object.keys(theme).reduce(function (accum, key) {
var hex = theme[key].hex;
accum[key] = (0, _polished.darken)(0.2, hex);
return accum;
}, {});
var palette = Object.keys(theme).reduce(function (accum, key) {
var hex = theme[key].hex;
accum[key] = (0, _polished.tint)(0.7, hex);
return accum;
}, {});
var paletteLight = Object.keys(theme).reduce(function (accum, key) {
var hex = theme[key].hex;
accum[key] = (0, _polished.saturate)(0.25, (0, _polished.tint)(0.3, hex));
return accum;
}, {});
var state = {
error: paletteLight.red01,
info: paletteLight.blue01,
warning: paletteLight.orange01,
success: paletteLight.green01
};
var _default = {
theme: theme,
neutral: neutral,
paletteTheme: paletteTheme,
paletteDark: paletteDark,
palette: palette,
paletteLight: paletteLight,
accent: accent,
state: state
};
exports.default = _default;
}

@@ -64,2 +64,16 @@ {

},
"themeDark": {
"red01": "#b12200",
"orange01": "#a72f00",
"green01": "#336104",
"green02": "#005721",
"green03": "#01524f",
"blue01": "#005ab3",
"blue02": "#004796",
"purple01": "#2a0386",
"purple02": "#8f1391",
"pink01": "#97005d",
"red02": "#b71934",
"edinburghCityBike": "#b8001f"
},
"neutral": {

@@ -66,0 +80,0 @@ "white": "#ffffff",

@@ -1,18 +0,4 @@

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _color = _interopRequireDefault(require("./color"));
var _base = _interopRequireDefault(require("./base"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var _default = {
color: _color.default,
base: _base.default
};
exports.default = _default;
// @flow
// AUTO GENERATED Wed Dec 12 2018 12:02:19 GMT+0100 (CET)
const color = require("./color");
module.exports = { color };
{
"name": "@urbaninfrastructure/design-tokens",
"version": "1.0.1-alpha.24",
"version": "1.0.1-alpha.25",
"main": "dist/index.js",

@@ -10,8 +10,7 @@ "files": [

"scripts": {
"clean": "rm -rf dist",
"prepublishOnly": "yarn build",
"build": "yarn build:babel && yarn build:json && yarn build:flow",
"build:babel": "babel src -d dist --ignore story.js",
"build:json": "node scripts/build.js",
"build:flow": "flow-copy-source -v -i '**/__stories__/*' -i '**/*.test.js' src dist",
"dev": "yarn build:babel -w"
"prebuild": "yarn clean",
"build": "node scripts/build.js",
"dev": "watch 'yarn build' src"
},

@@ -21,17 +20,9 @@ "author": "Jon Espen Kvisler",

"devDependencies": {
"@babel/cli": "^7.1.2",
"@babel/core": "^7.1.2",
"@babel/preset-env": "^7.0.0",
"@babel/preset-flow": "^7.0.0",
"babel-core": "^7.0.0-bridge.0",
"flow-bin": "0.87.0",
"flow-copy-source": "^1.3.0",
"mkdirp": "^0.5.1",
"polished": "^2.3.0",
"prettier": "^1.14.2"
"prettier": "^1.14.2",
"watch": "^1.0.2"
},
"peerDependencies": {
"polished": "^2.3.0"
},
"gitHead": "ab7b6e5832f6873885c698d583741a44120fadca"
"gitHead": "13c7a26d8577e5f6fccbfca525f96d07e265ed4d"
}
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