Child pages
  • Developer Configuration and Themes

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: SVY-11871 [dark theme] fix visibility of certain parts -restore preferences

...

Go to Window -> Preferences menu, then under General, on the Appearance page select the new theme, and click Apply.

 

...

Dark Theme Configurations

In case a dark theme is selected, it is necessary to:

  1. configure the script editor with the dark

...

  1. theme 
  2. set a preference to use the

...

  1. dark theme icons.

Since the script editor colors do not change automatically when switching to the dark theme, the script editor colors can be changed directly on the preferences page  or by importing a preferences file:

1A. Syntax Coloring of the Script Editor Preferences

On the page below you can pick the preferred colors for the script editor:

Image Added

 

1B. Default Dark Theme Preferences for the Script Editor

A default preferences file is available to make the code readable on a dark background. 

Note
titleBackup Preferences

Before importing the script editor preferences it is a good idea to first backup your preferences to be able to restore them later.

In order to backup, go to File -> Export, and from General select Preferences. In the next screen select which preferences to export, choose a file name and location and click Finish.

To import the script editor syntax coloring preferences:

  1. download the preferences file script_editor_preferences.epf
  2. go to File-> Import and under General select Preferences
  3. On the import page select the downloaded preferences file, make sure Import all is checked and click Finish.

    Image Added

To restore the syntax editor coloring:

  1. on the syntax coloring preferences page click Restore Defaults
    Image Added
  2. import the default.epf preferences file to restore content assist preferences

2. The Dark theme icons Preference

 Next, go to the Servoy Preferences page to set "Use dark theme icons".

 Please note that a restart is required after setting

...

this preference.