-
Notifications
You must be signed in to change notification settings - Fork 747
Closed
Description
@jonathanslenders It seems that the interpretation of all the ansi-color names changed with PTK2.
Now "ansired" is the dark color (instead of ansidarkred
) and ansibrightred
is new key for bright red.
In xonsh (atleast on windows without VT100) going to PTK 2 changes almost all colors from bright to dark (because on windows we had a hack that only used light colors)
I like the new names much better but they conflict a bit with pygments which still uses the old names.
Shouldn't functions like style_from_pygments_cls()
and style_from_pygments_dict()
map the old names to the new names?
PTK 2 | Pygments |
---|---|
ansiblack | ansiblack |
ansired | ansidarkred |
ansigreen | ansidarkgreen |
ansiyellow | ansibrown |
ansiblue | ansidarkblue |
ansimagenta | ansipurple |
ansicyan | ansiteal |
ansigray | ansilightgray |
ansibrightblack | ansidarkgray |
ansibrightred | ansired |
ansibrightgreen | ansigreen |
ansibrightyellow | ansiyellow |
ansibrightblue | ansiblue |
ansibrightmagenta | ansifuchsia |
ansibrightcyan | ansiturquoise |
ansiwhite | ansiwhite |
Metadata
Metadata
Assignees
Labels
No labels