<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - The 'Styles Preview' section in the Tabbed NB doesn't follow the system theme"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=143098#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - The 'Styles Preview' section in the Tabbed NB doesn't follow the system theme"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=143098">bug 143098</a>
from <span class="vcard"><a class="email" href="mailto:szymon.klos@collabora.com" title="Szymon Kłos <szymon.klos@collabora.com>"> <span class="fn">Szymon Kłos</span></a>
</span></b>
<pre>I think it is possible.
We have two things to do:
1. be sure IconView widget follows the theme
2. use different colors set for rendering previews if dark theme is applied
Code pointers:
[1]
<a href="https://opengrok.libreoffice.org/xref/core/vcl/source/treelist/iconview.cxx?r=217b9423#31">https://opengrok.libreoffice.org/xref/core/vcl/source/treelist/iconview.cxx?r=217b9423#31</a>
[2]
<a href="https://opengrok.libreoffice.org/xref/core/svx/source/tbxctrls/StylesPreviewWindow.cxx?r=04cd6749#235">https://opengrok.libreoffice.org/xref/core/svx/source/tbxctrls/StylesPreviewWindow.cxx?r=04cd6749#235</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>