It's completely different to snip a cheap wire lock or even just pull hard on it and have the lock break versus pulling out the angle grinder and making a huge racket for a minute.
I know it's not the point but fun fact we've had big billboards advertising a specific OnlyFans account in a few cities in Portugal, with matching picture (not full nudity).
My half solution is to use a keyboard that physically feels quite different to help my brain use a different mode. The Linux keyboard is a big heavy mechanical keyboard while on the macbook I just use the built-in keyboard.
It's not a perfect solution and I still make mistakes, but it helps.
I'm not sure that I fully understood the theming aspect but one point I think is that the standard 8/8 ANSI colors are presumably picked to be readable by the terminal theme itself, independent from your application.
So if you just use those in your application you don't know the actual colors that the user will see on their screen but you know that they will be something readable.
The main value is that you only have to make sure that a small amount of code surrounding the unsafe block is safe, and hopefully you provide a safe API for the rest of the code to use.