themes

Dark theme android app

╄→гoц情女王★ 提交于 2020-03-17 12:00:10
问题 I'm trying to create a dark theme similar to the one in OxygenOS on OnePlus devices. I changed the window background to black but the problem is the action bar is not becoming pure black. <style name="DarkTheme" parent="Theme.AppCompact"> <item name="android:colorPrimary">@color/black</item> <item name="android:colorPrimaryDark">@color/black</item> <item name="android:textColorPrimary">@color/white</item> <item name="android:colorAccent">@color/white</item> <item name="android:color">@color

Hook into the WordPress Theme Customizer save action

爷,独闯天下 提交于 2020-02-29 21:13:16
问题 I am facing the following issue : I used to keep all the styling in a theme options page. When the user clicked the save button, i had a backend script that generated a css file with the changes so that they will not be output inline in each page. This has a lot of benefits, amongst them caching. I have switched to the Theme Customizer, and everything is fine except i can't find a way to hook into the the "save" button. I would like to trigger a function that updates the content of the css

Complete list of theme elements to colorize?

你说的曾经没有我的故事 提交于 2020-02-23 04:24:13
问题 Is there a list of all the customizable theme color elements for a visual studio theme ? For example, I don't know how to customize the file browser color, such as the equivalent to hover one, or the scroll bar. In textmate themes, I can't find such elements. Or maybe you can point me to 'high-contrast' theme source, as it gots all these elements customized. For example, how to you change color of the scroll bar ? 回答1: VS Code's background, text, and language syntax colorization can be

Express and Handlebars: Implementing multiple themes

为君一笑 提交于 2020-02-06 07:52:49
问题 I and the team got a task to implement multiple themes for our project (keeping in mind that we have a single-theme project right now). By theme I don't mean just CSS , I mean different markup files, certain features for certain things, etc. (If you don't like the word 'theme' in this context don't use it, I hope you get the idea: some things need to be reused across the codebase, some things need to be specific to a theme ). Overall, we have no problem of structuring it in a maintainable way

Custom Oh My Zsh theme: long prompts disappear / cut off

心已入冬 提交于 2020-02-03 04:19:30
问题 I had a go at making my own Oh My Zsh theme earlier. All is well, except when I type long lines in the prompt (any longer than the line seen below), the line disappears. The line re-appears if I resize the window, however. Is there something in my theme that is causing this to happen? If I type an additional character and then erase one, the cursor appears at the edge of the window. You can view the code for the theme here. Here’s the bit I think we are concerned with: # Build the prompt

Android application theming on Sense phones

六眼飞鱼酱① 提交于 2020-02-02 11:30:06
问题 I've hit a brick wall on a UI item with regard to applications on sense phones. I have been unable to craft search queries on google or SO to find any reference to what I'm after. Is there a way that I can have my application theme its UI styles to match the phone's currently applied style? I'm basically after the styles for different UI widgets (check boxes, spinner, button, etc). I have a myTouch 3G Slide which is running the Espresso variant of HTC Sense. Update: (Thanks @Macarse for the

Android application theming on Sense phones

旧巷老猫 提交于 2020-02-02 11:29:22
问题 I've hit a brick wall on a UI item with regard to applications on sense phones. I have been unable to craft search queries on google or SO to find any reference to what I'm after. Is there a way that I can have my application theme its UI styles to match the phone's currently applied style? I'm basically after the styles for different UI widgets (check boxes, spinner, button, etc). I have a myTouch 3G Slide which is running the Espresso variant of HTC Sense. Update: (Thanks @Macarse for the

Error: No resource found that matches the given name: attr 'listViewStyle'

时间秒杀一切 提交于 2020-02-01 08:21:31
问题 I am trying to theme my default listview theme. I have read a lot of stuff on the web and they are all saying this should work: <style name="Theme.MyTheme" parent="@style/Theme.Sherlock.Light"> <item name="textColor">@color/darkblue</item> <item name="listViewStyle">@style/MyListViewTheme</item> </style> with this theme for the ListView: <style name="MyListViewTheme" parent="@android:style/Widget.ListView"> <item name="android:textColor">@color/darkblue</item> <item name="android:typeface"

Error: No resource found that matches the given name: attr 'listViewStyle'

岁酱吖の 提交于 2020-02-01 08:20:12
问题 I am trying to theme my default listview theme. I have read a lot of stuff on the web and they are all saying this should work: <style name="Theme.MyTheme" parent="@style/Theme.Sherlock.Light"> <item name="textColor">@color/darkblue</item> <item name="listViewStyle">@style/MyListViewTheme</item> </style> with this theme for the ListView: <style name="MyListViewTheme" parent="@android:style/Widget.ListView"> <item name="android:textColor">@color/darkblue</item> <item name="android:typeface"

How to set default WPF Window Style in app.xaml?

爱⌒轻易说出口 提交于 2020-01-26 08:46:59
问题 I am trying to set the default Style for every window in my WPF Windows application in my app.xaml. So far i have this in app.xaml: <Application.Resources> <ResourceDictionary> <Style x:Key="WindowStyle" TargetType="{x:Type Window}"> <Setter Property="Background" Value="Blue" /> </Style> </ResourceDictionary> </Application.Resources> I can get the window to appear with this style when running the app (but not is VS designer) by specifically telling the window to use this style via: Style="