Building posting.sh, the HTTP client that runs in the terminal.
https://darren.codes
Textual themes only change the values in the CSS design system variables, like $primary, $accent, $surface, etc. Textual themes will never change the value of `red`.
Textual themes only change the values in the CSS design system variables, like $primary, $accent, $surface, etc. Textual themes will never change the value of `red`.
In Textual 1, if you write `red` in markup it gives Monokai-purple-red, unless you do the thing I shared above.
In Textual 2, it gives web-color red (255, 0, 0), which happens to match ANSI bright_red.
In Textual 1, if you write `red` in markup it gives Monokai-purple-red, unless you do the thing I shared above.
In Textual 2, it gives web-color red (255, 0, 0), which happens to match ANSI bright_red.
Although on trying it I realised the new Textual 2 markup uses web colours, so "red" now corresponds to ANSI bright_red rather than the Monokai shade.
Although on trying it I realised the new Textual 2 markup uses web colours, so "red" now corresponds to ANSI bright_red rather than the Monokai shade.
The default maps to Monokai colours because reasons 😆
The default maps to Monokai colours because reasons 😆
Thanks Rodrigo!
Thanks Rodrigo!