start work to allow custom accent colors

This commit is contained in:
RaidMax
2019-07-27 08:18:49 -05:00
parent ab4ce41015
commit 3b9b99a07e
20 changed files with 499 additions and 285 deletions

View File

@ -4,7 +4,7 @@
string formatTranslation(string translationKey, params object[] values)
{
var split = loc[translationKey].Split("::");
return $"<span class='font-weight-bold text-primary'>{SharedLibraryCore.Utilities.FormatExt(split[0], values)}</span><span>{split[1]}</span>";
return split.Count() == 2 ? $"<span class='font-weight-bold text-primary'>{SharedLibraryCore.Utilities.FormatExt(split[0], values)}</span><span>{split[1]}</span>" : translationKey;
}
}
<div class="row mb-4 border-bottom border-top pt-3 pb-3 bg-dark">

View File

@ -18,12 +18,11 @@
<link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
<environment include="Development">
<link rel="stylesheet" href="~/css/bootstrap-custom.css" />
<link rel="stylesheet" href="~/dynamic/css/main.css" />
<link rel="stylesheet" href="~/lib/open-iconic/font/css/open-iconic-bootstrap.css" />
<link rel="stylesheet" href="~/css/profile.css" />
</environment>
<environment include="Production">
<link rel="stylesheet" href="~/css/global.min.css" />
<link rel="stylesheet" href="~/dynamic/css/global.min.css" />
</environment>
</head>
<body>