schemes icon indicating copy to clipboard operation
schemes copied to clipboard

Base24 Dracula has (some) wrong colors for bright/bold

Open clach04 opened this issue 2 months ago • 2 comments

I don't have time to fix this up just yet, but I might be able to do this in an automated fashion when I get a few minutes (I maintain the Dracula Putty port, and I generate it; I could generate a Base24 version).

A number of colors are not the official Dracula ones, compare:

  • https://github.com/tinted-theming/schemes/blob/spec-0.11/base24/dracula.yaml
  • https://spec.draculatheme.com/#sec-ANSI

for example;

@JamyGolden is it possible this is a custom variant (rather than expected to be a faithful port)?

clach04 avatar Sep 12 '25 02:09 clach04

Here is an incomplete one. Could simply diff this with the current one and merge to make a correct one:

system: "base24"
name: "Dracula"
author: "clach04"
variant: "FIXME"
#variant: "light"
#variant: "dark"
palette:
  base00: "282a36"
  base01: "21222c"
  base02: "6272a4"
  base03: "{{FIXME}}"  # TODO review
  base04: "{{FIXME}}"  # TODO review
  base05: "f8f8f2"
  base06: "f8f8f2"
  base07: "ffffff"

  base08: "ff5555"
  base09: "{{FIXME}}"  # TODO review - Orange
  base0A: "f1fa8c"
  base0B: "50fa7b"
  base0C: "8be9fd"
  base0D: "bd93f9"
  base0E: "ff79c6"
  base0F: "{{FIXME}}"  # TODO review - Dark Red or Brown, could derive dark red from base08

  base10: "{{FIXME}}"  # TODO review - consider deriving based on base00
  base11: "{{FIXME}}"  # TODO review - consider deriving based on base00
  base12: "ff6e6e"
  base13: "ffffa5"
  base14: "69ff94"
  base15: "a4ffff"
  base16: "d6acff"
  base17: "ff92df"

#based on https://spec.draculatheme.com/#sec-ANSI
#Straight mapping of ANSI values from specification as of 2024 (last updated 2021)
#Reference https://github.com/dracula/dracula-theme
#Referencs https://github.com/dracula/spec/blob/master/dracula-spec.md
#Unused: Selection : #44475A
#Unused: Orange : #FFB86C
#Source for https://github.com/clach04/dracula_putty

e.g. base09 should be FFB86C which comments sort of allude to, but diffing with https://github.com/tinted-theming/schemes/blob/spec-0.11/base24/dracula.yaml will yield something with less effort :-)

clach04 avatar Sep 12 '25 02:09 clach04

I think I updated base24 dracula last. I can't remember why I did what I did, but it's meant to be a faithful port. So I'm happy for you to change it to reflect that.

JamyGolden avatar Sep 12 '25 07:09 JamyGolden