When you've finished customizing your swatches, you can download and use your theme:
- Click the Download theme .zip file button. This will open the download popup window.
- Give your theme a name and click the Download Zip button. For this application, the theme was named myTheme.
- Once your .zip file has downloaded, extract the files. For this example, the files were extracted to a folder called mycustomtheme.
- Add the files to your application:
- Right-click the Content folder in the Solution Explorer and select Add | Existing Item.
- Browse to find your extracted custom theme files. Locate your myTheme.min CSS file and click Add. The file will be added to your application.
- In the _Layout.cshtml file, locate the following Razor syntax:
@Scripts.Render("~/bundles/jquery")
@Scripts.Render("~/bundles/jquerymobile")
And modify it so that it resembles the following sample. Remember to reference your own custom theme name:
<link rel="stylesheet" href="~/Content/myTheme.min.css">
@Scripts.Render("~/bundles/jquery")
@Scripts.Render("~/bundles/jquerymobile")
- When you run your application, it will be themed with your custom theme.