React Ink: chalkで背景色を指定したのに色が表示されない場合の対処方法
1. ChalkInstanceのコンストラクタにレベルを渡してインスタンスを自前で生成
code:typescript: questions/61453873/chalk-in-react-native-doesnt-style
const ctx = new chalk.Instance({level: 3});
Level Description
0 All colors disabled
1 Basic color support (16 colors)
2 256 color support
3 Truecolor support (16 million colors)
3. 生成したインスタンスからメソッドを呼ぶ
参照