Skip to content

cli_tool: Add CLI options to configure lightness range.#56

Open
prakhar1144 wants to merge 1 commit intodmester:masterfrom
prakhar1144:cli-options-lightness-range
Open

cli_tool: Add CLI options to configure lightness range.#56
prakhar1144 wants to merge 1 commit intodmester:masterfrom
prakhar1144:cli-options-lightness-range

Conversation

@prakhar1144
Copy link

@prakhar1144 prakhar1144 commented Feb 25, 2026

Currently, the CLI options offered doesn't include option to configure lightness range of colored and grayscale shapes.

The npm package itself has options to configure these, but not exposed via CLI tool.

This PR makes changes to add the following two options:

  • --lightness-color
  • --lightness-grayscale

Testing:
We're using this project at Zulip. We've patched the changes & tested it for our use case.

Example screenshots (took extreme values to easily confirm that it works):
Screenshot 2026-02-25 at 12 41 47 PM
Screenshot 2026-02-25 at 12 41 53 PM

Thanks for creating & maintaining this project.

Earlier, the CLI options offered doesn't include option
to configure lightness range of colored and grayscale shapes.

The npm package itself has options to configure these, but
was not exposed via CLI tool.

This commit makes changes to add the following two options:
* --lightness-color
* --lightness-grayscale

Signed-off-by: Prakhar Pratyush <prakhar1144@gmail.com>
@prakhar1144 prakhar1144 force-pushed the cli-options-lightness-range branch from e12eb7b to 1d7b1ab Compare February 25, 2026 07:02
@prakhar1144
Copy link
Author

@dmester A gentle ping for reviewing this PR!

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