0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-07 03:22:38 +00:00

Merge snippets between theme and basetheme

- Current theme has preference over the base theme
- Snippets with the same name are overwritten by the current theme.
- If the overwritten snippet has no `gen` property (or `gen` is falsy), it will remove the base Theme snippet.
- Snippets not overwritten will carry over from base Theme
- New snippets will be added on to base Theme
This commit is contained in:
Trevor Buckner
2022-05-16 01:40:40 -04:00
parent 4167026ca7
commit 4f6555b522
3 changed files with 25 additions and 17 deletions

View File

@@ -21,7 +21,7 @@ module.exports = [
{
name : 'Column Break',
icon : 'fas fa-columns',
gen : '\n\\column\n'
gen : false
},
{
name : 'New Page',