Exemplo n.º 1
0
        public static IHtmlContent UseCoreStyleSheet(this RazorPage page)
        {
            var serviceLocation = page.Context.RequestServices.GetService <ServiceLocation>();
            var builder         = new HtmlContentBuilder()
                                  .AppendHtml($"<meta name=\"theme-color\" content=\"#0082c9\">");

            return(builder
                   .StyleSheet($"{serviceLocation.UI}/dist/Core.min.css"));
        }