mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-31 17:22:45 +00:00
Doesn't work well with --rotation but you can just set top,left or whatever. --offset works.
28 lines
758 B
JavaScript
28 lines
758 B
JavaScript
const _ = require('lodash');
|
|
const dedent = require('dedent-tabs').default;
|
|
|
|
module.exports = {
|
|
edge : ()=>{
|
|
return dedent`
|
|
{{imageMask${_.random(1, 8)},--offset:0cm,--rotation:0
|
|
{height:100%}
|
|
|
|
<!-- Use offset to shift the edge up or down. Use rotation to set rotation angle in degrees. -->
|
|
}}\n\n`;
|
|
},
|
|
|
|
corner : ()=>{
|
|
return dedent`
|
|
{{imageMask_Corner${_.random(1, 8)},--offset:0cm,bottom,left
|
|
{height:100%}
|
|
|
|
<!-- Use offset to shift the edge up or down. Use top, bottom, left, and right to select a corner -->
|
|
}}\n\n`;
|
|
}
|
|
|
|
};
|
|
|
|
()=>{
|
|
|
|
};
|