Files
docker-compose/asciinema/theme/custom.js
Sebastian Krüger b3bffd8ba8 fix: mount custom.css to assets directory, not css
static_paths only includes: assets, fonts, images, js
The css directory is NOT served by Phoenix.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-09 09:55:58 +01:00

18 lines
538 B
JavaScript

// Pivoine Rose Custom Theme Injector
(function() {
// Inject custom CSS
var customCSS = document.createElement('link');
customCSS.rel = 'stylesheet';
customCSS.href = '/assets/custom.css';
document.head.appendChild(customCSS);
// Inject custom favicon
var customFavicon = document.createElement('link');
customFavicon.rel = 'icon';
customFavicon.type = 'image/svg+xml';
customFavicon.href = '/images/favicon-custom.svg';
document.head.appendChild(customFavicon);
console.log('Pivoine Rose theme loaded');
})();