UI
This commit is contained in:
@@ -66,6 +66,8 @@ namespace ProjectM.Client
|
||||
l.style.color = Accent;
|
||||
l.style.unityTextAlign = TextAnchor.MiddleCenter;
|
||||
l.style.marginBottom = 16;
|
||||
var theme = HudTheme.Get();
|
||||
if (theme != null) theme.ApplyDisplay(l.style);
|
||||
return l;
|
||||
}
|
||||
|
||||
@@ -76,6 +78,8 @@ namespace ProjectM.Client
|
||||
l.style.color = SubCol;
|
||||
l.style.unityTextAlign = TextAnchor.MiddleCenter;
|
||||
l.style.marginTop = 8; l.style.marginBottom = 6;
|
||||
var theme = HudTheme.Get();
|
||||
if (theme != null) theme.ApplyBodyLight(l.style);
|
||||
return l;
|
||||
}
|
||||
|
||||
@@ -90,6 +94,8 @@ namespace ProjectM.Client
|
||||
b.style.unityFontStyleAndWeight = FontStyle.Bold;
|
||||
Round(b, 6);
|
||||
Border(b, new Color(0f, 0f, 0f, 0f), 0);
|
||||
var theme = HudTheme.Get();
|
||||
if (theme != null) theme.ApplyBody(b.style);
|
||||
return b;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user