Repository navigation
Conversation
Add the system-only draw_ink_color policy. Its value is exposed as draw-ink-color in the sign-elements capabilities and used as the initial pen color of the draw signature pad. The default stays black and signers can still pick another color. Signed-off-by: no84by <50858621+no84by@users.noreply.github.com>
This was referenced Nov 18, 2026
Author
|
Screenshots (test instance on main 7a8403d vs this branch, light and dark theme): Policy card "Default ink color"
Draw pad starts with the configured colour
Rule dialog with the colour swatch
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.










Part of #9048 (signature appearance).
Summary
Adds a system-only
draw_ink_colorpolicy. Its value is exposed assign-elements.draw-ink-colorin the capabilities and used as the initial pen colour of the draw signature pad. The default stays#000000. Signers can still pick another colour in the pad. Invalid values (anything but#rrggbb) are rejected on save.How to test
In the admin policy workbench, under signer experience, set "Default ink color for drawn signatures". Open the draw signature tab: the pad and the colour swatch start with that colour, and the picker still changes it.
Validation evidence
Editor, PHPUnit for the policy and capabilities)vue-tsc, translator hints)generate-specandopenapi-typescriptUI / Front-end changes
API / Back-end changes
draw_ink_color, capabilitysign-elements.draw-ink-colorcomposer openapiwhen necessaryChecklist
AI (if applicable)