more random easter egg

This commit is contained in:
zombieFox 2021-08-21 10:47:33 +01:00
parent b5749d1db1
commit 3db6a9943b
1 changed files with 8 additions and 0 deletions

View File

@ -40,6 +40,10 @@ easterEgg.toaster.render = () => {
newBookmarkData.link.background.image.url = 'https://github.com/zombieFox/nightTabAssets/blob/main/images/1628494879270.gif?raw=true';
newBookmarkData.link.display.name.show = false;
newBookmarkData.link.display.visual.show = false;
newBookmarkData.link.accent.by = 'custom';
newBookmarkData.link.accent.hsl = { h: randomNumber(0, 360), s: 100, l: 50 };
@ -52,6 +56,10 @@ easterEgg.toaster.render = () => {
newBookmarkData.link.color.rgb = { r: 255, g: 255, b: 255 };
newBookmarkData.link.shape.wide = Math.random() < 0.5;
newBookmarkData.link.shape.tall = Math.random() < 0.5;
bookmark.item.mod.add(newBookmarkData);
groupAndBookmark.render();