[go: nahoru, domu]

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

feat(color.py): ✨ add color constants/properties #756

Merged
merged 3 commits into from
Jan 19, 2024

Commits on Jan 18, 2024

  1. feat(color.py): ✨ add color constants

    This commit adds the WHITE, BLACK, RED, GREEN, and BLUE color constants
    to the Color class in color.py. These constants represent
    the corresponding colors in the RGB color space.
    
    Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com>
    onuralpszr committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    bb4d741 View commit details
    Browse the repository at this point in the history
  2. refactor(Color): 🎨 Deprecate color methods in favor of color properties

    Deprecated the `white`, `black`, `red`, `green`, and `blue` methods in
    the `Color` class.
    Users should now use the `WHITE`, `BLACK`, `RED`, `GREEN`, and `BLUE`
    properties instead. This change improves the API and makes it more consistent.
    
    Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com>
    onuralpszr committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    6fee626 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    38bdeff View commit details
    Browse the repository at this point in the history