Home Download Buy Blog Forum Support

Changing color php tag of theme

Changing color php tag of theme

Postby Doraemon on Sat Sep 29, 2012 3:22 pm

Hi everyone, I am using theme Cobalt. Currently my interface have colors same as:

Image

I see open tag php and end tag php have default color white. I search color code FFFFFF in file theme and try to change that parameters but I can't change color of two tag pairs. I want to convert it to orange or red color ... Any idea? Thanks!
Doraemon
 
Posts: 16
Joined: Fri Sep 07, 2012 1:56 am

Re: Changing color php tag of theme

Postby weslly on Sat Sep 29, 2012 4:17 pm

Add this to your theme file:
Code: Select all
<dict>
    <key>name</key>
    <string>PHP Tags</string>
    <key>scope</key>
    <string>punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php</string>
    <key>settings</key>
    <dict>
        <key>foreground</key>
        <string>#f80000</string>
    </dict>
</dict>
weslly
 
Posts: 198
Joined: Sun Aug 28, 2011 3:57 am
Location: Brazil

Re: Changing color php tag of theme

Postby Doraemon on Sat Sep 29, 2012 11:37 pm

Well, I copied your snippet to file scheme but it doesn't have any changing about color. Anyway, thanks so much. :)

My file scheme
http://www.mediafire.com/?5ftiwidd0b0xmyd
Doraemon
 
Posts: 16
Joined: Fri Sep 07, 2012 1:56 am

Re: Changing color php tag of theme

Postby weslly on Sat Sep 29, 2012 11:43 pm

You should put it inside the <array></array> tags.
weslly
 
Posts: 198
Joined: Sun Aug 28, 2011 3:57 am
Location: Brazil


Return to General Discussion

Who is online

Users browsing this forum: Yahoo [Bot] and 15 guests