question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support 'theme files'

See original GitHub issue

Hi all,

This is more of a feature request than bug report.

Recently I’ve been looking at the interesting base16 project, which already supports various IDEs and software, and was thinking I could port these themes to Spyder.

However the way Spyder handles color schemes is quite inconvenient. If I understand correctly all themes are store in a subsection of spyder.ini? Also, while the interface created by @goanpeca (https://github.com/spyder-ide/spyder/pull/2861) in Spyder 3 is great, when creating many themes it is usually faster to edit a text file rather than the current gui-based method.

I wonder if it wouldn’t be more practical to have single theme files instead, which would be stored in a given themes folder. Spyder could scan the contents of this folder on startup. This of course would be perfectly compatible with the current GUI method, but would have the benefit of making importing 3rd party themes very easy.

(PS: you can visualise the many base16 color schemes here: http://chriskempson.github.io/base16/)

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:1
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
ccordoba12commented, Dec 2, 2016

This doesn’t require GUI work on your side. Just

  1. Move the theme definitions from spyder/config/main.py to spyder/themes as json files (each theme in a file).
  2. Code a function that reads those files, transforms them to dictionaries and adds them back to spyder/config/main.py.
0reactions
goanpecacommented, Jan 19, 2017

@mariacamilaremolinagutierrez this work is related to the theming functionality we want to have so please work on this one 😃

Lets have an open mind already about themes that include both the application look and the editor look.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Required Theme Files | Theme Developer Handbook
Classic themes must include the required theme files. ... This file should provide support for threaded comments and trackbacks, and should style author ......
Read more >
Stencil Themes - BigCommerce Support
Using Page Builder; Downloading and uploading custom themes; Custom theme actions; Custom template file; Editing Stencil theme files; Adding custom scripts ...
Read more >
Customizing your help center theme - Zendesk help
Web-savvy Guide admins can work directly with the page code to build a customized theme for your help center. Customized themes can include:....
Read more >
Theme support - Shopify Help Center
The Shopify Design forum provides guidance on how to edit HTML, CSS, or Liquid to customize your online store. If you need help...
Read more >
Generate Theme Support Function - GenerateWP
Copy the code to your project. Or save it as a snippet and share with the community. ... If you are still learning...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found