Skip to content

Theme standalone Obsidian data file selections and active lines - #97

Open
AnPod wants to merge 1 commit into
review/upstream-quattro-2026-10-15from
fix/obsidian-data-file-colors
Open

AnPod wants to merge 1 commit into
review/upstream-quattro-2026-10-15from
fix/obsidian-data-file-colors

Conversation

@AnPod

@AnPod AnPod commented Oct 15, 2026

Copy link
Copy Markdown
Owner

Data Files Editor embeds a standalone CodeMirror editor whose default selection and active-line colors ignore the generated Omarchy theme. Selected text can become difficult to read, especially on dark themes.

Scope selection colors to .datafile-source-view.mod-cm6 using the existing theme variables. Give the active line and gutter a distinct mix of selection and primary-background colors.

Upstream issue: omacom/omarchy#9405.

Validation:

  • Ran real Obsidian 1.14.4 with Data Files Editor 1.4.0 in an isolated vault under Xvfb. Inspected before/after active-line and selection screenshots in Tokyo Night and Catppuccin Latte; computed selection, line, and gutter colors match the intended palette.
  • Normal Markdown screenshots are pixel-identical before and after in both themes.
  • The template suite, full ./test/cli suite, and git diff --check pass.

Upstream submission: Open this change against omacom/omarchy. This review targets a snapshot of upstream quattro at 246f33a2fef66411c990860d88e0823ae83987fc; the GitHub integration cannot create PRs in the upstream repository.

@AnPod
AnPod marked this pull request as ready for review October 15, 2026 15:01
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