From the session's palette and font, with Motif's own colour calculation: X resources (and the 16 terminal colours), GTK 1, GTK 2/3/4 themes with Motif's bevels and no animation, qt5ct/qt6ct schemes and kdeglobals. It is also the XSETTINGS manager, so running GTK programs change with the palette at once; System Settings runs it when a palette or font is chosen. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>