Revert "Revert "Frameworks: Update DocumentsUI for theme chooser combatibility""

This reverts commit 5f1e18a290af606ce4fea43ae9eb0e5dfe698362.