mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
feat(windows): initial add of windows mode
basically a copy of md for now references #5565
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
6
scripts/e2e/ionic.wp.dark.scss
Normal file
6
scripts/e2e/ionic.wp.dark.scss
Normal file
@@ -0,0 +1,6 @@
|
||||
|
||||
// For E2E dark theme tests
|
||||
|
||||
@import "../../ionic/themes/dark.wp.scss";
|
||||
|
||||
@import "../../ionic/ionic.wp.scss";
|
||||
Reference in New Issue
Block a user