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

Add the ability to personalize the appearance with custom colors and font settings #82

Merged
merged 13 commits into from
Dec 13, 2023

Conversation

endormi
Copy link
Owner

@endormi endormi commented Dec 13, 2023

Description

This commit enables the ability to personalize the appearance which is totally optional.

In short you need to create a file named .custom_settings.yaml and set at least one value. If the file is empty it results in an error (which why I'm not ignoring the file in .gitignore).

Here is an example YAML file:

custom:
	header_color: blue

I have created an example file named .custom_settings.example.yaml that has all of the customizable values. If you just copy that file as is, you see no difference, because they are the default values.

That's it!

This commit enables customization for the logos tool written in Python. 
The file .custom_settings.yaml will have custom values. Users need to 
create this file and follow the instructions (which will be added 
later) to be able to customize logos tool color and font. Default values 
are set if file is not found or yaml has an error.
Rename ANSIColors module file name to be more fitting. Changed from 
'color_names' to 'ansi_colors'.
This commit adds color customization support for all of the other parts 
that have color. Sets DEFAULT_COLORS and checks the 
.custom_settings.yaml file for the values. If only one value is in the 
YAML file, it uses default values for the rest. Optional file, but it
cannot be kept empty. You need to add at least one. This commit also 
changes some of the other files as well.
This commit renames docs/source/commands.md to docs/source/guide.md. It 
also rewrites scripts/copy_content script better and cleaner.
This script is not needed.
WORKDIR /usr/src/app resulted in an error for some reason.
@endormi endormi changed the title Add the ability to personalize the apperance with custom colors and font settings Add the ability to personalize the appearance with custom colors and font settings Dec 13, 2023
@endormi endormi merged commit 26498f5 into master Dec 13, 2023
7 checks passed
@endormi endormi deleted the custom_color branch December 13, 2023 18:08
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.

1 participant