preloader: override Frappe desk splash image

CSS swaps the <img> inside templates/includes/splash_screen.html via
content: url(...) so the desk loading screen shows our PNG instead of
the default blue "E" framework logo. Image lives at
public/images/preloader.png — served via the existing assets symlink,
no bench build needed.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ali 2026-05-04 15:35:27 +00:00
parent 54f34b26e1
commit ff5f771ce2
2 changed files with 9 additions and 0 deletions

View File

@ -2,6 +2,15 @@
Jey Theme Shared Styles (theme-independent) Jey Theme Shared Styles (theme-independent)
========================================================================== */ ========================================================================== */
/* Override Frappe's default desk splash image (the blue "E").
Splash markup is in templates/includes/splash_screen.html and gets removed
by Frappe once the desk boots, so this only shows during page load. */
.splash img {
content: url("/assets/jey_theme/images/preloader.png");
max-width: 200px;
height: auto;
}
/* Hide Organization desktop icon by default */ /* Hide Organization desktop icon by default */
.desktop-icon[data-id="Organization"] { .desktop-icon[data-id="Organization"] {
display: none !important; display: none !important;

Binary file not shown.

After

Width:  |  Height:  |  Size: 179 KiB