@palett/presets
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -13,6 +13,12 @@ 'use strict'; | ||
const ATLAS = { | ||
max: cards.Palett.cyan.lighten_3, | ||
min: cards.Palett.orange.lighten_2, | ||
na: cards.Palett.pink.lighten_4 | ||
}; | ||
const AURORA = { | ||
max: cards.Palett.green.accent_4, | ||
min: cards.Palett.deepPurple.darken_2, | ||
na: cards.Palett.grey.darken_2 | ||
max: cards.Palett.green.accent_3, | ||
min: cards.Palett.deepPurple.accent_1, | ||
na: cards.Palett.teal.accent_1 | ||
}; | ||
@@ -26,2 +32,8 @@ | ||
const INSTA = { | ||
max: cards.Palett.orange.accent_2, | ||
min: cards.Palett.purple.accent_1, | ||
na: cards.Palett.grey.lighten_2 | ||
}; | ||
const JUNGLE = { | ||
@@ -34,7 +46,13 @@ max: cards.Palett.lime.accent_4, | ||
const LAVA = { | ||
max: cards.Palett.amber.accent_4, | ||
min: cards.Palett.red.base, | ||
max: cards.Palett.amber.accent_3, | ||
min: cards.Palett.red.lighten_1, | ||
na: cards.Palett.grey.accent_2 | ||
}; | ||
const METRO = { | ||
max: cards.Palett.pink.lighten_2, | ||
min: cards.Palett.blue.lighten_4, | ||
na: cards.Palett.teal.accent_3 | ||
}; | ||
const OCEAN = { | ||
@@ -52,6 +70,6 @@ max: cards.Palett.lightBlue.accent_2, | ||
const METRO = { | ||
max: cards.Palett.pink.lighten_1, | ||
min: cards.Palett.blueGrey.lighten_4, | ||
na: cards.Palett.teal.lighten_3 | ||
const POME = { | ||
max: cards.Palett.red.lighten_2, | ||
min: cards.Palett.yellow.darken_1, | ||
na: cards.Palett.green.lighten_2 | ||
}; | ||
@@ -74,8 +92,13 @@ | ||
metro: METRO, | ||
subtle: SUBTLE | ||
subtle: SUBTLE, | ||
insta: INSTA, | ||
pome: POME, | ||
atlas: ATLAS | ||
}; | ||
exports.AQUA = AQUA; | ||
exports.ATLAS = ATLAS; | ||
exports.AURORA = AURORA; | ||
exports.FRESH = FRESH; | ||
exports.INSTA = INSTA; | ||
exports.JUNGLE = JUNGLE; | ||
@@ -86,3 +109,4 @@ exports.LAVA = LAVA; | ||
exports.PLANET = PLANET; | ||
exports.POME = POME; | ||
exports.Presets = Presets; | ||
exports.SUBTLE = SUBTLE; |
@@ -9,6 +9,12 @@ import { Palett } from '@palett/cards'; | ||
const ATLAS = { | ||
max: Palett.cyan.lighten_3, | ||
min: Palett.orange.lighten_2, | ||
na: Palett.pink.lighten_4 | ||
}; | ||
const AURORA = { | ||
max: Palett.green.accent_4, | ||
min: Palett.deepPurple.darken_2, | ||
na: Palett.grey.darken_2 | ||
max: Palett.green.accent_3, | ||
min: Palett.deepPurple.accent_1, | ||
na: Palett.teal.accent_1 | ||
}; | ||
@@ -22,2 +28,8 @@ | ||
const INSTA = { | ||
max: Palett.orange.accent_2, | ||
min: Palett.purple.accent_1, | ||
na: Palett.grey.lighten_2 | ||
}; | ||
const JUNGLE = { | ||
@@ -30,7 +42,13 @@ max: Palett.lime.accent_4, | ||
const LAVA = { | ||
max: Palett.amber.accent_4, | ||
min: Palett.red.base, | ||
max: Palett.amber.accent_3, | ||
min: Palett.red.lighten_1, | ||
na: Palett.grey.accent_2 | ||
}; | ||
const METRO = { | ||
max: Palett.pink.lighten_2, | ||
min: Palett.blue.lighten_4, | ||
na: Palett.teal.accent_3 | ||
}; | ||
const OCEAN = { | ||
@@ -48,6 +66,6 @@ max: Palett.lightBlue.accent_2, | ||
const METRO = { | ||
max: Palett.pink.lighten_1, | ||
min: Palett.blueGrey.lighten_4, | ||
na: Palett.teal.lighten_3 | ||
const POME = { | ||
max: Palett.red.lighten_2, | ||
min: Palett.yellow.darken_1, | ||
na: Palett.green.lighten_2 | ||
}; | ||
@@ -70,5 +88,8 @@ | ||
metro: METRO, | ||
subtle: SUBTLE | ||
subtle: SUBTLE, | ||
insta: INSTA, | ||
pome: POME, | ||
atlas: ATLAS | ||
}; | ||
export { AQUA, AURORA, FRESH, JUNGLE, LAVA, METRO, OCEAN, PLANET, Presets, SUBTLE }; | ||
export { AQUA, ATLAS, AURORA, FRESH, INSTA, JUNGLE, LAVA, METRO, OCEAN, PLANET, POME, Presets, SUBTLE }; |
{ | ||
"name": "@palett/presets", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "A color converter", | ||
@@ -15,7 +15,6 @@ "main": "dist/index.cjs.js", | ||
"pub": "npm publish", | ||
"test": "node -r @babel/register test/test.index.js", | ||
"test-jest": "jest" | ||
"test": "node -r @babel/register test/test.index.js" | ||
}, | ||
"dependencies": { | ||
"@palett/cards": "^0.1.1" | ||
"@palett/cards": "^0.1.2" | ||
}, | ||
@@ -43,3 +42,3 @@ "repository": { | ||
"homepage": "https://github.com/hoyeungw/palett/presets#readme", | ||
"gitHead": "74285697ae29dd9cb77b8543aee9aae974c7ca37" | ||
"gitHead": "87d669b0ac4eb4a3ae0341448a9897edf2d01a49" | ||
} |
6570
166
Updated@palett/cards@^0.1.2