Lost password? | Help

[ advanced search ]

Color Schemes for Themes

Forums » Opera Community » General Opera topics » Customizing Opera

Sunday, 9. November 2008, 03:01:25

Bomchickawowwo

doesn't understand this.

avatar

Posts: 18

USA

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?

Sunday, 9. November 2008, 03:30:11

sgunhouse

Volunteer

avatar

Posts: 52823

Flag City, USA

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 ...

Sunday, 9. November 2008, 03:33:50

sgunhouse

Volunteer

avatar

Posts: 52823

Flag City, USA

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.

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

Pizzapops

aka Rubot

avatar

Posts: 66

USA

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?

Sunday, 9. November 2008, 22:49:10

ZAHEK

z@h3k

avatar

Posts: 3844

Turkey

:cry:
not downoading??

Wednesday, 12. November 2008, 09:25:48

tomu

ttt-buttons and skins

avatar

Posts: 787

Switzerland

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

Wednesday, 12. November 2008, 10:52:25

ZAHEK

z@h3k

avatar

Posts: 3844

Turkey

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

Thursday, 13. November 2008, 04:32:45

Pizzapops

aka Rubot

avatar

Posts: 66

USA

#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.

Thursday, 13. November 2008, 07:48:46

sgunhouse

Volunteer

avatar

Posts: 52823

Flag City, USA

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

Thursday, 13. November 2008, 10:26:36

Tamil

Opera :-(|)

avatar

Posts: 110329

Heaven

: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.

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

hogther

avatar

Posts: 637

Brazil

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:

Friday, 14. November 2008, 16:43:40

Pizzapops

aka Rubot

avatar

Posts: 66

USA

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

Friday, 14. November 2008, 21:38:29

ZAHEK

z@h3k

avatar

Posts: 3844

Turkey

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

Saturday, 15. November 2008, 03:05:56

Moose

avatar

Posts: 7520

Norway

Opera Software

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.

Saturday, 15. November 2008, 08:29:20

tomu

ttt-buttons and skins

avatar

Posts: 787

Switzerland

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

Saturday, 15. November 2008, 09:05:51

Moose

avatar

Posts: 7520

Norway

Opera Software
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.

Saturday, 15. November 2008, 22:49:23

Bomchickawowwo

doesn't understand this.

avatar

Posts: 18

USA

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

Saturday, 15. November 2008, 23:06:53

Tamil

Opera :-(|)

avatar

Posts: 110329

Heaven

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.

Sunday, 16. November 2008, 17:12:47

Bomchickawowwo

doesn't understand this.

avatar

Posts: 18

USA

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.

Sunday, 16. November 2008, 17:20:23

Tamil

Opera :-(|)

avatar

Posts: 110329

Heaven

The above will work with limited user account.

Monday, 17. November 2008, 12:34:43

hogther

avatar

Posts: 637

Brazil

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.

Monday, 17. November 2008, 17:22:33

Pizzapops

aka Rubot

avatar

Posts: 66

USA

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.

Wednesday, 19. November 2008, 09:30:11

ZAHEK

z@h3k

avatar

Posts: 3844

Turkey

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

Wednesday, 19. November 2008, 15:10:42

Pizzapops

aka Rubot

avatar

Posts: 66

USA

Sorry typo error,
The new full dialog.ini: dialog_04.ini

Friday, 3. July 2009, 16:36:10

i-0

9.27, 9.64, 10.xx

avatar

Posts: 368

Russian Federation

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)

Sunday, 5. July 2009, 18:17:59

Pizzapops

aka Rubot

avatar

Posts: 66

USA

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.

Saturday, 11. July 2009, 02:23:13

Pizzapops

aka Rubot

avatar

Posts: 66

USA

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.

Saturday, 11. July 2009, 11:17:56

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?

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

Pizzapops

aka Rubot

avatar

Posts: 66

USA

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.

Tuesday, 14. July 2009, 05:37:33

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

Tuesday, 14. July 2009, 22:05:17

tomu

ttt-buttons and skins

avatar

Posts: 787

Switzerland

Perfect, as always Richard!

:up:


tomu
ttt-buttons and skins

Wednesday, 22. July 2009, 07:34:37

DemoJameson

avatar

Posts: 2

Thanks for updating it, it is perfect now.

Friday, 9. October 2009, 07:47:31

maided

avatar

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 ?

Friday, 9. October 2009, 08:26:11

sgunhouse

Volunteer

avatar

Posts: 52823

Flag City, USA

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.

Forums » Opera Community » General Opera topics » Customizing Opera