(btn)
| 68 | } |
| 69 | |
| 70 | function themeToggleButton(btn) { |
| 71 | if (!btn) return; |
| 72 | const dark = document.body.classList.contains('dark-mode'); |
| 73 | btn.style.background = dark ? '#2c2c2c' : '#fff'; |
| 74 | btn.style.border = dark ? '1px solid #555' : '1px solid #ccc'; |
| 75 | btn.style.boxShadow = dark ? '0 2px 6px rgba(0,0,0,.35)' : '0 2px 6px rgba(0,0,0,.15)'; |
| 76 | btn.style.color = dark ? '#e0e0e0' : '#222'; |
| 77 | } |
| 78 | |
| 79 | function animateVerticalSlide(card) { |
| 80 | card.style.transform = 'translateY(30px)'; |
no outgoing calls
no test coverage detected