dsh-krill-theme: DSH Web Deep Sea/Shallow Sea Dual Mode Theme Plugin
dsh-krill-theme is a pure client-side CSS theme plugin for DSH Web maintained by i1j (MIT, v1.0.0). It adopts the philosophy of "everything is a plugin" to replace the skin-changing method of modifying `dist` files or overriding class names. A single stylesheet covers both a dark mode (Deep Sea World, where importance is encoded by brightness) and a light mode (Shallow Sea World, where clarity is encoded), automatically switching according to the system preference. It redefines approximately 95+ tokens solely on the `body` element, without modifying `dist` or relying on component class names, ensuring extremely low upgrade costs. Key features include: a canvas-drawn plankton animation background (driven by ocean currents and supporting `prefers-reduced-motion` fallback), deep-dive work state enhancement during generation, and a jellyfish-shaped parameter control panel. It supports configuration before loading, real-time parameter adjustment after loading, and...
Read More