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

cf-style-const

Package Overview
Dependencies
Maintainers
17
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cf-style-const - npm Package Compare versions

Comparing version 2.4.1 to 2.5.0

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

<a name="2.5.0"></a>
# [2.5.0](https://github.com/cloudflare/cf-ui/compare/cf-style-const@2.4.1...cf-style-const@2.5.0) (2017-08-30)
### Features
* **cf-component-toast:** Initial commit of basic toast ([2f8272e](https://github.com/cloudflare/cf-ui/commit/2f8272e))
<a name="2.4.1"></a>

@@ -8,0 +19,0 @@ ## [2.4.1](https://github.com/cloudflare/cf-ui/compare/cf-style-const@2.4.0...cf-style-const@2.4.1) (2017-08-30)

8

es/variables.js

@@ -0,1 +1,5 @@

var _color;
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
import { lighten, darken } from 'polished';

@@ -26,3 +30,3 @@

},
color: {
color: (_color = {
//Style guide colors

@@ -54,3 +58,3 @@ grass: '#9BCA3E',

lightning: '#FFDB6F'
},
}, _defineProperty(_color, 'night', '#404041'), _defineProperty(_color, 'dusk', '#4D4D4F'), _defineProperty(_color, 'storm', '#808285'), _defineProperty(_color, 'hail', '#BCBEC0'), _defineProperty(_color, 'moonshine', '#F7F7F7'), _defineProperty(_color, 'cement', '#7D7D7D'), _defineProperty(_color, 'grass', '#9BCA3E'), _defineProperty(_color, 'grass50', '#cde49e'), _defineProperty(_color, 'grass10', '#f5faeb'), _defineProperty(_color, 'marine', '#2F7BBF'), _defineProperty(_color, 'marine50', '#97bddf'), _defineProperty(_color, 'marine10', '#eaf2f8'), _defineProperty(_color, 'tangerine', '#FF7900'), _defineProperty(_color, 'apple', '#BD2527'), _defineProperty(_color, 'apple50', '#de9293'), _defineProperty(_color, 'apple10', '#f8e9e9'), _defineProperty(_color, 'cherry', '#9F1F21'), _defineProperty(_color, 'charcoal', '#333333'), _defineProperty(_color, 'carrot', '#f56500'), _defineProperty(_color, 'smoke', '#e0e0e0'), _defineProperty(_color, 'dust', '#ebebeb'), _color),
fontSize: '15px',

@@ -57,0 +61,0 @@ boxShadow: '0 0 20px 0 rgba(136,136,136,0.50)',

@@ -7,4 +7,8 @@ 'use strict';

var _color;
var _polished = require('polished');
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
var colorOffsetLight = 0.15;

@@ -33,3 +37,3 @@ var colorOffsetDark = 0.07;

},
color: {
color: (_color = {
//Style guide colors

@@ -61,3 +65,3 @@ grass: '#9BCA3E',

lightning: '#FFDB6F'
},
}, _defineProperty(_color, 'night', '#404041'), _defineProperty(_color, 'dusk', '#4D4D4F'), _defineProperty(_color, 'storm', '#808285'), _defineProperty(_color, 'hail', '#BCBEC0'), _defineProperty(_color, 'moonshine', '#F7F7F7'), _defineProperty(_color, 'cement', '#7D7D7D'), _defineProperty(_color, 'grass', '#9BCA3E'), _defineProperty(_color, 'grass50', '#cde49e'), _defineProperty(_color, 'grass10', '#f5faeb'), _defineProperty(_color, 'marine', '#2F7BBF'), _defineProperty(_color, 'marine50', '#97bddf'), _defineProperty(_color, 'marine10', '#eaf2f8'), _defineProperty(_color, 'tangerine', '#FF7900'), _defineProperty(_color, 'apple', '#BD2527'), _defineProperty(_color, 'apple50', '#de9293'), _defineProperty(_color, 'apple10', '#f8e9e9'), _defineProperty(_color, 'cherry', '#9F1F21'), _defineProperty(_color, 'charcoal', '#333333'), _defineProperty(_color, 'carrot', '#f56500'), _defineProperty(_color, 'smoke', '#e0e0e0'), _defineProperty(_color, 'dust', '#ebebeb'), _color),
fontSize: '15px',

@@ -64,0 +68,0 @@ boxShadow: '0 0 20px 0 rgba(136,136,136,0.50)',

{
"name": "cf-style-const",
"description": "Cloudflare Style Constants",
"version": "2.4.1",
"version": "2.5.0",
"main": "lib/index.js",

@@ -6,0 +6,0 @@ "module": "es/index.js",

@@ -52,3 +52,25 @@ import { lighten, darken } from 'polished';

sunrise: '#F69259',
lightning: '#FFDB6F'
lightning: '#FFDB6F',
night: '#404041',
dusk: '#4D4D4F',
storm: '#808285',
hail: '#BCBEC0',
moonshine: '#F7F7F7',
//current colors
cement: '#7D7D7D',
grass: '#9BCA3E',
grass50: '#cde49e',
grass10: '#f5faeb',
marine: '#2F7BBF',
marine50: '#97bddf',
marine10: '#eaf2f8',
tangerine: '#FF7900',
apple: '#BD2527',
apple50: '#de9293',
apple10: '#f8e9e9',
cherry: '#9F1F21',
charcoal: '#333333',
carrot: '#f56500',
smoke: '#e0e0e0',
dust: '#ebebeb'
},

@@ -55,0 +77,0 @@ fontSize: '15px',

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