TJK: Add custom theme#9
Conversation
MatiasArriola
left a comment
There was a problem hiding this comment.
Excellent @deeonwuli !
I liked the approach, now we have only one CSS entrypoint for theme configuration, using custom CSS properties, and well documented.
The change is very broad and affects the entire app, so it requires good testing.
I was particularly worried about *, *::before, *::after { box-sizing: border-box; }, since it could affect layout of every element, but after doing a quick round of manual verification it all seem to work good.
Some other selectors are also very broad, but I think that was the intent.
Using AI tools found sections that were missing the theme such as mobile (http://localhost:8080/openboxes/mobile) or analytics (http://localhost:8080/openboxes/inventoryBrowser/list) but those screens seem to be legacy screens not linked anywhere.
Thanks!
📌 References
📝 Implementation
grails-app/assets/stylesheets/custom/obTheme.css: a single CSS file that reskins OpenBoxes with a moh.tj-inspired navy palette (#1F4FA8) via CSS custom propertiescustom.gsp,react.gsp, andmain.gsp(one line each)📷 Screenshots & Recordings (optional)
Screen.Recording.2026-06-02.at.07.59.53.mov
#869den0j3