Skip to content

"Edit in settings.json" link invisible when using "Light (Arduino)" theme #1537

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

Open
3 tasks done
per1234 opened this issue Oct 5, 2022 · 0 comments
Open
3 tasks done
Labels
topic: code Related to content of the project itself topic: theme Related to GUI theming type: imperfection Perceived defect in any part of project

Comments

@per1234
Copy link
Contributor

per1234 commented Oct 5, 2022

Describe the problem

There are two commands that can be used to adjust the IDE's advanced settings:

  • "Preferences: Open Settings (UI)"
  • "Preferences: Open Settings (JSON)"

The first of these opens a convenient graphical interface which provides direct control over most settings. However, certain settings can only be adjusted by editing the settings.json file directly. These are listed in the GUI-based "Preferences" view, with an "Edit in settings.json" link that opens settings.json with the setting populated and selected when the user clicks the link.

🐛 The color of the "Edit in settings.json" link has extremely low contrast against the background color when the "Light (Arduino)" theme is active, rendering it almost invisible. The users will be unlikely to see the link and so will not have any way to know how to adjust these settings.

To reproduce

  1. Select File > Preferences... from the Arduino IDE menus.
  2. Select "Light (Arduino)" from the "Theme" menu.
  3. Click the OK button.
  4. Press the Ctrl+Shift+P keyboard shortcut (Command+Shift+P for macOS users) to open the "Command Palette".
  5. Select the "Preferences: Open Settings (UI)" command from the menu.
  6. A "Preferences" tab will now open in the Arduino IDE. In the "Search Settings" field of that tab, type editor.rulers
    This is one arbitrary example out of the many settings that have this link.

🐛 The "Edit in settings.json" link is nearly invisible:

image

Expected behavior

The "Edit in settings.json" link has good contrast against the background color when using any of the supported themes.

Arduino IDE version

2.0.1-snapshot-0c20ae0

Operating system

Windows

Operating system version

10

Additional context

The issue does not occur when one of the other two supported themes ("Dark (Arduino)" and "High Contrast (Theia)") are selected.


Related

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details
@per1234 per1234 added topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project labels Oct 5, 2022
@per1234 per1234 mentioned this issue Oct 5, 2022
3 tasks
@kittaakos kittaakos added the topic: theme Related to GUI theming label Oct 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself topic: theme Related to GUI theming type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants