UNPKG

430 BJavaScriptView Raw
1/**
2 * Define theme "j".
3 * @function j
4 * @param {number} width - Image width
5 * @param {number} height - Image height
6 * @param {string} color1 - Shape color 1.
7 * @param {string} color2 - Shape color 2.
8 * @returns {string} - SVG string.
9 */
10
11const _svg = require('./_svg')
12
13/** @lends j */
14function j (width, height, color1, color2) {
15 return _svg(width, height, {
16 rect: []
17 })
18}
19
20j.$reversed = true
21
22module.exports = j