Add new color set
This commit is contained in:
parent
ae4340be17
commit
8828fa35e3
2
cli/packages/colors-green-as-a-whistle/.gitignore
vendored
Normal file
2
cli/packages/colors-green-as-a-whistle/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
node_modules
|
||||
LICENSE.md
|
2
cli/packages/colors-green-as-a-whistle/.yarnrc
Normal file
2
cli/packages/colors-green-as-a-whistle/.yarnrc
Normal file
@ -0,0 +1,2 @@
|
||||
version-tag-prefix "@themer/colors-green-as-a-whistle-v"
|
||||
version-git-message "@themer/colors-green-as-a-whistle-v%s"
|
13
cli/packages/colors-green-as-a-whistle/README.md
Normal file
13
cli/packages/colors-green-as-a-whistle/README.md
Normal file
@ -0,0 +1,13 @@
|
||||
# @themer/colors-green-as-a-whistle
|
||||
|
||||
A warm [themer](https://github.com/mjswensen/themer) color set featuring desaturated shades of green.
|
||||
|
||||
## Installation & usage
|
||||
|
||||
Install this module wherever you have `themer` installed:
|
||||
|
||||
npm install @themer/colors-green-as-a-whistle
|
||||
|
||||
Then pass `@themer/colors-green-as-a-whistle` as a `-c` (`--colors`) arg to `themer`:
|
||||
|
||||
themer -c @themer/colors-green-as-a-whistle ...
|
26
cli/packages/colors-green-as-a-whistle/lib/index.js
Normal file
26
cli/packages/colors-green-as-a-whistle/lib/index.js
Normal file
@ -0,0 +1,26 @@
|
||||
module.exports.colors = {
|
||||
"dark": {
|
||||
shade0: '#1F1913',
|
||||
shade7: '#FEFEDD',
|
||||
accent0: '#994643',
|
||||
accent1: '#F2AB71',
|
||||
accent2: '#FFCF86',
|
||||
accent3: '#4B8075',
|
||||
accent4: '#639587',
|
||||
accent5: '#517665',
|
||||
accent6: '#8B596A',
|
||||
accent7: '#8E5252',
|
||||
},
|
||||
"light": {
|
||||
shade0: '#FCFAF1',
|
||||
shade7: '#19201D',
|
||||
accent0: '#8F4053',
|
||||
accent1: '#D8965D',
|
||||
accent2: '#CFA253',
|
||||
accent3: '#4E8579',
|
||||
accent4: '#8CB3A0',
|
||||
accent5: '#4D7260',
|
||||
accent6: '#786366',
|
||||
accent7: '#9F5E58',
|
||||
},
|
||||
};
|
22
cli/packages/colors-green-as-a-whistle/lib/index.spec.js
Normal file
22
cli/packages/colors-green-as-a-whistle/lib/index.spec.js
Normal file
@ -0,0 +1,22 @@
|
||||
const { colors } = require('./index');
|
||||
|
||||
describe('@themer/colors-green-as-a-whistle', () => {
|
||||
it('should define all required colors', () => {
|
||||
const prefixes = [
|
||||
'accent0',
|
||||
'accent1',
|
||||
'accent2',
|
||||
'accent3',
|
||||
'accent4',
|
||||
'accent5',
|
||||
'accent6',
|
||||
'accent7',
|
||||
'shade0',
|
||||
'shade7',
|
||||
]
|
||||
prefixes.forEach(prefix => {
|
||||
expect(colors.dark[prefix]).toBeDefined();
|
||||
expect(colors.light[prefix]).toBeDefined();
|
||||
});
|
||||
});
|
||||
});
|
35
cli/packages/colors-green-as-a-whistle/package.json
Normal file
35
cli/packages/colors-green-as-a-whistle/package.json
Normal file
@ -0,0 +1,35 @@
|
||||
{
|
||||
"name": "@themer/colors-green-as-a-whistle",
|
||||
"version": "1.0.0",
|
||||
"description": "A warm themer color set featuring desaturated shades of green.",
|
||||
"main": "lib/index.js",
|
||||
"engines": {
|
||||
"node": ">=6.11"
|
||||
},
|
||||
"author": "mjswensen",
|
||||
"license": "MIT",
|
||||
"files": [
|
||||
"/lib/index.js"
|
||||
],
|
||||
"scripts": {
|
||||
"prepublishOnly": "cp ../../../LICENSE.md ./"
|
||||
},
|
||||
"repository": {
|
||||
"url": "git+ssh://git@github.com/mjswensen/themer.git",
|
||||
"type": "git"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/mjswensen/themer/issues"
|
||||
},
|
||||
"homepage": "https://github.com/mjswensen/themer/tree/master/cli/packages/colors-green-as-a-whistle#readme",
|
||||
"peerDependencies": {
|
||||
"themer": "^3"
|
||||
},
|
||||
"keywords": [
|
||||
"themer",
|
||||
"colors",
|
||||
"colorset",
|
||||
"theme",
|
||||
"green-as-a-whistle"
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user