Color Schemes for Themes

Forums » General Opera topics » Customizing Opera

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

9. November 2008, 03:01:25

Bomchickawowwow

doesn't understand this.

Posts: 18

Color Schemes for Themes

A post in less than a minute, eek. I posted this because a long time ago, I read Serafin's comments on I think the first O'Simple, and there was some codes that you could put in the .ini files so that you would have colors like Slate, Alice Blue, etc. and I was wondering if anyone had this code. If you do, can you please post it here?
CHACARON!!!!

9. November 2008, 03:30:11

Moderator

sgunhouse

Volunteer

Posts: 64865

I'll have to edit it for the current version ... I have a menu setup which adds the color scheme menu back on the View menu, but the one I uploaded 3 years ago isn't completely compatible with 9.5+ - if you install it, the menu won't have a label. Give me a minute ...

9. November 2008, 03:33:50

Moderator

sgunhouse

Volunteer

Posts: 64865

color_menu.ini

Save the linked file to the menu folder in your profile, then go to Preferences > Advanced > Toolbars and select the "Color scheme menu" you'll see there.

10. November 2008, 00:46:33 (edited)

Pizzapops

aka RUBOT

Posts: 217

I added the big color menu some time ago but was never totally satisfied with it. Too many similar colors, some that seemed to have no effect and having to do several mouse clicks to make a different selection. This weekend I decided to modify the standard_skin.zip and dialog.ini to come up with something more user friendly. After MUCH trial and error, I ended up using a color wheel and colors in 10 degree increments for a 36 color total. Originally I was hoping for 8 steps for each color but cut back to 3 to give more noticable changes in the steps. The following is my end result:
























Notes:
1. Colors have no effect on native skins (normal).
2. A couple skins do not show the color icons. (Why?)
3. Toggle buttons are standard Opera selections plus white.
4. Requires replacing the default standard_skin.zip and dialog.ini (A no-no) eek
Remember to make backups. An upgrade will wipe them out.

If there is any interest in my modifications, download at your own risk! Constructive criticism appreciated.
Standard_skin.zip
dialog.ini

Pizzapops aka Rubot

Update: download should work. case sensitive?
Opera 12.15 - dual boot Windows 7 Ultimate 64 & Mepis Linux 11-64- Custom I7 Quad Processor 8Gb RAM - 24" HDMI fp
Opera User since 3.0 - My Opera skins * Custom Color Schemes

12. November 2008, 09:25:48

tomu

Posts: 850

Excellent amazing work Pizzapops!


# About the `not working` skins: unfortunately a lot of skinners forget to change the fallback foreground/background entries in the section [Options] of the skin.ini. The concerned entries in EVERY custom skin should be as follows:

[Options]
...
Fallback foreground = 1
Fallback background = 1
...

The value 0 for both entries is ONLY intended for the Standard_skin.zip which works as fallback repository for custom skins. If a custom skin have the value 0 for these entries, then this skin is unsuitable for future things like new buttons (foreground) or new toolbars (background) - unimportant if the new things comes from Opera or you or another one!

In the case of your color pick extension, all the custom skins which have `Fallback foreground = 0` are not capable to display the color buttons - the way to the concerned entries in your standard_skin.zip is locked by the entry `Fallback foreground = 0`.

So it is my appeal to all the skinners: CHANGE YOUR FALLBACK ENTRIES TO 1!


#Pizzapops: perhaps you can add the changed/additional sections for the dialog.ini and skin.ini separately, so interested people are able to change/add them in future Opera versions too. Perhaps the current size of the color buttons is a bit to large for smaller screens.


tomu
ttt-buttons and skins

12. November 2008, 10:52:25

ZAHEK

z@h3k

Posts: 7565

@tomu
it is really a good determination.I have being searched for a while this smile
thanks.it is working now.

13. November 2008, 04:32:45

Pizzapops

aka RUBOT

Posts: 217

#Tomu,

Per your suggestion, I have made some size adjustments. I only had to make alterations to dialog.ini. No changes were made to my standard_skin.zip from my last post.


#To All
Download the new dialog.ini: dialog02.ini
Rename dialog02.ini to dialog.ini and copy to your "opera"/defaults directory.
My standard_skin.zip from my previous post must be copied to your "opera"/skins directory.
I will post a zip file with bits and pieces that can be used to update future versions of Opera. Maybe Opera will follow my lead and include something similar in upcoming versions.
Opera 12.15 - dual boot Windows 7 Ultimate 64 & Mepis Linux 11-64- Custom I7 Quad Processor 8Gb RAM - 24" HDMI fp
Opera User since 3.0 - My Opera skins * Custom Color Schemes

13. November 2008, 07:48:46

