Skip to content

Update default shape border color and show style defaults - #12

Merged
TheoBen880 merged 1 commit into
mainfrom
fix/diagram-id-from-path
Oct 21, 2026
Merged

TheoBen880 merged 1 commit into
mainfrom
fix/diagram-id-from-path

Conversation

@TheoBen880

Copy link
Copy Markdown
Collaborator

This PR changes the default border color of diagram shapes and shows the default values in the style panel.

Before and after

Before: Shapes had a #d2d9e6 border by default. The style panel showed empty border color, width and opacity fields.

After: Shapes have a #f4f7fc border by default. The style panel shows the default border color, width and opacity, and color pickers show a default color sample when empty.

Risk

Shapes with no border color set get the new color. Reverting the PR fully undoes it.

Evidence

Not tested. I did not run a build or the app.

What changed

Improvements

  • Default shape border color is #f4f7fc.
  • The style panel shows default values. "Border Transparency" is now "Border Opacity".

Checklist

  • Update shape defaults and style panel
  • Build and check in the app

Change the default stroke for all diagram shapes from #d2d9e6 to #f4f7fc.
Add a defaultColor prop to ColorPickerInput so empty values show a
fallback swatch. Prefill border color, width, and opacity with their
defaults, and rename "Border Transparency" to "Border Opacity".
@TheoBen880
TheoBen880 merged commit a65c7df into main Oct 21, 2026
1 check passed
@TheoBen880
TheoBen880 deleted the fix/diagram-id-from-path branch October 21, 2026 02:48
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