From f8a9646cab7d0a702bd661675ec91bfdcc09932b Mon Sep 17 00:00:00 2001 From: b1ek Date: Wed, 22 Feb 2023 12:06:18 +1000 Subject: [PATCH] add text shadow to label --- view/ui/label.pug | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/view/ui/label.pug b/view/ui/label.pug index 4f9cf41..27c74ea 100644 --- a/view/ui/label.pug +++ b/view/ui/label.pug @@ -10,5 +10,6 @@ mixin label(text, base_color) ";background:linear-gradient(to bottom," + color + " 50%," + dark_color + " 100%)" + ";border:1px solid " + pSBC(-0.2, dark_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 \ No newline at end of file