Skip to content

Accept 8-digit hex colors with alpha in blueprint validation - #127

Open
Chessing234 wants to merge 1 commit into
omacom:mainfrom
Chessing234:fix/hex-color-accept-alpha
Open

Chessing234 wants to merge 1 commit into
omacom:mainfrom
Chessing234:fix/hex-color-accept-alpha

Conversation

@Chessing234

Copy link
Copy Markdown

Summary

  • Templates already use #RRGGBBAA, but validation rejected anything longer than #RRGGBB.
  • Accept 3/4/6/8-digit hex and cover it with a unit test.

Test plan

  • go test ./internal/color/...
  • Import a blueprint that uses #00000000

Templates already use #RRGGBBAA, but IsHexColor rejected anything longer than #RRGGBB, so alpha imports failed.

Signed-off-by: Taksh <takshkothari09@gmail.com>
@bjarneo bjarneo added the on-hold Deferred until the product scope or required behavior is defined. label Sep 15, 2026
@bjarneo

bjarneo commented Sep 15, 2026

Copy link
Copy Markdown
Member

On hold until this has a defined Omarchy use case. The native palette uses RGB colors. This change accepts alpha formats that the color converter cannot read. Define the affected fields and verify the complete import-to-output path before reconsideration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

on-hold Deferred until the product scope or required behavior is defined.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants