MarkEdit icon indicating copy to clipboard operation
MarkEdit copied to clipboard

[Feature Request] Show a theme extension's name in the theme picker

Open stefmf opened this issue 1 month ago • 2 comments

Confirmation

  • [x] I have searched the wiki and existing issues, and this is not a duplicate.
  • [x] I have checked the Customization guide and this isn't already possible with user scripts or custom styles.

Description

When a theme extension built with markedit-theming overrides a mode, Settings > Editor still shows the built-in theme it replaced. I use an extension that applies Alucard (Dracula's official light theme) in light mode, and the Light Theme picker reads "GitHub" even though the editor is showing Alucard. MarkEdit-theme-catppuccin behaves the same way.

It would help if an extension could give its theme a display name, and optionally a color pattern, so the picker shows what is actually active. For example:

overrideThemes({
  light: { name: 'Alucard', extension, colors },
});

If that's too much, a hint like "GitHub (overridden by an extension)" would still make it clear which theme is in use.

This keeps new themes out of the app, in line with #949, and only changes how the picker labels them.

stefmf avatar Oct 12 '26 08:10 stefmf

This is in my backlog, I didn't pick it up mainly because I don't have a perfect/clean solution.

Like you mentioned, theme extensions are used to override a chosen theme, and event worse, enabling multiple theme extensions are fine...

I will consider you idea by showing a subtitle.

cyanzhong avatar Oct 12 '26 09:10 cyanzhong

I'd use something like this:

image

cyanzhong avatar Oct 13 '26 13:10 cyanzhong