onix-board-assets
Advanced tools
Comparing version 3.2.20 to 3.2.21
@@ -18,3 +18,13 @@ { | ||
{ "code": "walnut", "name": "Walnut", "url": "walnut/board.png" } | ||
], | ||
"boardSizes": [ | ||
{ "code": "size1", "name": "160x160", "square": "20px", "frame": "16px", "font": "8px" }, | ||
{ "code": "size2", "name": "240x240", "square": "30px", "frame": "17px", "font": "8px" }, | ||
{ "code": "size3", "name": "320x320", "square": "40px", "frame": "18px", "font": "9px" }, | ||
{ "code": "size4", "name": "400x400", "square": "50px", "frame": "22px", "font": "10px" }, | ||
{ "code": "size5", "name": "480x480", "square": "60px", "frame": "28px", "font": "11px" }, | ||
{ "code": "size6", "name": "560x560", "square": "70px", "frame": "32px", "font": "12px" }, | ||
{ "code": "size7", "name": "640x640", "square": "80px", "frame": "36px", "font": "13px" }, | ||
{ "code": "size8", "name": "720x720", "square": "90px", "frame": "42px", "font": "14px" } | ||
] | ||
} |
@@ -35,3 +35,3 @@ const gulp = require('gulp'); | ||
.pipe(postcss(pre, {syntax: syntax})) | ||
.pipe(sassVars(boardFiles, { verbose: false })) | ||
.pipe(sassVars(boardFiles, { verbose: true })) | ||
.pipe(sass().on("error", sass.logError)) | ||
@@ -38,0 +38,0 @@ .pipe(postcss(post)) |
const gulp = require('gulp'); | ||
const gulpif = require('gulp-if'); | ||
const sass = require('gulp-sass'); | ||
const sassVars = require('gulp-sass-vars'); | ||
const syntax = require('postcss-scss'); | ||
@@ -19,2 +20,4 @@ const postcss = require('gulp-postcss'); | ||
const boardFiles = require('../src/board/boards.json'); | ||
module.exports = function() { | ||
@@ -27,2 +30,3 @@ var pre = [assets({basePath: 'public/', loadPaths: ['static/img/', 'static/fonts/']})]; | ||
.pipe(postcss(pre, {syntax: syntax})) | ||
.pipe(sassVars(boardFiles, { verbose: true })) | ||
.pipe(sass().on("error", sass.logError)) | ||
@@ -29,0 +33,0 @@ .pipe(postcss(post)) |
{ | ||
"name": "onix-board-assets", | ||
"version": "3.2.20", | ||
"version": "3.2.21", | ||
"description": "Chess board assets", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1,5 +0,17 @@ | ||
# Chess board assets | ||
# onix-board-assets | ||
<div> | ||
<a href="https://www.npmjs.com/package/onix-board-assets"><img src='http://img.shields.io/npm/v/onix-board-assets.svg?style=flat'></a> | ||
<a href="https://www.npmjs.com/package/onix-board-assets"><img src='https://img.shields.io/npm/dm/onix-board-assets.svg?style=flat-square'></a> | ||
<a href="https://david-dm.org/DrNixx/onix-board-assets?type=dev"><img src='https://david-dm.org/DrNixx/onix-board-assets/dev-status.svg'></a> | ||
</div> | ||
Assets for chess boards. | ||
## Usage | ||
``` | ||
npm install onix-board-assets | ||
``` | ||
## Copyright & License | ||
@@ -6,0 +18,0 @@ |
@@ -18,3 +18,13 @@ { | ||
{ "code": "walnut", "name": "Walnut", "url": "walnut/board.png" } | ||
], | ||
"boardSizes": [ | ||
{ "code": "size1", "name": "160x160", "square": "20px", "frame": "16px", "font": "8px" }, | ||
{ "code": "size2", "name": "240x240", "square": "30px", "frame": "17px", "font": "8px" }, | ||
{ "code": "size3", "name": "320x320", "square": "40px", "frame": "18px", "font": "9px" }, | ||
{ "code": "size4", "name": "400x400", "square": "50px", "frame": "22px", "font": "10px" }, | ||
{ "code": "size5", "name": "480x480", "square": "60px", "frame": "28px", "font": "11px" }, | ||
{ "code": "size6", "name": "560x560", "square": "70px", "frame": "32px", "font": "12px" }, | ||
{ "code": "size7", "name": "640x640", "square": "80px", "frame": "36px", "font": "13px" }, | ||
{ "code": "size8", "name": "720x720", "square": "90px", "frame": "42px", "font": "14px" } | ||
] | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
22
14080681
4640