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>
18 lines
538 B
JavaScript
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');
|
|
})();
|