diff options
| author | Danilo M. <danix@danix.xyz> | 2026-04-10 12:16:39 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-04-10 12:16:39 +0200 |
| commit | 679a2279e84037f49cab4df35bf37b77a7604792 (patch) | |
| tree | 6a5da89074dfbf5c6c13008aef6fa11f39e3872c /layouts/section.html | |
| parent | 474494b80592163a06df5fde3d282e37da00b045 (diff) | |
| download | danixxyz-theme-679a2279e84037f49cab4df35bf37b77a7604792.tar.gz danixxyz-theme-679a2279e84037f49cab4df35bf37b77a7604792.zip | |
fix: align matrix rain implementation with mockup-a.html
Simplified and aligned the matrix rain implementation to match mockup-a.html exactly:
- Use width: 100%; height: 100% in CSS instead of inset/display properties for more reliable sizing
- Simplify canvas init() to use offsetWidth/offsetHeight directly without fallbacks
- Use getThemeColors() helper function for consistent color management
- Simplify tick() to only use the two colors (bright green head at 4%, purple trail)
- Remove unused data-mode attribute logic
- Streamline event listeners to match mockup structure
This matches the proven working implementation from the mockup.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Diffstat (limited to 'layouts/section.html')
0 files changed, 0 insertions, 0 deletions