Moderator

sgunhouse

Volunteer

Posts: 64865

Originally posted by Pizzapops:

Rename dialog02.ini to dialog.ini and copy to your "opera"/defaults directory.


Why in the world would you do that? Put it in your personal directory - or somewhere that the installer won't trash anyway - and then set its location in opera:config#UserPrefs|DialogConfiguration

13. November 2008, 10:26:36

Moderator

Tamil

:-(|)

Posts: 115306

up

Just include modified/added sections in your file as mentioned by tomu. Opera will read missing sections from default dialog.ini file. You can avoid update to your file if there is any change in default dialog configuration.

14. November 2008, 01:54:59 (edited)

hogther

Posts: 683

Amazing work, Pizzapops smile

Originally posted by tomu:

So it is my appeal to all the skinners: CHANGE YOUR FALLBACK ENTRIES TO 1!


Thank you very much for the explanation.
I'll update my skins now. smile

14. November 2008, 16:43:40

Pizzapops

aka RUBOT

Posts: 217

At Tomu's urging I have made some modifications. Hover and selected are now activated and the selections fill the area better.


Dialog mod file (Customize Toolbar Dialog only) dialog mod
Dialog full file (rename & replace default) dialog03.ini
Standard_skin (rename & replace default) standard_skin03
Skin color part of my Standard skin color picker parts

