Skip to content

Support hex code inputs for colors - #84

Open
BradyAJohnston wants to merge 4 commits into
mainfrom
color-hex-code
Open

Support hex code inputs for colors#84
BradyAJohnston wants to merge 4 commits into
mainfrom
color-hex-code

Conversation

@BradyAJohnston

@BradyAJohnston BradyAJohnston commented May 5, 2026

Copy link
Copy Markdown
Owner

Supports supplying a string hex code for the InputString when using the python API. The nodes can't directly take it, but the supplied string will be parsed to linear sRGB and the values set on the color property.

g.Color("#ff8000")

@codecov

codecov Bot commented May 5, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 86.95652% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 97.44%. Comparing base (6cd8457) to head (f66c61c).

Files with missing lines Patch % Lines
src/nodebpy/builder/node.py 80.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #84      +/-   ##
==========================================
- Coverage   97.46%   97.44%   -0.02%     
==========================================
  Files          65       65              
  Lines       17962    17985      +23     
==========================================
+ Hits        17506    17526      +20     
- Misses        456      459       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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