How to specify the text color for a pinned site?

I have a web application that I would like to make in a pinnable website . The <head> element currently has the following:

 <meta name="application-name" content="MyWebApp"> <meta name="msapplication-TileColor" content="#666666"> <meta name="msapplication-TileImage" content="/images/favicons/mstile-144x144.png"> <meta name="msapplication-config" content="/images/favicons/browserconfig.xml"> <meta name="theme-color" content="#ffffff"> 

And browserconfig.xml looks like this:

 <?xml version="1.0" encoding="utf-8"?> <browserconfig> <msapplication> <tile> <square70x70logo src="/images/favicons/mstile-70x70.png"/> <square150x150logo src="/images/favicons/mstile-150x150.png"/> <square310x310logo src="/images/favicons/mstile-310x310.png"/> <wide310x150logo src="/images/favicons/mstile-310x150.png"/> <TileColor>#666666</TileColor> </tile> </msapplication> </browserconfig> 

However, the tile is currently displayed with very dark text, not white text.

My problem is similar to How to change the text color of text in real time in Windows 8? , except for native applications this is for web applications.

A similar question on MSDN has no answers.

+4
source share
2 answers

Unfortunately, for web applications, there seems to be no way to do this. Although this can be done in *.VisualElementsManifest.xml on the desktop using the ForegroundText property, if you look at the Link to site - ForegroundText metadata , there is no mention of an equivalent property for browserconfig.xml .

This is like surveillance; perhaps if we are allowed to let support know about the problem, they will change it.

+2
source

If I remember correctly, the color of the text depends on the background color and can only be white or black. The Build My Pinned Site must have the correct logic in order to know what color the text will be. I built it a while ago, so maybe some of the logical changes, but I doubt it.

0
source

All Articles