Custom Color Schemes

You can add new color scheme items to one menu, preferably the tools menu. However, the appearance dialog will still include only the default color schemes, and will not take into account your menu additions. If you wish to modify the dialog also, follow instructions in the section below. Note that it is not necessary in order to enjoy custom color schemes.

Syntax

menu.ini

Item, "Scheme Name" = Set skin coloring, #XXXXXX 

dialog.ini

Set skin coloring, #XXXXXX,,"Scheme Name"

where XXXXXX stands for the HexColorCode?.

Menu

Choose an appropriate scenario, and follow the instructions.

Scenario 1: you do not have a custom menu

  1. Open tools » preferences » advanced » toolbars.
  2. In the menu setup section, select the Opera Standard file, and click the button
  3. Now rename this file to your heart's content by selecting the new duplicate and clicking the button, and typing the name in the highlit field
  4. Close preferences by clicking , and close Opera
  5. Open the installation folder, and find the /profile/menu/ folder. Open it, and find your duplicate file. Open it in Notepad or any other text editor.
  6. In this file, find the following section: [Color Scheme Menu]
  7. Add one or more lines at the end of this section. An example:
Item, "Bluish" = Set skin coloring, #3366CC

Scenario 2: you do have a custom menu

  1. In your custom menu file, find the following section: [Color Scheme Menu] and add one or more lines at the end of this section.
  2. If there is no such section, copy it over from the /defaults/standard_menu.ini file, and then proceed as in 1. An example of a line you might add:
Item, "Bluish" = Set skin coloring, #3366CC

Dialog

My advice is to leave the dialog alone, unless you are paranoid about Ordnung, and wish to have the dialog color schemes correspond to the menu color schemes.

  1. In the main Opera directory, find dialog.ini. Open it in any text editor with Opera closed.
  2. In this file, find the following section: [Customize Toolbar Dialog]
  3. In this section find a line that begins with: Dropdown, 0, 0, 100, 290, 150, 23, Move down. This line is where we add/remove color schemes.
  4. Add new color schemes by appending them at the very end, according to the syntax cited in the beginning of this article, separating a new entry from old entries with |. An example follows below:

Example 1

In this example, I removed all colors except no color and system color. Then I appended one of my own, using | as a separator.

Dropdown, 0, 0, 100, 290, 150, 23, Move down = Disable skin coloring,,,67433 | Use system skin coloring,,,67434 | Set skin coloring, #3366CC,,"Moose 3366CC"

Example 2

This is example 1, with one more color scheme added:

Dropdown, 0, 0, 100, 290, 150, 23, Move down = Disable skin coloring,,,67433 | Use system skin coloring,,,67434 | Set skin coloring, #3366CC,,"Moose 3366CC" | Set skin coloring, #6699CC,,"Moose 6699CC"
Categories

CategoryOpera
CategoryTutorial

Backlinks
There are 4 comments on this page. [Display and/or add comments]