VAADIN cannot find themes when in productionMode

You need to add following goal to your pom.xml, which will compile the .scss files to .css files: <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>1.2.1</version> <executions> <execution> <phase>generate-sources</phase> <goals> <goal>java</goal> </goals> <configuration> <classpathScope>compile</classpathScope> <mainClass>com.vaadin.sass.SassCompiler</mainClass> <arguments> <argument>src/main/webapp/VAADIN/themes/heijunka/styles.scss</argument> <argument>src/main/webapp/VAADIN/themes/heijunka/styles.css</argument> </arguments> </configuration> </execution> </executions> </plugin> Source: http://dev.vaadin.com/ticket/10291

Change Android 5.0 Actionbar color

AppCompat does not use the android: prefixed attributes for the Material Theme color palette items per the migration guide to v21 by the author of AppCompat. Instead, just use the names themselves: <style name=”AppTheme” parent=”@style/Theme.AppCompat.Light.DarkActionBar”> <item name=”colorPrimary”>@color/primaryDef</item> <item name=”colorPrimaryDark”>@color/primaryDarkDef</item> <item name=”colorAccent”>@color/primaryDef</item> <item name=”android:navigationBarColor”>@color/primaryDarkDef</item> <item name=”android:activatedBackgroundIndicator”>@drawable/defbg</item> </style> The Action Bar will be colored by colorPrimary.

Where can I find a list of all possible keys for tm-themes for syntax highlighting?

tmLanguage scope names are based on convention, so there’s no definitive list. The “Naming Conventions” section at the bottom of this TextMate Manual page is fairly comprehensive though. You can also check what scopes are highlighted by VSCode’s default themes, see for instance dark_plus.json and dark_vs.json (which the former is based on / includes). Finally, … Read more

How to detect if OS X is in dark mode?

Don’t think there’s a cocoa way of detecting it yet, however you can use defaults read to check whether or not OSX is in dark mode. defaults read -g AppleInterfaceStyle Either returns Dark (dark mode) or returns domain pair does not exist. EDIT: As Ken Thomases said you can access .GlobalPreferences via NSUserDefaults, so NSString … Read more

How to edit default dark theme for Visual Studio Code?

In VS code ‘User Settings’, you can edit visible colours using the following tags (this is a sample and there are much more tags): “workbench.colorCustomizations”: { “list.inactiveSelectionBackground”: “#C5DEF0”, “sideBar.background”: “#F8F6F6”, “sideBar.foreground”: “#000000”, “editor.background”: “#FFFFFF”, “editor.foreground”: “#000000”, “sideBarSectionHeader.background”: “#CAC9C9”, “sideBarSectionHeader.foreground”: “#000000”, “activityBar.border”: “#FFFFFF”, “statusBar.background”: “#102F97”, “scrollbarSlider.activeBackground”: “#77D4CB”, “scrollbarSlider.hoverBackground”: “#8CE6DA”, “badge.background”: “#81CA91” } If you want to … Read more

How do you set the title color for the new Toolbar?

Option 1) The quick and easy way (Toolbar only) Since appcompat-v7-r23 you can use the following attributes directly on your Toolbar or its style: app:titleTextColor=”@color/primary_text” app:subtitleTextColor=”@color/secondary_text” If your minimum SDK is 23 and you use native Toolbar just change the namespace prefix to android. In Java you can use the following methods: toolbar.setTitleTextColor(Color.WHITE); toolbar.setSubtitleTextColor(Color.WHITE); These … Read more

Any free WPF themes? [closed]

The only one that I have found (for sale) is reuxables. A little pricey, if you ask me, but you do get 9 themes/61 variations. UPDATE 1: A WPF Contrib project … which does have 1 theme that they never released. UPDATE 2: Rudi Grobler (above) just created CodePlex community for this … starting with … Read more

MySQL Workbench Dark Theme

Here’s how to change MySQL Workbench’s colors (INCLUDING THE BACKGROUND COLOR). Open the XML file called code_editor.xml located in the data folder of the MySQL Workbench’s installation directory (usually C:\Program Files\MySQL\MySQL Workbench 6.3 CE\data). Here you’ll find a lot of styling for different code elements, but there are some missing. MySQL Workbench uses scintilla as … Read more