Theme Developer Documentation?
Posted: 10 March 2010 12:33 PM   [ Ignore ]
Newbie
Rank
Total Posts:  2
Joined  2010-03-10

I’m looking for documentation detailing what CSS selectors affect what code, etc. Does this exist?

Profile
 
 
Posted: 10 March 2010 06:09 PM   [ Ignore ]   [ # 1 ]
Moderator
RankRankRankRank
Total Posts:  1249
Joined  2008-10-28

Hey Lorren,

Here’s what documentation there is on themes:

http://wiki.macrabbit.com/index/SyntaxThemes/

And here’s some info on the advanced selectors that you can use:

http://wiki.macrabbit.com/index/Selectors/

Otherwise you’ll need to pop open the syntax inspector window (Actions->Show Syntax Inspector) and explore the zones in an example document.

Sometimes the best way to go is to look at an example theme that you like to see how they did things.  If you look at my themes, Earthworm is the cleanest, while Quiet Light is the most thorough.

One thing to watch out for is that sometimes colors don’t stick in places you think they should.  This is typically caused by a placeholder theme for the language (PHP’s is particularly problematic), and usually the way to override the placeholder is to write a more specific selector.  This is why you’ll see a bunch of duplicated things in Quiet Light, for instance.  Theoretically, specifying the placeholder as an override at the top of the file is enough, but that rarely seems to work out.

Let us know if you have any other questions!

 Signature 

Ian Beck
MacRabbit Support

Follow us on Twitter, or try my custom themes: Quiet Light & Earthworm

Profile
 
 
Posted: 12 March 2010 03:58 AM   [ Ignore ]   [ # 2 ]
Sr. Member
RankRankRankRank
Total Posts:  232
Joined  2008-11-19

Is that overriding placeholder theme problem ever going to get fixed?

Profile
 
 
Posted: 12 March 2010 07:51 AM   [ Ignore ]   [ # 3 ]
Moderator
RankRankRankRank
Total Posts:  1249
Joined  2008-10-28

Here’s hoping. I’ve never been able to reliably reproduce it, myself, and I’ve had much less problem on 10.6 than I did on 10.5

I think it’s one of those things that at this point is more trouble to track down than its worth for Jan, so he’s focusing on other stuff.

 Signature 

Ian Beck
MacRabbit Support

Follow us on Twitter, or try my custom themes: Quiet Light & Earthworm

Profile