Page 1 of 1

Message Style help with custom colors

Posted: Sun Jan 16, 2005 9:44 pm
by Pyk
Is there any way I can implement user-defined background colors in my message style? I don't mean the background for the window, I mean the customizable background per message.

Someone told me that adium might set div backgrounds that are undefined in the CSS to the custom color of the user, but I can't find any way to simply set a parameter as undefined (especially because things like color and background-color are inherited)

The reason I want to have this is for multi-member chats. It's much easier to distinguish between people talking when everyone has their own background color.

Posted: Sun Jan 16, 2005 10:11 pm
by kbotc
Not in the current Adium, but it is planned.

Posted: Tue Jan 18, 2005 1:13 am
by Pyk
kbotc wrote:Not in the current Adium, but it is planned.
Should I be excited for it to come in the near future?

Also, I'm curious as to how it would be implemented. Would it be undefined things are filled in with custom colors, or would there be a keyword we would use in the CSS?

Posted: Tue Jan 18, 2005 1:15 am
by bgannin
Pyk wrote:
kbotc wrote:Not in the current Adium, but it is planned.
Should I be excited for it to come in the near future?

Also, I'm curious as to how it would be implemented. Would it be undefined things are filled in with custom colors, or would there be a keyword we would use in the CSS?
Near future could be six days or six months, planned means somebody will hopefully do it (where exactly is this planned at? I don't recall it on a to-do list or discussion other than this one)

IIRC something like this was added recently [only for the overall background], but it requires the message style to support it (and only 1 default now supports it) ... so this isn't something you'll be overriding in every style, only those that allow it.

Posted: Wed Jan 19, 2005 8:25 pm
by kbotc
bgannin wrote:
Pyk wrote:
kbotc wrote:Not in the current Adium, but it is planned.
Should I be excited for it to come in the near future?

Also, I'm curious as to how it would be implemented. Would it be undefined things are filled in with custom colors, or would there be a keyword we would use in the CSS?
Near future could be six days or six months, planned means somebody will hopefully do it (where exactly is this planned at? I don't recall it on a to-do list or discussion other than this one)

IIRC something like this was added recently [only for the overall background], but it requires the message style to support it (and only 1 default now supports it) ... so this isn't something you'll be overriding in every style, only those that allow it.
I did the code for that (Plus, I actually have all the default themes done minus Smooth Operator, I'm just waiting for someone to commit the rest of them). It's pretty easy to add them to most Message Styles.

Posted: Fri Jan 21, 2005 2:43 am
by Pyk
kbotc wrote:I did the code for that (Plus, I actually have all the default themes done minus Smooth Operator, I'm just waiting for someone to commit the rest of them). It's pretty easy to add them to most Message Styles.
What do you mean? You made just the backgrounds customizable, or the text?

Posted: Fri Jan 21, 2005 4:10 am
by kbotc
I made it so that you can receive Fonts/background colors/font colors if the message style was updated for it (not all styles can use it so I couldn't make it just work for all of them). I also did some patches relating to the overall background images recently, but that's a for something different entirely.

Posted: Fri Jan 21, 2005 4:28 am
by Pyk
kbotc wrote:I made it so that you can receive Fonts/background colors/font colors if the message style was updated for it (not all styles can use it so I couldn't make it just work for all of them). I also did some patches relating to the overall background images recently, but that's a for something different entirely.
So... how do you do that? Are they the styles included with the current version of adium? Because I'm not having any luck making that work...

Posted: Fri Jan 21, 2005 5:09 am
by bgannin
I believe this is only available in the SVN repository, not .74.

Posted: Fri Jan 21, 2005 5:40 am
by Pyk
So, the feature has been implemented, just not yet in a stable release?

Posted: Fri Jan 21, 2005 5:51 am
by bgannin
Color changing backgrounds for certain message styles, yes.
Support for respecting the sender's fonts/colors, yes.
Anything beyond that, no.

Posted: Fri Jan 21, 2005 5:52 am
by zaudragon
Exactly! http://www.adiumx.com/development.php has instructions on getting the SVN

Posted: Fri Jan 21, 2005 5:58 am
by Pyk
gez, coulda just said that in the first place :wink:

Thanks