mirror of
https://github.com/zombieFox/nightTab.git
synced 2024-11-29 11:33:33 +01:00
more random easter egg
This commit is contained in:
parent
b5749d1db1
commit
3db6a9943b
@ -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.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.by = 'custom';
|
||||||
|
|
||||||
newBookmarkData.link.accent.hsl = { h: randomNumber(0, 360), s: 100, l: 50 };
|
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.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);
|
bookmark.item.mod.add(newBookmarkData);
|
||||||
|
|
||||||
groupAndBookmark.render();
|
groupAndBookmark.render();
|
||||||
|
Loading…
Reference in New Issue
Block a user