add text shadow to label

This commit is contained in:
b1ek 2023-02-22 12:06:18 +10:00
parent 2d566bbe3b
commit f8a9646cab
1 changed files with 2 additions and 1 deletions

View File

@ -10,5 +10,6 @@ mixin label(text, base_color)
";background:linear-gradient(to bottom," + color + " 50%," + dark_color + " 100%)" + ";background:linear-gradient(to bottom," + color + " 50%," + dark_color + " 100%)" +
";border:1px solid " + pSBC(-0.2, dark_color) + ";border:1px solid " + pSBC(-0.2, dark_color) +
";box-shadow:inset 0px 1px 0px 0px " + pSBC(0.75, color) + ";box-shadow:inset 0px 1px 0px 0px " + pSBC(0.75, color) +
";color:" + text_color ";color:" + text_color +
";text-shadow:0 1px 0 " + pSBC(0.25, color)
)= text )= text