Let's see if I've well understood.
For your theme you have thought a script that changes the sources, then
the sources will be recompiled and you have the theme edited.

At this point the way with defines it's good.

If you want to use color_classes. All the text parts on the theme have
to been edited, because they have the color in the theme.
At the moment the part have color and color3 (mainly) pointed to a
specific color, for the color class it needs to be set the color and
color3 option to white and add color_class: "" option.

Example
At the moment the theme is

part { name: "text"; type TEXT;
blah blah
text {
color: 255 255 255 255;
color3: 0 0 0 128;
}
}

If you want to change it with color classes, you have to put

part { name: "text"; type TEXT;
blah blah
text {
color: 255 255 255 255;
color2: 255 255 255 255; //if you want, not always needed
color3: 255 255 255 255;
color_class: "text";
}
}

Especially with cyan glowing text.

Maybe #defines can be equaly usefull, especially if you don't want to
change it dinamically with Settings->Look->Colors.

Duma

Il giorno sab, 08/02/2014 alle 21.21 +1030, Simon ha scritto:
> On 02/08/2014 08:28 PM, Albi wrote:
> > What is your idea with colorclasses?
> > At the moment I know that they can't change dinamically (with Settings
> > -> Look -> Colors) on Elementary, but only on Edje.
> There has been talk of dynamic changing colors eventually i don't have 
> the expertise, but i thought i should point out that this is a 
> intermediate step to that.
> >
> > I'm creating a light theme GTK-similar and I could help you, maybe.
> Help is always welcome, the aim is pretty simple, it will basically be 
> dark, with the brightness increased to make it appear lighter or darker 
> as needed with as minimal change as required to keep it easy to maintain.
> 
> >
> > Duma
> >
> > Il giorno sab, 08/02/2014 alle 11.45 +1030, Simon ha scritto:
> >> I'll send it from the right email address maybe
> >>
> >> On 02/08/2014 11:02 AM, Simon Lees wrote:
> >>> Hi All,
> >>> As i mentioned in my previous post about creating a light theme
> >>> script, currently it is impossible to change the white text with sed
> >>> because it changes all the other white colors. I noticed that 1 or 2
> >>> colors had been defined in fonts.edc. My plan is to go through the
> >>> entire elementary theme and replace the manually defined text colors
> >>> with #define's then i will be able to replace the white text with
> >>> another color in my script without effecting the rest of the theme.
> >>> Sometime when someone who know more about edje internals then me has
> >>> the time they can implement colorclasses and all they should need to
> >>> do is use sed to replace the defines with colorclass markup whatever
> >>> that maybe. I have already discussed the idea with raster on irc and
> >>> he was ok with it I will happily take more feedback though.
> >>>
> >>> I am also aware of the feature freeze next week which i presume
> >>> includes the theme but as i haven't started yet i doubt ill finish
> >>> before the 1.10 window opens anyway. I am happy to work in a public
> >>> branch if someone feels like creating one and giving me access to it
> >>> otherwise i'll work locally and maybe on github.
> >>>
> >>> Comments and feedback more then welcome.
> >>>
> >>> Cheers,
> >>> Simon
> >>
> >> ------------------------------------------------------------------------------
> >> Managing the Performance of Cloud-Based Applications
> >> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> >> Read the Whitepaper.
> >> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
> >> _______________________________________________
> >> enlightenment-devel mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> >
> >
> > ------------------------------------------------------------------------------
> > Managing the Performance of Cloud-Based Applications
> > Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> > Read the Whitepaper.
> > http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
> > _______________________________________________
> > enlightenment-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 
> 
> ------------------------------------------------------------------------------
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
> _______________________________________________
> enlightenment-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel



------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to