botui/ui/suite/js
Rodrigo Rodriguez 9b417bf4f2
Some checks failed
BotUI CI / build (push) Has been cancelled
fix: Remove body data-theme attribute to prevent CSS override
This fixes the issue where theme changes required a page refresh to apply
to the chat client area. The body element's data-theme attribute was
applying base.css theme rules that overrode the inline styles set by the
theme manager.

Changes:
- Add data-theme="sentient" to html element in base.html
- Remove body's data-theme attribute when loading themes in theme-manager.js
- This prevents base.css [data-theme="*"] selectors from overriding inline styles

Now both header and body background update immediately when switching themes.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-15 23:19:16 +00:00
..
vendor feat(auth): Add user profile loading and auth state management 2026-01-06 22:57:00 -03:00
api-client.js feat(api-client): add centralized API client with auth token injection 2026-01-10 11:47:54 -03:00
auth-service.js Update: UI files and add error-reporter.js 2026-02-04 13:54:26 -03:00
base.js feat: Hide omnibox and apps menu based on product configuration 2026-01-29 23:56:00 -03:00
css-loader.js fix(slides): remove duplicate cacheElements/bindEvents functions causing null error 2026-01-12 14:05:06 -03:00
error-reporter.js WIP: Various UI updates from previous session 2026-02-08 12:21:11 +00:00
home.js refactor(ui): extract inline CSS/JS to external files 2026-01-10 20:12:48 -03:00
htmx-app.js Update submodule changes 2026-02-13 22:31:49 +00:00
i18n.js fix(i18n): Invalidate cache to fix placeholder translations 2026-02-14 20:05:28 +00:00
security-bootstrap.js WIP: Various UI updates from previous session 2026-02-08 12:21:11 +00:00
suite_app.js fix: Hide search bar and Drive/Tasks nav when logged out, improve theme switching 2026-02-15 21:53:50 +00:00
theme-manager.js fix: Remove body data-theme attribute to prevent CSS override 2026-02-15 23:19:16 +00:00