https://software.codidact.com/categories/38/tags/5514.rssNew Posts Tagged 'theme' - Software DevelopmentSoftware Development - Codidact2022-04-15T20:13:04Zhttps://software.codidact.com/posts/286196How to set FontFamily for an entire WPF application in a theme?Peter Taylorâ€https://software.codidact.com/users/363562022-04-05T16:13:00Z2022-04-15T20:13:04Z<p>I have a project <code>Anonymised.Theme</code> which contains XAML resource dictionaries for a theme. This is used by about a dozen applications which simply include it by merging</p>
<pre><cod...https://software.codidact.com/posts/283050theme always not changingAnonymousâ€https://software.codidact.com/users/542122021-08-02T07:53:18Z2021-08-02T19:05:27Z<pre><code class="language-javascript">const body = document.body;
const light = evt => {
body.setAttribute('data-theme', 'light');
localStorage.setItem("theme", "light");
cons...