Skip to content

fix(ui): rules use the workbench border colour through QueryaDivider - #1457

Merged
ZhuchkaTriplesix merged 1 commit into
devfrom
issue/1443-theme-dividers
Oct 11, 2026
Merged

ZhuchkaTriplesix merged 1 commit into
devfrom
issue/1443-theme-dividers

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Fixes #1443.

  • New QueryaDivider and QueryaDivider.vertical in the kit: workbench.borderSubtle by default (workbenchOrDefault, works without a theme scope), optional color, thickness, indent, endIndent.
  • All material.Divider / material.VerticalDivider and the shadcn Divider / VerticalDivider calls in lib/ use it (about 85 call sites in 40 files); the connection forms no longer draw near-black rules in the light theme.
  • Guard test/guards/no_raw_dividers_test.dart: no raw Divider( / VerticalDivider( outside the kit.
  • Widget tests for the rule's size and colour; docs/ui-kit.md migration table updated.

The unprefixed Divider calls were shadcn's, so this is also one item of #1365.

Material's Divider reads the Material dividerColor and is near-black in
the light theme (connection forms). QueryaDivider / QueryaDivider.vertical
draw workbench.borderSubtle; the 85 Divider / VerticalDivider calls in lib
use it and a guard test rejects the raw ones.

Refs #1443
@github-actions github-actions Bot added bug Something isn't working theme Theming, colors, VS Code themes frontend Theme parser epic label: frontend ui User interface components and widgets P3 Low priority / Polish & Enhancements labels Oct 11, 2026
@github-actions github-actions Bot added this to the Theme system milestone Oct 11, 2026
@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit 79f1126 into dev Oct 11, 2026
15 checks passed
@ZhuchkaTriplesix
ZhuchkaTriplesix deleted the issue/1443-theme-dividers branch October 11, 2026 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working frontend Theme parser epic label: frontend P3 Low priority / Polish & Enhancements theme Theming, colors, VS Code themes ui User interface components and widgets

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant