Add option to enable different symbol durations for spooky theme; fix casing in snowstorm config

This commit is contained in:
CodeDevMLH
2026-02-27 04:25:53 +01:00
parent bb6c7796d5
commit 72ad4ee1a4
3 changed files with 208 additions and 227 deletions

View File

@@ -1,6 +1,6 @@
const config = window.SeasonalsPluginConfig?.Snowstorm || {};
const snowstorm = config.enableSnowstorm !== undefined ? config.EnableSnowstorm : true; // enable/disable snowstorm
const snowstorm = config.EnableSnowstorm !== undefined ? config.EnableSnowstorm : true; // enable/disable snowstorm
let snowflakesCount = config.SnowflakesCount || 500; // count of snowflakes (recommended values: 300-600)
const snowflakesCountMobile = config.SnowflakesCountMobile || 250; // count of snowflakes on mobile devices (Warning: High values may affect performance)
const snowFallSpeed = config.Speed || 6; // speed of snowfall (recommended values: 4-8)