schemes icon indicating copy to clipboard operation
schemes copied to clipboard

Fix #79 - Match official Dracula spec

Open clach04 opened this issue 2 months ago • 3 comments

From https://spec.draculatheme.com/#sec-ANSI

clach04 avatar Sep 13 '25 16:09 clach04

I think this is ready for review.

Quick compare:

image

DraculaTinted is the previous colors in this repo.

More screenshots coming. Minimal testing performed.

My Text editor looks correct, I think the old color scheme looked good too, it just wasn't the official colors. It might be worth retaining with a different name?

I've commented on colors that are not in Dracula spec, but they fill in gaps. It may make sense to switch the base00-07 colors around a little? Possibly in a later change?

With this change the Putty generated output from https://github.com/tinted-theming/tinted-terminal is the same as the official Dracula Putty https://github.com/dracula/putty/ - with 2 minor exceptions which could be considered a matter of taste (and still within the official Dracula color scheme); Colour7 (ANSI Black Bright) and Colour20 (ANSI White). To be clear, the Official Dracula Putty is the faithfully correct one. ~~This may be an issue with the https://github.com/tinted-theming/tinted-terminal Base24 Putty template~~ - EDIT I need to revise base02 and base06, those are used for Colour7 (ANSI Black Bright) and Colour20 (ANSI White) which is consistent with https://github.com/tinted-theming/base24/blob/main/styling.md.

Official color scheme for Putty screenshot in https://github.com/dracula/putty/issues/12

clach04 avatar Sep 13 '25 16:09 clach04

Before and after image

Official:

image

clach04 avatar Sep 13 '25 17:09 clach04

@JamyGolden - I need some advice. I do NOT see a way to reconcile the two remaining differences:

  • base02 -used for Putty Colour7 (ANSI Black Bright) - also used for Selection for non-terminals
  • base06 - used for Putty Colour20 (ANSI White)

For both Terminals (base24, I'm ignore base16 terminals) and Text Editors.

Should Base16 version of a scheme match the first 16 colors in Base24? I'm wondering if I make Dracula different, with the bas24e having different base02 and base06 colors. That way, selection color is preserved as per the Dracula spec for (base16) text editors, and the correct Dracula colors are used for terminals (for Base24). It seems like whatever is done it will be imperfect, what's the least worst thing to do?

This may be another edge case that reinforces the need for your idea for more granularity on color names.

Side note, I wish base10 and base11 had been used for ANSI white and black...

clach04 avatar Sep 13 '25 17:09 clach04