Skip to content

Commit 52850d5

Browse files
committed
test: demo app
1 parent 4b9a808 commit 52850d5

File tree

3 files changed

+4
-17
lines changed

3 files changed

+4
-17
lines changed

demo-vue/app/_app-variables.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Import the theme’s variables. If you’re using a color scheme
22
// other than “light”, switch the path to the alternative scheme,
33
// for example '~nativescript-theme-core/scss/dark'.
4-
@import '~nativescript-theme-core/scss/light';
4+
// @import '~nativescript-theme-core/scss/light';
55

66
// Custom colors
77
$background-dark: #F8F8F8 !default;

demo-vue/app/app.scss

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
// Import app variables
2-
@import 'app-variables';
2+
// @import 'app-variables';
33

44
// Import the theme’s main ruleset - both index and platform specific.
5-
@import '~nativescript-theme-core/scss/index';
6-
@import '~nativescript-theme-core/scss/platforms/index.android';
75

86
// Import common styles
9-
@import 'app-common';
7+
// @import 'app-common';

demo-vue/app/components/Home.vue

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<GridLayout rows="*, auto, auto, auto, auto, auto">
88
<StackLayout orientation="horizontal">
9-
<NSImg backgroundColor="yellow" height="100" ref="opacityImg" verticalAlignment="center" borderRadius="100" width="50%" stretch="aspectFill" placeholderImageUri="res://ns_logo" src="~/images/dessert.jpg"> </NSImg>
9+
<NSImg backgroundColor="yellow" height="100" ref="opacityImg" verticalAlignment="center" borderRadius="100" width="50%" stretch="aspectFill" placeholderImageUri="res://logo" src="~/images/desserts.jpg"> </NSImg>
1010
<NSImg backgroundColor="red" width="50%" height="100" verticalAlignment="center" borderRadius="100" stretch="aspectFill" :src="imgSource" > </NSImg>
1111
</StackLayout>
1212
<Button text="Set 1" row="1" @tap="onSeOpacityTo1"></Button>
@@ -53,16 +53,5 @@ export default {
5353
</script>
5454

5555
<style scoped lang="scss">
56-
// Start custom common variables
57-
@import '../app-variables';
58-
// End custom common variables
5956
60-
// Custom styles
61-
.fa {
62-
color: $accent-dark;
63-
}
64-
65-
.info {
66-
font-size: 20;
67-
}
6857
</style>

0 commit comments

Comments
 (0)