Skip to content

IDE shows correctly picks the theme based on the OS' theme, but it's incorrectly shown in the Settings #1223

Closed
@kittaakos

Description

@kittaakos

Describe the problem

When I start the IDE for the first time and have a dark theme enabled, the IDE correctly comes up with the Dark (Arduino) theme, but the Light (Arduino) theme is shown in the Settings.

To reproduce

  • Mimic a first start, (delete ~/.arduinoIDE/settings.json and execute localStorage.clear() or equivalent)
  • Have an OS dark theme,
  • Start the IDE, (IDE starts with the dark theme ✅ )
  • Open the Settings, it shows the light theme 🐛

Screen Shot 2022-07-19 at 15 48 58

Expected behavior

The dark theme is selected.

Arduino IDE version

7680194

Operating system

macOS

Operating system version

12.3.1

Additional context

No response

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

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions