question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Theme Customization

See original GitHub issue

Hi, thanks for your library, it’s really handy!

Is there a way to customize the theme? I am not sure how I can replace default generic.xaml with a new set of style definitions. Thanks.

I mean, except creating a file under “Themes/generic.xaml” and in application resource add merge resource dictionary as mentioned here:

<ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="Themes/generic.xaml"></ResourceDictionary>
            </ResourceDictionary.MergedDictionaries>
</ResourceDictionary>

That is, is there a way to procedurally configure styles?

Also I do not see in Style.cs a definition for Bold, italic and normal text styles, can you provide some instruction on where those are defined or how can I change it? For instance I would like to change bold text to foreground of “White” in my application’s dark theme.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:2
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
Kryptos-FRcommented, Aug 18, 2019

Even though it is a similar question to #23, #24 and #30, I’m keeping this question opened. We do need a sample and/or a wiki page to explain in more details how to customize the styles. Seeing people asking the same repeatedly seems to stress that need.

1reaction
ytterstromcommented, Oct 28, 2019

Yes, that solved the problem. Thanks man!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Customize Your WordPress Theme (Beginner's ...
In that case, you can customize your theme by going to the Appearance » Customize page. ... Clicking on it will launch the...
Read more >
How to Customize Your WordPress Theme (5 Step-by- ...
Need to change the look of your WordPress theme? Learn how to customize WordPress themes properly using one of the best methods (tutorial)....
Read more >
How to Customize WordPress Themes
The safest way to apply WordPress theme customizations is by creating a Staging environment for your site. A Staging site is a copy...
Read more >
How to Customize WordPress theme ( Step by Step Guide ...
The easiest way to customize your theme in WordPress is via default theme customizer. Follow the steps below: ... Appearance > customize.
Read more >
Customizing themes
Customizing themes. After you choose a theme that defines the basic look and feel of your online store, you can use the theme...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found