For those who do not want to change their default dialog file, the mod file can be used to follow the stardard methodology of dialog modification (see tomu's, tamil's and sgunhouse's comments). To have the color picker available for all skins the the standard skin must be replaced. If an upgrade wipes out my modified standard skin, the last file contains the appropriate parts to be added into the new file.

PS: If you do not like my tag, you only have to comment out (or delete) 2 lines in the dialog file
Opera 12.15 - dual boot Windows 7 Ultimate 64 & Mepis Linux 11-64- Custom I7 Quad Processor 8Gb RAM - 24" HDMI fp
Opera User since 3.0 - My Opera skins * Custom Color Schemes

14. November 2008, 21:38:29

ZAHEK

z@h3k

Posts: 7565

I think,it should be add in opera in next version...

15. November 2008, 03:05:56

Opera Software

Moose

Posts: 7526

Originally posted by tomu:

The value 0 for both entries is ONLY intended for the Standard_skin.zip which works as fallback repository for custom skins.



Umm, no. The value of 0 is also of use for spartan skins (like my own).

M.
—she sells C shells by the seashore—

15. November 2008, 08:29:20

tomu

Posts: 850

You are right Moose; but you as probably the most experienced skinner knows about the consequences - and you are able to update your Designer-skin always to the latest state of affairs (your skin is surely the completest one).

I think simply that the fallback entries (set to 1) gives often the necessary time in order to adapt a custom skin after Opera have changed or added something - and opens the possibility for useful ideas like Richards color picker...


tomu
ttt-buttons and skins

15. November 2008, 09:05:51

Opera Software

Moose

Posts: 7526

I have switched to a much smaller skin derived from it; that one is abandonware now.

Yes, the setting is recommended, but in select cases it's undesirable - had it not been, there would have been no such setting to begin with.

Lastly, I'd recommend anyone working on a skin to disable fallback until the skin is complete; only then set it to 1.
—she sells C shells by the seashore—

15. November 2008, 22:49:23

Bomchickawowwow

doesn't understand this.

Posts: 18

Okay, um, where do I put Pizzapop's files?
CHACARON!!!!

15. November 2008, 23:06:53

Moderator

Tamil

:-(|)

Posts: 115306

Place skin file in skin directory in your profile directory and select it from SHIFT+F12 Skin

Place dialog file anywhere (or profile directory), enter path to it in Dialog Configuration and save.

16. November 2008, 17:12:47

Bomchickawowwow

doesn't understand this.

Posts: 18

Originally posted by Tamil:

Place skin file in skin directory in your profile directory and select it from SHIFT+F12 Skin

Place dialog file anywhere (or profile directory), enter path to it in Dialog Configuration and save.


Thank you, I will try that on my Administrator acount.
CHACARON!!!!

16. November 2008, 17:20:23

Moderator

Tamil

:-(|)

Posts: 115306

The above will work with limited user account.

17. November 2008, 12:34:43

hogther

Posts: 683

Pizzapops, your dialog3.ini is a bit outdated than the default one, this don't have the Typed Historic and Searches In File > Syncronize options.

17. November 2008, 17:22:33

Pizzapops

aka RUBOT

Posts: 217

With much assistance from Tomu, there is now a new version. More color choices (265 plus system), fewer changes to the skin and a major update to dialog.ini.

Just the parts for the experts: dialog & skin mods
The new full skin file: standard_skin04
The new full dialog.ini: dialog_04.ini
*Note to R.Badin: Testing was done on Opera 9.51. I updated to the 9.62 dialog file

There are some quirks in the way Opera handles larger graphics files when they are used as buttons, labels and icons. Adjustments have been made to compensate and the problem may not be noticeable.
Opera 12.15 - dual boot Windows 7 Ultimate 64 & Mepis Linux 11-64- Custom I7 Quad Processor 8Gb RAM - 24" HDMI fp
Opera User since 3.0 - My Opera skins * Custom Color Schemes

19. November 2008, 09:30:11

ZAHEK

z@h3k

Posts: 7565

@Pizzapops
pls check dialog04.ini link adress...

19. November 2008, 15:10:42

Pizzapops

aka RUBOT

Posts: 217

Sorry typo error,
The new full dialog.ini: dialog_04.ini
Opera 12.15 - dual boot Windows 7 Ultimate 64 & Mepis Linux 11-64- Custom I7 Quad Processor 8Gb RAM - 24" HDMI fp
Opera User since 3.0 - My Opera skins * Custom Color Schemes

3. July 2009, 16:36:10

i-0

moderator immoralis

Posts: 3455

Excellent idea! Thanx.
Unfortunately the buttons match the picture only if opera:config#Fonts|Dialog = Tahoma, 11pt.
If you use another dialog font buttons move from their seats:

(Calibri, 12pt)

5. July 2009, 18:17:59

Pizzapops

aka RUBOT

Posts: 217

i-0,

This is a known limitation of the color picker. A single background png was used for all of the colors. Changing fonts changes line spacing but not graphic size. Tomu's idea was to mininize the number of color png files and to minimize the number of lines added to the skin.ini. If I find time in the next couple weeks, I will try to post another version that should be more tolerant of font changes. It will require about 270 graphic files and 800+ lines added to the skin.ini.
Opera 12.15 - dual boot Windows 7 Ultimate 64 & Mepis Linux 11-64- Custom I7 Quad Processor 8Gb RAM - 24" HDMI fp
Opera User since 3.0 - My Opera skins * Custom Color Schemes

11. July 2009, 02:23:13

Pizzapops

aka RUBOT

Posts: 217

i-0,

The color picker is updated for Opera 10 and handles dialog font changes. But be aware that drastic font changes may produce fuzzy images. Opera adjusts the size if the images as the size of the font changes.



Download There is a readme.txt in the zip with installation instructions.

Instead of adding a separate icon for each color.selected (another 264), I used an small (new) Opera logo for the selected color.

The appearance/toolbars tab also includes a toggle for the menu bar.

This is definitely not the Tomu's concise work but it accomplishes what you wanted.
Opera 12.15 - dual boot Windows 7 Ultimate 64 & Mepis Linux 11-64- Custom I7 Quad Processor 8Gb RAM - 24" HDMI fp
Opera User since 3.0 - My Opera skins * Custom Color Schemes

11. July 2009, 11:17:56

oviradoi

Posts: 58

I am using Opera 10 build 1601.
I have done everything you said in the readme file.
I don't know what this means "Preferences>User Perfs>Dialog Configuration>Choose" but I have gone to opera:config and found it, and I have chosen the dialog_mod.ini file. I have saved the changes, restarted Opera, and nothing. The "Color" tab does not appear in the "Appearance" window.
What am I doing wrong?

11. July 2009, 14:15:41 (edited)

Pizzapops

aka RUBOT

Posts: 217

Slight slip in the instructions. Preferences should have been "Preferences Editor" (opera:config). For some reason Opera is not reading the dialog_mod.ini file. I will do some checking and see if I can find a solution.

Followup: There was two missing lines in the dialog_mod.ini file. I have replaced it with a corrected file. Downloading the zip will get the correct files. If you want just the correct dialog file, click here. Just replace the dialog_mod.ini file and restart Opera and it should work.
Opera 12.15 - dual boot Windows 7 Ultimate 64 & Mepis Linux 11-64- Custom I7 Quad Processor 8Gb RAM - 24" HDMI fp
Opera User since 3.0 - My Opera skins * Custom Color Schemes

14. July 2009, 05:37:33

oviradoi

Posts: 58

It works now, thanks!
This should be included in the standard Opera distribution by default. It's so cool! bigsmile

14. July 2009, 22:05:17

tomu

Posts: 850

Perfect, as always Richard!

up


tomu
ttt-buttons and skins

22. July 2009, 07:34:37

DemoJameson

Posts: 3

Thanks for updating it, it is perfect now.

9. October 2009, 07:47:31

maided

Posts: 3

Hi !

Very good and useful job.

But I wonder why there is no dark colors ? (black, fades of gray so and so...)

Is it possible to add those colors ?

9. October 2009, 08:26:11

Moderator

sgunhouse

Volunteer

Posts: 64865

No. A color scheme is based on only one color, and uses only the hue and saturation of that color (removing the brightness). Thus black, white and gray actually produce the same result. Pizzapops could have chosen gray rather than white, but the actual results would be the same.

3. March 2010, 15:45:50

Pizzapops

aka RUBOT

Posts: 217

I guess the Opera folks still find this unnecessary for Opera 10.5 (but it does still work)!
Opera 12.15 - dual boot Windows 7 Ultimate 64 & Mepis Linux 11-64- Custom I7 Quad Processor 8Gb RAM - 24" HDMI fp
Opera User since 3.0 - My Opera skins * Custom Color Schemes

12. August 2010, 20:14:07

faridfox

♣ Peace United ♣

Posts: 17

good work

In peace the sons bury their fathers, but in war the fathers bury their sons.

CROESUS

21. August 2010, 10:32:13

Drewz

Posts: 733

I just found this, you guys rock! And yes this should be implemented!
All life begins from a single orgasm.

23. August 2010, 01:13:04

Drewz

Posts: 733

I'm not an expert here, I can use the colour tool, but I got to switch to the standard skin before (only there do I see the tool) then I change the color, then I select the other skin I want to use and the colour sticks.

What is the easiest way to have the colour tool appear in every skin that I have? I use Opera 10.61. If there is a way, could a charitable soul explain it to me simply, like if I were a child? lol
All life begins from a single orgasm.

23. August 2010, 13:45:16

Pizzapops

aka RUBOT

Posts: 217

Originally posted by Drewz:

What is the easiest way to have the colour tool appear in every skin that I have? I use Opera 10.61. If there is a way, could a charitable soul explain it to me simply, like if I were a child? lol



Is the standard_skin.zip that you modified, the one in the opera/skins folder or one you put in the "profile"/skins folder? Does the appearance/colors tab show up in other skins? What skins are in your opera/skins folder?

This should be an easy fix but I need to know what you have done so far.
Opera 12.15 - dual boot Windows 7 Ultimate 64 & Mepis Linux 11-64- Custom I7 Quad Processor 8Gb RAM - 24" HDMI fp
Opera User since 3.0 - My Opera skins * Custom Color Schemes

23. August 2010, 14:00:04

Drewz

Posts: 733

Thanks for answering pizzapops...*Standard skin04* is in Program files/Opera/skin with *windows skin* and *standard skin*...... The other skins are in the folder in Documents and Settings/Application Data/Opera/Skin.

The colour tab shows up in the other skins but I dont see the colour tool, only 3 boxes: system colours, none, and white.
All life begins from a single orgasm.

23. August 2010, 14:08:37

Drewz

Posts: 733

Heres a screenshot [img]http://img827.imageshack.us/img827/6402/screenqh.jpg[/URL] Uploaded with ImageShack.us]
All life begins from a single orgasm.

23. August 2010, 16:07:11

Pizzapops

aka RUBOT

Posts: 217

Drewz,

You cannot have two standard_skins in the opera/skins directory. Opera is using the original standard_skin as the default and not using your modified one. Rename the original stand_skin.zip to standard_skin.bak and your modified standard_skin04.zip to standard_skin.zip. If you changed any of the lines under [Info] at the top of the skin.ini file, you should change them back to default. Especially: Name String Code=S_SKIN_MANAGER_OPERA_STANDARD

Since you have the Appearance/color tab in other skins, it seems like the dialog modification isn't a problem.

Note: Opera folks frown upon editing default files. As long as you make a backup of the file you are going to tinker with, you can restore Opera functionally without adverse effects.

Opera 12.15 - dual boot Windows 7 Ultimate 64 & Mepis Linux 11-64- Custom I7 Quad Processor 8Gb RAM - 24" HDMI fp
Opera User since 3.0 - My Opera skins * Custom Color Schemes

23. August 2010, 20:33:11

Drewz

Posts: 733

Ha perfect! The renaming took care of everything. Thanks pizzapops!
All life begins from a single orgasm.

24. August 2010, 20:48:32

ladiesman69

Posts: 22

Cool,Got It To Work On 10.61.
If You Won't Stand BEHIND The U.S. Military,Please Stand In FRONT Of It! ! ! !

20. September 2010, 16:54:51

OperaPup

Posts: 3

This is excellent! The instructions were a little tedious for a guy who's brand new to Opera, but I followed them carefully and it works great in V. 10.62 Many, many thanks for this modification.

Forums » General Opera topics » Customizing Opera