Aerilius / sketchup-console-plus

A better Ruby Console and IDE for integrated development in SketchUp.
MIT License
42 stars 17 forks source link

Text in some console window is white on pale grey - almost ureadable #27

Open johnwmcc opened 5 years ago

johnwmcc commented 5 years ago

I've just installed the latest version from Extension Warehouse - 3.1.4 (which is now a later version than on SketchUcation - 3.0.2).

I'm using SU 2019 Pro on Mac Mojave.

When I click on the three-bar menu top right in the RubyConsole+ window, the pop up dialogue is white text on a pale grey background, and I can't read any of it until I hover the mouse over a part of it.

Looks like this when no mouse-over: image

or like this with the mouse over the top line - revealing 'New' in black. Same for other input boxes. image Is there any way I can patch this, or do I need to wait for an update?

Aerilius commented 5 years ago

It is an inconsistency how different operating systems and versions implement CSS system colors. As it seems, Chromium on macOS Mojave now messes the colors up or interpretes the usage purpose of each color differently.

You should be able to patch it in ae_console/css/console.css. In the dialog, right-click and open the developer tools. In the Chromium developer tools, activate the inspector tool (cursor-in-a-box icon) and select the text element to find out the relevant CSS rules where you can change the color in console.css. Possibly the rule for body needs to be changed from color: WindowText; to color: black; (or a similar rule) https://github.com/Aerilius/sketchup-console-plus/blob/master/src/ae_console/css/console.css#L26

This is not something I am quickly going to update, without well thinking and taking a decision first. I would prefer the dialogs to have consistent, native colors matching the platform. It is a compromise that it does not (anymore) work equally well on all platforms. A platform switch is not a good solution. Maybe I have to bite into the apple and hard-code specific colors.****