Support built-in vega themes
See original GitHub issueSee vega-themes. Themes should be supported via the current theme infrastructure, maybe something like this:
alt.themes.enable('vega.themes.dark')
We’ll have to think about how to best populate the list of available themes, and how to make this work cleanly with user-specified themes from within Altair.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:17 (12 by maintainers)
Top Results From Across the Web
vega-themes - npm
A Vega theme is a configuration object with default settings for a variety of visual properties such as colors, typefaces, line widths and ......
Read more >Config | Vega
A config object defines default visual values to set a visualization's theme. The Vega parser accepts a JSON configuration file that defines default...
Read more >Vega Pro - One Page Multipurpose WordPress Theme
Beautifully designed WordPress theme loaded with options perfect for small businesses and blogs, that also doubles as a one page website if needed....
Read more >Vega - Creative HTML5 Responsive Website Template
Introducing Vega, a modern fully responsive UI kit template for design studios and creative agencies. With stylish dark look, different layout options, blog ......
Read more >Vega | Photography WordPress by ThemeGoods - ThemeForest
Vega is a clean and minimalist Wordpress theme for photography, ... Built-in Shortcode Generator plugin; Custom Post Type support for ...
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
I made a little demo at https://beta.observablehq.com/@domoritz/vega-themes-demo. The themes are definitely not tuned yet but having the infrastructure in place will be useful in the future and I hope that we get people to help with improving the themes.
Update: Vega-Embed now supports
userMeta.embedOptions
.Themes are still developing and have not reached the maturity of Vega and Vega-Lite. You can always bake a theme into the spec as a config. Right now, Vega and Vega-Lite have no dependency on Vega-Themes and I think that’s a good thing at this point.
usermeta
is already a supported property in Vega and Vega-Lite so I put it in there."config": "theme"
would require updates to Vega and Vega-Lite and also is less flexible compared to supporting all embed options.