I've fixed this in my own theme that I apply on top of zenburn by defining the ansi color faces like this
(zenburn-with-color-variables
(custom-theme-set-faces
'aardvark179-custom
`(ansi-color-black ((t (t :foreground ,zenburn-bg :background ,zenburn-bg))))
`(ansi-color-red ((t (:foreground ,zenburn-red :background, zenburn-red))))
`(ansi-color-green ((t (:foreground ,zenburn-green :background ,zenburn-green))))
`(ansi-color-yellow ((t (:foreground ,zenburn-yellow :background ,zenburn-yellow))))
`(ansi-color-blue ((t (:foreground ,zenburn-blue :background ,zenburn-blue))))
`(ansi-color-magenta ((t (:foreground ,zenburn-magenta :background ,zenburn-magenta))))
`(ansi-color-cyan ((t (:foreground ,zenburn-cyan :background ,zenburn-cyan))))
`(ansi-color-white ((t (:foreground ,zenburn-fg :background ,zenburn-fg))))
))
But this doesn't cover bright variants, and I'm not sure if darker variants should be used for the background colors.
I've fixed this in my own theme that I apply on top of zenburn by defining the ansi color faces like this
But this doesn't cover bright variants, and I'm not sure if darker variants should be used for the background colors.