Files
qt-creator/src/plugins/help/help.qrc
Eike Ziller edcb5a7e6e Support dark themes for Qt documentation
Uses offline-dark.css instead of offline.css in case of Qt Creator using
a dark theme. Looks for the CSS file first in the shipped documentation,
otherwise uses a fallback that is shipped with Qt Creator. The fallback
is based on Qt 6.3.2 documentation, with colors replaced by palette
colors from the flat-dark theme (normalBackground, alternateBackground,
shadowBackground, text). Link colors are taken from the dark Qt online
CSS.

Makes sure to keep a light background for non-Qt documentation, since we
do not assume that they provide a dark themed CSS.

Fixes: QTCREATORBUG-26557
Change-Id: I4a09eedd1216cebeb87c12df40ad99ced030fa73
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2022-09-28 13:05:53 +00:00

14 lines
501 B
Plaintext

<RCC>
<qresource prefix="/help">
<file>images/settingscategory_help.png</file>
<file>images/settingscategory_help@2x.png</file>
<file>images/mode_help.png</file>
<file>images/mode_help@2x.png</file>
<file>images/mode_help_mask.png</file>
<file>images/mode_help_mask@2x.png</file>
<file>images/macos_touchbar_help.png</file>
<file>images/macos_touchbar_help@2x.png</file>
<file>offline-dark.css</file>
</qresource>
</RCC>