nunomaduro / termwind

🍃 In short, it's like Tailwind CSS, but for the PHP command-line applications.
MIT License
2.27k stars 76 forks source link

Styles are not applied on iterm #145

Closed Sergiobop closed 2 years ago

Sergiobop commented 2 years ago

Hello everyone

I didn't know whether to create this issue in this repository or in the Laravel repository. I have created the issue here since in the latest version of Laravel this package is used under the hood for the refreshed UI.

New Laravel commands don't render properly when using iterm, for example, the new php artisan about command:

Iterm:

Captura de Pantalla 2022-07-20 a las 10 40 37

Terminal:

Captura de Pantalla 2022-07-20 a las 10 41 28

Is there something I have to configure beforehand or am I missing something?

Thanks a lot

xiCO2k commented 2 years ago

Hey @Sergiobop, it looks like it something related with your theme, can you try another and let me know if it works?

Thanks.

Sergiobop commented 2 years ago

I fresh installed the PowerLevel10k (had PowerLevel9k) following these steps https://gist.github.com/kevin-smets/8568070 (ZSH_THEME="powerlevel10k/powerlevel10k")

The issue is still here. Screenshot:

Captura de Pantalla 2022-07-20 a las 11 07 40

I tried the "agnoster" theme too, same results.

Might be a theme issue, tried "Tango dark" and it works fine

Thanks @xiCO2k

xiCO2k commented 2 years ago

Check this comment: https://gist.github.com/kevin-smets/8568070?permalink_comment_id=4040810#gistcomment-4040810

Probably related.

Sergiobop commented 2 years ago

Ok some achievements here:

Unchecking "Brighten bold text" in iTerm profile color settings fixed the color problems:

Captura de Pantalla 2022-07-20 a las 11 17 04

Adjusting the "Minimum contrast" from 0 to 15:

Captura de Pantalla 2022-07-20 a las 11 18 26

Thanks a lot @xiCO2k

xiCO2k commented 2 years ago

Awesome! glad you solved it.