Global Font Color Change (1 Viewer)

ndrhule

Portal Member
March 9, 2007
21
0
48
If I want to change all of my font color from the standard white text to black, what is the best way to do so? Is there one file that can do this? If not what files do I need to update to affect the main menu screen, the mytv screens and web browser screen?
 

Boilermaker

Retired Team Member
  • Premium Supporter
  • May 21, 2004
    519
    3
    The answer is that it depends on how well your skin takes advantage of the references.xml file. In the skins i've done, i chose to remove the textcolor tags out of every label that i wanted to use the default text color. When there is no textcolor tag defined in a control, the color defaults to whatever is set in references.xml. If i decide to change the default font color, i do it once in references.xml and it filters thru the skin. The same also applies to the text color of buttons, textboxes, etc.

    If you are using or have based your skin off of bluetwo (and most people do start there), then it would be time consuming to make this type of change. You would either have to edit each textcolor line individually in every file, or remove each of the textcolor tags from almost every control that had one so that you could rely on references.xml.
     

    VdR

    MP Donator
  • Premium Supporter
  • October 17, 2006
    612
    16
    Belgium
    Home Country
    Netherlands Netherlands
    Have a look at MP Gold. It is essentially BlueTwo Wide, with color changes and fixes. One thing I did is, as Boilermaker mentions, make as much use of the references.xml file as possible and removed all superfluous textcolor (and many other) statements from about 50 xml files (so far).

    VdR
     

    Harley

    Retired Team Member
  • Premium Supporter
  • May 7, 2004
    2,053
    1,993
    Germany
    Home Country
    Germany Germany
    Hi,

    best way is to use the "proton" Editor.

    You can do with this, File-spreading replacing .

    So you can change in all xml files the white with any other colour with one click.

    Harley
     

    emphatic

    Design Group
  • Team MediaPortal
  • August 25, 2006
    3,736
    1,196
    Alingsås
    Home Country
    Sweden Sweden
    Also if you have access to Macromedia DreamWeaver, it has "search and replace" functions that can process a whole folder at a time.

    Emph
     

    Users who are viewing this thread

    Top Bottom