feat(windows): initial add of windows mode

basically a copy of md for now

references #5565
This commit is contained in:
Brandy Carney
2016-02-22 20:35:55 -05:00
parent 1495a1353e
commit a9c995d07d
14 changed files with 581 additions and 2 deletions

View File

@@ -8,6 +8,7 @@
<!-- using relative paths in order for snapshot e2e tests to also work -->
<link id="iosLink" ios-href="../../../bundles/ionic.ios.css" rel="stylesheet">
<link id="mdLink" md-href="../../../bundles/ionic.md.css" rel="stylesheet">
<link id="wpLink" wp-href="../../../bundles/ionic.wp.css" rel="stylesheet">
<script>
if (location.href.indexOf('snapshot=true') > -1) {
@@ -30,6 +31,8 @@
link.setAttribute('ios-href', link.getAttribute('ios-href').replace('.css', '.dark.css'));
link = document.getElementById('mdLink');
link.setAttribute('md-href', link.getAttribute('md-href').replace('.css', '.dark.css'));
link = document.getElementById('wpLink');
link.setAttribute('wp-href', link.getAttribute('wp-href').replace('.css', '.dark.css'));
}
</script>

View File

@@ -0,0 +1,6 @@
// For E2E dark theme tests
@import "../../ionic/themes/dark.wp.scss";
@import "../../ionic/ionic.wp.scss";