Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
johnwmcc opened this issue Jun 26, 2019 · 1 comment
Open

Comments

@johnwmcc
Copy link

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
Copy link
Owner

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.****

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants