iongion / container-desktop

Podman desktop companion
https://container-desktop.com/
MIT License
1.39k stars 35 forks source link

Container Logs font settings #168

Open atatarn opened 2 weeks ago

atatarn commented 2 weeks ago

Could anything be done to the fonts in Container Logs tab? Its pretty much insane right now... image

Some controls to change font type and size will be definitely appreciated.

And thanks for this piece of software, it actually does help a lot!

iongion commented 2 weeks ago

Yes, sure, makes sense to have that customizable instead of the default OS monospace, I will need to create some UI for it. Meanwhile, do you have a favorite font family ?

I will be setting these as defaults for all monospace cases to support all OSs by default, I can't ship the fonts themselves so it will pick default available on the OS, until I have the UI to set it custom.

font-family: Consolas, "SF Mono", "DejaVu Sans Mono", "Droid Sans Mono", "Ubuntu Mono", "Roboto Mono", monospace;
atatarn commented 2 weeks ago

Consolas is fine, for me personally an option to control font size & weight is more important than the family. ;)

iongion commented 2 weeks ago

Sure sure, but I need to buy myself some time 😅 - will add it

atatarn commented 2 weeks ago

Thanks! xD

iongion commented 2 weeks ago

Default fonts are now in this PR https://github.com/iongion/container-desktop/pull/169 - https://github.com/iongion/container-desktop/blob/16f7ecd83e040ecb6f32d1425026b75f0392f43b/src/web-app/themes/shared.css#L3 I've been working on it for quite some time as it includes some advanced security topics and visual improvements. As soon as that PR gets merged, will start working on generic custom settings UI that will cover the custom font family too.