Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

0
Become a Fan
5.0

Available as/for:
Description:
I've been thinking.

SVG is capable of reading outside stylesheets (like CSS), right?

So theoretically it would be possible to convience KSVG to read the colour scheme currently in use by KDE.
This way the icon styles could match the whole look and feel of KDE better. Some of the colours in the icon would be already defined in the svg, but others would be defined by the colour scheme in use. Of course the artist who made the icons could decide which colours he will "hardcode" and which he'll make "schemable".

Of course this idea could not be just restricted to KDE coulour scheme files - which some people made me understand actually wouldn't be too useful except for shadow, fade or glow effects.
A very good way to use this awesome feature of SVG would be to make "theme files" for each individual iconset. This way you could download an iconset and in it decide which colour-setting of it you'd like to use - imagine noia (or even lila, flat, ...) in 5 different colour schemes!

p.s. the "download" is just a link to http://kde.svg.org
Last changelog:

TODO:
* mockup (still too busy!)
* find people to realise the idea (i'm no artist and no coder!)

ChangeLog:
* added idea for individual iconsets themes (instead of restricting it to the KDE colour scheme files)


Ratings & Comments

12 Comments

uddw

There was also a little discussion about this on http://dot.kde.org/1103326589/. I even tried to add the CSS2 system colors to the svg icon renderer, but at some point I gave up because (1) some functions needed access to a KApplication, which the icon renderer doesn't use, and (2) because it was slightly too late to add new features for 3.4 anyway ;) If this problem is solved, the rest is fairly trivial. It's not necessary to add full support for CSS(2), just define color constants like "Background" etc. This feature could make more sense for SVG background because backgrounds are more about design, whereas icons should be easy to recognize. I'm not sure I want all my icons to use similar colors. But otoh I know that other people do...

oliverthered

I think it's not going to be hugely beneficial for icons to be able to access the 'desktop' colours except for maybe for highlights and shadows? extra tint colours for the icons would be nice to have though. It would also be great if widgets and borders could be drawn using SVG, and they would need to know about desktop colours. Anyhow, product a mocup to nail down your ideas.

H00K

True, and thanks for making me remember that - I've changed it in the description (still found no time for a mockup though ~_~)

ris

...actually already been thought of. It was being worked on by the guys behind the lila iconset. It would be a good idea to contact them. Since then, the project has rather taken a backseat because of more pressing tasks.

H00K

that's great :D ...thanks for the info, i'll contact them asap.

H00K

hmmm, could you link to that page? All i could find was an app that *changes* the colours *in* the SVG. I'm thinking of making the SVG use an outside file to read the colours (and styles for the lines, etc) in the first place. If there's a similar project, please tell me - no reason in reinventing hot water, is there?

ris

I think they ideally wanted to do dynamic changing of colours with css etc but were limited by what the svg engines were capable of. Hence they had to go with the script. I only say to contact them because you have many of the same ideas and they know all the pitfalls you'll run into.

H00K

Thanks for your concern. I'll contact them, but I am completely aware that this is a "problem" with ksvg and that they are the guys who can solve it and need convincing.

RockHound

... but shouldn't the link be http://svg.kde.org/? Maybe someday. :-) Greetings, Martin

H00K

done, but the thing is that you need to make an upload (unless the kde-look system changed lately) and that's a nice work-around

Superstoned

but the icondesigners whould have to support it...

H00K

actually, the beauty of it is, that if the icon designers work as they did untill now, it won't change anything - the iconsets will work as they do now. they only have an nice new option that they can use. ...but, of course, if there's noone to make such icons, there's no reason for it.

Pling
0 Affiliates
Details
license
version
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

More Various KDE 1.-4. Improvements from H00K:

improve kdict or start a new dictionary
H00K
last update date: 21 years ago

Score 5.0

Other Various KDE 1.-4. Improvements:

Slicker Debian Package for Woody
cirrusgr
last update date: 22 years ago

Score 5.0

Konqueror/kdesktop suggestion
PovMan
last update date: 22 years ago

Score 5.0

Biiig buttons
dbojan
last update date: 20 years ago

Score 5.0

Yet Another KControl
Frans
last update date: 21 years ago

Score 5.0

Next window and next/previos window
dbojan
last update date: 20 years ago

Score 5.0

Fantasie Toolbar
katoe
last update date: 19 years ago

Score 5.0