From dc7d877e6fdf1d0efc753c44239e119ca3e211db Mon Sep 17 00:00:00 2001 From: Trevor Buckner Date: Thu, 22 Aug 2024 16:35:48 -0400 Subject: [PATCH] Add snippets and icons --- client/icons/customIcons.less | 6 ++++ client/icons/image-wrap-left.svg | 58 +++++++++++++++++++++++++++++++ client/icons/image-wrap-right.svg | 58 +++++++++++++++++++++++++++++++ themes/V3/Blank/snippets.js | 12 +++++++ 4 files changed, 134 insertions(+) create mode 100644 client/icons/image-wrap-left.svg create mode 100644 client/icons/image-wrap-right.svg diff --git a/client/icons/customIcons.less b/client/icons/customIcons.less index dd6605326..411d8fe97 100644 --- a/client/icons/customIcons.less +++ b/client/icons/customIcons.less @@ -46,6 +46,12 @@ .book-part-cover { content: url('../icons/book-part-cover.svg'); } +.image-wrap-left { + content: url('../icons/image-wrap-left.svg'); +} +.image-wrap-right { + content: url('../icons/image-wrap-right.svg'); +} .davek { content: url('../icons/Davek.svg'); } diff --git a/client/icons/image-wrap-left.svg b/client/icons/image-wrap-left.svg new file mode 100644 index 000000000..fe1024e43 --- /dev/null +++ b/client/icons/image-wrap-left.svg @@ -0,0 +1,58 @@ + + diff --git a/client/icons/image-wrap-right.svg b/client/icons/image-wrap-right.svg new file mode 100644 index 000000000..336a20b64 --- /dev/null +++ b/client/icons/image-wrap-right.svg @@ -0,0 +1,58 @@ + + diff --git a/themes/V3/Blank/snippets.js b/themes/V3/Blank/snippets.js index 8d45560c5..8437dab2e 100644 --- a/themes/V3/Blank/snippets.js +++ b/themes/V3/Blank/snippets.js @@ -153,6 +153,18 @@ module.exports = [ gen : dedent` ![cat warrior](https://s-media-cache-ak0.pinimg.com/736x/4a/81/79/4a8179462cfdf39054a418efd4cb743e.jpg) {width:325px,mix-blend-mode:multiply}` }, + { + name : 'Image Wrap Left', + icon : 'fac image-wrap-left', + gen : dedent` + ![homebrewery_mug](http://i.imgur.com/hMna6G0.png) {width:280px,margin-right:-3cm,wrapLeft}` + }, + { + name : 'Image Wrap Right', + icon : 'fac image-wrap-right', + gen : dedent` + ![homebrewery_mug](http://i.imgur.com/hMna6G0.png) {width:280px,margin-left:-3cm,wrapRight}` + }, { name : 'Background Image', icon : 'fas fa-tree',