Extracting checkout theme css as separate link

This commit is contained in:
rockstardev
2020-03-26 18:25:10 -05:00
parent ca234838a3
commit bde8ed7aa2
4 changed files with 3 additions and 1 deletions

View File

@@ -24,6 +24,8 @@
<bundle name="wwwroot/bundles/checkout-bundle.min.js" />
<script>vex.defaultOptions.className = 'vex-theme-btcpay'</script>
<link href="/checkout/css/themes/default.css" rel="stylesheet" />
@if (!string.IsNullOrEmpty(Model.CustomCSSLink))
{
<link href="@Model.CustomCSSLink" rel="stylesheet" />

View File

@@ -37,7 +37,7 @@
"inputFiles": [
"wwwroot/vendor/font-awesome/css/font-awesome.css",
"wwwroot/vendor/vex/css/vex.css",
"wwwroot/checkout/**/*.css",
"wwwroot/checkout/*/*.css",
"wwwroot/vendor/jquery-prettydropdowns/prettydropdowns.css"
]
},