Message Style help with custom colors

An instant messenger which can connect to AIM, GTalk, Jabber, ICQ, and more.
Post Reply
Pyk
Harmless
Posts: 6
Joined: Sun Jan 16, 2005 9:33 pm
Contact:

Message Style help with custom colors

Post 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.
kbotc
Muffin
Posts: 25
Joined: Tue Dec 14, 2004 1:26 am
Contact:

Post by kbotc »

Not in the current Adium, but it is planned.
Pyk
Harmless
Posts: 6
Joined: Sun Jan 16, 2005 9:33 pm
Contact:

Post 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?
User avatar
bgannin
Growl Team
Posts: 1817
Joined: Thu Dec 02, 2004 8:11 am
Location: ..here
Contact:

Post 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.
Try my software!

#define ADIUMX pimp //by me
#define QUESTION ((2b) || (!2b))
Have you hugged a programmer today?
kbotc
Muffin
Posts: 25
Joined: Tue Dec 14, 2004 1:26 am
Contact:

Post 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.
Pyk
Harmless
Posts: 6
Joined: Sun Jan 16, 2005 9:33 pm
Contact:

Post 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?
kbotc
Muffin
Posts: 25
Joined: Tue Dec 14, 2004 1:26 am
Contact:

Post 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.
Pyk
Harmless
Posts: 6
Joined: Sun Jan 16, 2005 9:33 pm
Contact:

Post 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...
User avatar
bgannin
Growl Team
Posts: 1817
Joined: Thu Dec 02, 2004 8:11 am
Location: ..here
Contact:

Post by bgannin »

I believe this is only available in the SVN repository, not .74.
Try my software!

#define ADIUMX pimp //by me
#define QUESTION ((2b) || (!2b))
Have you hugged a programmer today?
Pyk
Harmless
Posts: 6
Joined: Sun Jan 16, 2005 9:33 pm
Contact:

Post by Pyk »

So, the feature has been implemented, just not yet in a stable release?
User avatar
bgannin
Growl Team
Posts: 1817
Joined: Thu Dec 02, 2004 8:11 am
Location: ..here
Contact:

Post by bgannin »

Color changing backgrounds for certain message styles, yes.
Support for respecting the sender's fonts/colors, yes.
Anything beyond that, no.
Try my software!

#define ADIUMX pimp //by me
#define QUESTION ((2b) || (!2b))
Have you hugged a programmer today?
User avatar
zaudragon
Growl Team
Posts: 1852
Joined: Sat Dec 04, 2004 5:05 am
Location: Kensington, CA, USA
Contact:

Post by zaudragon »

Exactly! http://www.adiumx.com/development.php has instructions on getting the SVN
Blog | X(tras)
Communists code without classes.
Pyk
Harmless
Posts: 6
Joined: Sun Jan 16, 2005 9:33 pm
Contact:

Post by Pyk »

gez, coulda just said that in the first place :wink:

Thanks
Post Reply