Sphinx PDF themes

Firstly, Sphinx doesn’t generate PDF output by itself, though there are three general methods to get from Sphinx source files to PDF output: Use the Latex builder, and then a separate tool like latex2pdf to generate the PDF output Use the Sphinx plugin from the rst2pdf project Use the rinoh Sphinx builder provided by rinohtype … Read more

How to change diff color Visual Studio Code

Updating background color Since you need to update background only. The only issue in your config earlier was there was no alpha channel specified. You can update it like below “workbench.colorCustomizations”: { “diffEditor.removedTextBackground”: “#FF000055”, “diffEditor.insertedTextBackground”: “#ffff0055” } Where 55 is the alpha channel value. The updated values will have below effect Why it’s not possible … Read more

Asp.Net MVC Themes, how to?

Here’s my code that I’ve been using for implementing “Themes” in ASP.NET MVC: ASP.NET MVC: Implement Theme Folders using a Custom ViewEngine It’s nice when you’re able to just swap out CSS files to change the theme, but this really isn’t very practical in a ton of cases. Especially when each theme needs to have … Read more

GWT theme style overrides my css style

This post on the GWT mailing list describes an alternative solution. You have to create a new ClientBundle which references your CSS file: import com.google.gwt.core.client.GWT; import com.google.gwt.resources.client.ClientBundle; import com.google.gwt.resources.client.CssResource; public interface Resources extends ClientBundle { public static final Resources INSTANCE = GWT.create(Resources.class); @Source(“style.css”) @CssResource.NotStrict CssResource css(); } And then inside your onModuleLoad() method you have … Read more