Skip to content

Commit 4e6df23

Browse files
committed
Updated with better startup message
Also features a default color palette for misc use.
1 parent b6cbce4 commit 4e6df23

File tree

3 files changed

+17
-6
lines changed

3 files changed

+17
-6
lines changed

nightly/pixi.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nightly/pixi.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nightly/zepyhr.js

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,16 @@ PIXI.Audio = {};
55
PIXI.File = {};
66

77
PIXI.Zephyr = {
8-
version: "ZephyrJS 22.10.1",
8+
color: {
9+
PRIMARY: "#ef6f6c",
10+
WARNING: "#f0cf6b",
11+
SUCCESS: "#6bf097",
12+
MESSAGE: "#6c6fef",
13+
ADVANCE: "#a36cef",
14+
PIXIJS: "#ea1e63",
15+
},
16+
version: "ZephyrJS 22.10.22",
17+
compatible: "PixiJS v6.5.7",
918
useKeys: () => {
1019
PIXI.Keys.map = new Map();
1120
PIXI.Keys.down = (key) => {
@@ -177,4 +186,6 @@ PIXI.utils.requestFullScreen = (view) => {
177186
window.addEventListener('contextmenu', (e) => {
178187
e.preventDefault();
179188
})
180-
console.log("%cUsing " + PIXI.Zephyr.version + "! https://github.com/OttCS/ZephyrJS", "color: #EF6F6C;");
189+
190+
console.log("%cUsing " + PIXI.Zephyr.version + "! https://github.com/OttCS/ZephyrJS", "color:" + PIXI.Zephyr.color.PRIMARY);
191+
console.log("%cCompatible with " + PIXI.Zephyr.compatible, "color:" + PIXI.Zephyr.color.PIXIJS)

0 commit comments

Comments
 (0)