mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-05 01:32:47 +00:00
28 lines
685 B
JavaScript
28 lines
685 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 from the page center.
|
|
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`;
|
|
}
|
|
|
|
};
|
|
|
|
()=>{
|
|
|
|
};
|