in macOS dark mode, the font becomes #fff in my terminal, is there any way to set it to black? or just add another theme for terminal.app in macOS dark mode?
This answer might be the one you are looking for. I'm able to do this via the Terminal / Preferences setting on my MacBook in dark mode. Not just for the transparent background but different colors.
Thank you for following up.
Blockquote what I want is set a different font color in dark mode and light mode, according to your link, when I set transparency in dark mode, the color still affect in light more – user956609
If I understand correctly, the issue is setting a font color in light mode and different font colors in dark mode. If it's a question of doing so automatically when you switch modes, I'm not aware of a solution.
But manually, you can do so by selecting the text color box.
If I'm still not understanding your question correctly, my apologies. Perhaps someone else can answer.