SambaPOS Dark Theme Prompts

Can we go back to having white labels of prompt fields in Dark Theme, please? Its generally difficult to see the labels.

Especially in out door areas where light mirrors from the screen.

1 Like

I brought up almost a year ago, too.

2 Likes

It’s in our list of things to solve. We have other more important things right now but we will get to that.

2 Likes

@Jesse
is there somewhere in this script where we can hard-code a different color as a work around?

function UpdateColor(name,oldColor,newColor)
{
  sql.ExecSql("Update States set Color = '"+newColor+"' where Name = '"+name+"' and Color = '"+oldColor+"'");
}

function UpdateMenuItem(oldColor,newColor)
{
  sql.ExecSql("Update ScreenMenuCategories set MenuItemButtonColor = '"+newColor+"' where MenuItemButtonColor = '"+oldColor+"'");
}

function UpdateMenuCategory(oldColor,newColor)
{
  sql.ExecSql("Update ScreenMenuCategories set MainButtonColor = '"+newColor+"' where MainButtonColor = '"+oldColor+"'");
}

if('[:Select Theme]' == 'Dark')
{
   theme.UseDark();
   UpdateColor('Available','White','#FF3F3F3F');
   UpdateColor('New Orders','Orange','#FFEE8D3D');
   UpdateColor('Bill Requested','Maroon','#FFAA3A37');
   UpdateMenuItem('Green','#FF76923C');
   UpdateMenuCategory('Orange','#FFF79646');
}
else
{
   theme.UseLight();
   UpdateColor('Available','#FF3F3F3F','White');
   UpdateColor('New Orders','#FFEE8D3D','Orange');
   UpdateColor('Bill Requested','#FFAA3A37','Maroon');
   UpdateMenuItem('#FF76923C','Green');
   UpdateMenuCategory('#FFF79646','Orange');
}

dlg.ShowMessage("Restart SambaPOS now to enable new theme.");

No there is not. This is a .net framework issue.

1 Like