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

Merge develop into main for version 0.1.0 #15

Merged
merged 51 commits into from
Nov 12, 2024
Merged

Merge develop into main for version 0.1.0 #15

merged 51 commits into from
Nov 12, 2024

Conversation

Syaw0
Copy link
Owner

@Syaw0 Syaw0 commented Nov 12, 2024

Title: Merge develop into main for version 0.1.0

Description:

This pull request merges the develop branch into the main branch for version 0.1.0 of the package. The changes made in this version include:

  • Added support for colorizing terminal output
  • Implemented basic styles and effects

Syaw0 added 30 commits October 29, 2024 09:46
this struct like a placeholder to hold a ansi code and act like abstraction
these color are a 3/4 bit colors and include 16 color for each foreground and background.
this way we implement this trait for all colors and make a customized behaviour on each color system and get the foreground and background color code.
in this way we can use only one method to implement between `colors` and `formatter`
in this way we can add PaintType to list of start_styles
In this way we can easily get inside each variant and check the concrete type, that could not be done with traint objects and dyn trait
@Syaw0 Syaw0 self-assigned this Nov 12, 2024
@Syaw0 Syaw0 merged commit b65070b into master Nov 12, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant