fix preview of plain text files when using dark theme
BUG: 409380 406821 Differential Revision: https://phabricator.kde.org/D25891