Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load COL_SCHEMEs from json files #166

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

baskervald
Copy link
Contributor

Based on this format:

{
    "active_tab": {
        "foreground": "light gray",
        "background": "light blue"
    },
    ...
}


# Read .col files
attributes = {'active_tab', 'inactive_tab', 'msg_date', 'msg_sender', 'msg_text', 'status_line', 'tab_background'}
for root, dirs, files in os.walk(default_colors_path):
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like a waste to load all the colour schemes when we already know which one the user wants. Can you make it just load the file that's specified?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants