[themes] Themes don't support background styling
See original GitHub issue.tmTheme files allow specification of background colors which don’t seem to be supported, for example:
<dict>
<key>name</key>
<string>Separator</string>
<key>scope</key>
<string>meta.separator</string>
<key>settings</key>
<dict>
<key>background</key>
<string>#E0E0E0</string>
<key>foreground</key>
<string>#373B41</string>
</dict>
</dict>
This is especially problematic for themes that attempt to invert background and use a similar foreground to the text view’s background color (https://github.com/Microsoft/vscode/issues/2158)
Issue Analytics
- State:
- Created 8 years ago
- Reactions:436
- Comments:111 (24 by maintainers)
Top Results From Across the Web
Styles and Themes - Android Developers
Styles and themes on Android allow you to separate the details of your app design from the UI structure and behavior, similar to...
Read more >Backgrounds Styling (Theme Options > Main Content > Layout ...
We are going to describe about Backgrounds Styling options available under Main Content > Layout & Backgrounds section of Theme Options in ...
Read more >Customize Your Site's Background – WordPress.com Support
If you don't see Colors & Backgrounds under Customize, your theme does not support changing the colors and backgrounds.
Read more >Apply a professional look to your drawings with themes
To remove the theme from selected shapes, on the Home tab, in the Shape Styles group, click Remove Theme. Some themes also contain...
Read more >Setting Android Theme background color - Stack Overflow
Because the styles in the values/styles.xml file are available for all versions, your themes in values-v21/styles.xml can inherit them.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We had it in, but turned it off as it conflicted badly with the other background decorations we have (selection, word highlighting). I’d say we accept this as limitation and tell to better use themes that don’t rely on background colors.
It’s such a handy feature of tmThemes though to draw attention to important things. it’s used frequently across themes for invalid and deprecated scopes.