Skip to content

Add generated syntax themes from the system accent color - #2193

Open
culpen90 wants to merge 1 commit into
CodeEditApp:mainfrom
culpen90:feat/generated-accent-themes
Open

culpen90 wants to merge 1 commit into
CodeEditApp:mainfrom
culpen90:feat/generated-accent-themes

Conversation

@culpen90

@culpen90 culpen90 commented Aug 22, 2026 •

Copy link
Copy Markdown

Description

Adds an opt-in theme mode that derives editor syntax colors from the macOS system accent color.

  • Supports complementary, monochromatic, analogous, triadic, and tetradic color harmonies.
  • Refreshes generated palettes when the system accent or appearance changes.
  • Preserves the selected base theme, syntax styling, and terminal colors.
  • Enforces readable syntax and insertion-point contrast against the editor background.
  • Adds a native Settings control, strategy picker, generated palette preview, and regression coverage.

macOS applies wallpaper-derived Desktop Tinting while rendering materials but does not expose that tint as a serializable color value. This option therefore uses NSColor.controlAccentColor and labels the source as the system accent color.

Related Issues

Checklist

  • I read and understood the contributing guide as well as the code of conduct
  • The issues this PR addresses are related to each other
  • My changes generate no new warnings
  • My code builds and runs on my machine
  • My changes are all related to the related issue above
  • I documented my code

Screenshots

CodeEdit theme settings showing the generated accent color option
@culpen90
culpen90 marked this pull request as ready for review August 22, 2026 17:51

This branch has not been deployed

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

Labels

None yet

1 participant