@khanacademy/wonder-blocks-color
Advanced tools
Comparing version 0.0.7 to 1.0.0
42
index.js
// @flow | ||
import {mix, fade} from "./utils.js"; | ||
const offBlack = "#21242c"; | ||
const white = "#ffffff"; | ||
const Color = { | ||
// Product | ||
blue: "#1865F2", | ||
green: "#30BF3C", | ||
gold: "#FFB100", | ||
red: "#D92916", | ||
blue: "#1865f2", | ||
purple: "#9059ff", | ||
green: "#00a60e", | ||
gold: "#ffb100", | ||
red: "#d92916", | ||
// Neutral | ||
offBlack: "#21242C", | ||
offWhite: "#F7F8FA", | ||
white: "#FFFFFF", | ||
offBlack, | ||
offBlack64: fade(offBlack, 0.64), | ||
offBlack50: fade(offBlack, 0.5), | ||
offBlack32: fade(offBlack, 0.32), | ||
offBlack16: fade(offBlack, 0.16), | ||
offBlack8: fade(offBlack, 0.08), | ||
offWhite: "#f7f8fa", | ||
white, | ||
white64: fade(white, 0.64), | ||
// Brand | ||
darkBlue: "#044760", | ||
lightBlue: "#37C5FD", | ||
pink: "#FA50AE", | ||
salmon: "#FD6C6E", | ||
darkBlue: "#0a2a66", | ||
teal: "#00e5ae", | ||
lightBlue: "#37c5fd", | ||
pink: "#fa50ae", | ||
}; | ||
export {Color as default}; | ||
const SemanticColor = { | ||
controlDefault: Color.blue, | ||
controlDestructive: Color.red, | ||
}; | ||
export {Color as default, SemanticColor, mix, fade}; |
{ | ||
"name": "@khanacademy/wonder-blocks-color", | ||
"version": "0.0.7", | ||
"version": "1.0.0", | ||
"design": "v2", | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"description": "", | ||
"main": "index.js", | ||
"main": "dist/index.js", | ||
"source": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"author": { | ||
"name": "Khan Academy", | ||
"email": "opensource+npm@khanacademy.com" | ||
"devDependencies": { | ||
"@khanacademy/wonder-blocks-core": "^1.0.0", | ||
"@khanacademy/wonder-blocks-typography": "^1.0.0" | ||
}, | ||
"author": "", | ||
"license": "MIT" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
111338
9
621
2
2
2
1