diff options
| author | s1n <[email protected]> | 2020-01-03 19:22:48 -0800 |
|---|---|---|
| committer | s1n <[email protected]> | 2020-01-03 19:22:48 -0800 |
| commit | d19298cb97655c0d7c4e96508f9ff20387bcdf42 (patch) | |
| tree | 47c77b8c22f97b1e7bf7d06098345c4441d95f55 /js/background-sparkles.js | |
| parent | media queries for navbar size (diff) | |
| download | s1n.pw-admin-d19298cb97655c0d7c4e96508f9ff20387bcdf42.tar.xz s1n.pw-admin-d19298cb97655c0d7c4e96508f9ff20387bcdf42.zip | |
remove snow, comment normal colours, correct key
Diffstat (limited to 'js/background-sparkles.js')
| -rw-r--r-- | js/background-sparkles.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/js/background-sparkles.js b/js/background-sparkles.js index d4690ec..9c67fc2 100644 --- a/js/background-sparkles.js +++ b/js/background-sparkles.js @@ -13,13 +13,17 @@ var pattern = Trianglify({ height: window.innerHeight, // White: #fdfbfb, Salmon: #cc3300 width: window.innerWidth, // Christmas Colours: - x_colors: ['#0F8A5F', '#f9f9f9', '#fffff4', '#fbf7f5', '#CC231E'], // Cappuccino: ['#854442', '#3c2f2f', '#fff4e6', '#be9b7b', '#4b3832'] + x_colors: ['#040404', '#f9f9f9', '#fffff4', '#fbf7f5', '#d55454'], // Cappuccino: ['#854442', '#3c2f2f', '#fff4e6', '#be9b7b', '#4b3832'] y_colors: ['#f9f1f1', '#f9f9f9', '#fffff4', '#fbf7f5', '#f9f1f1'], // Random colour generator: "#"+((1<<24)*Math.random()|0).toString(16) // // Normal Colours: // x_colors: ['#040404', '#f9f9f9', '#fffff4', '#fbf7f5', '#d55454'], // y_colors: ['#f9f1f1', '#f9f9f9', '#fffff4', '#fbf7f5', '#f9f1f1'], // + // Christmas Colours: + // x_colors: ['#0F8A5F', '#f9f9f9', '#fffff4', '#fbf7f5', '#CC231E'], + // y_colors: ['#f9f1f1', '#f9f9f9', '#fffff4', '#fbf7f5', '#f9f1f1'], + // variance: 10, // Gives it more style seed: Number.parseInt(Math.floor(Math.random() * 100)), // TODO: Live seed transitioning. cell_size: 160 // Cell size |