Skip to content

Commit 6d5e48c

Browse files
committed
test: vue demo app update
1 parent 278c405 commit 6d5e48c

File tree

3 files changed

+6
-23
lines changed

3 files changed

+6
-23
lines changed

demo-vue/app/App_Resources/Android/src/main/res/values/styles.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<resources xmlns:android="http://schemas.android.com/apk/res/android">
33

44
<!-- theme to use FOR launch screen-->
5-
<style name="LaunchScreenThemeBase" parent="Theme.MaterialComponents.Light.NoActionBar">
5+
<style name="LaunchScreenThemeBase" parent="Theme.MaterialComponents.DayNight.NoActionBar">
66
<item name="toolbarStyle">@style/NativeScriptToolbarStyle</item>
77

88
<item name="colorPrimary">@color/ns_primary</item>
@@ -21,7 +21,7 @@
2121
</style>
2222

2323
<!-- theme to use AFTER launch screen is loaded-->
24-
<style name="AppThemeBase" parent="Theme.MaterialComponents.Light.NoActionBar">
24+
<style name="AppThemeBase" parent="Theme.MaterialComponents.DayNight.NoActionBar">
2525
<item name="toolbarStyle">@style/NativeScriptToolbarStyle</item>
2626

2727
<item name="colorPrimary">@color/ns_primary</item>

demo-vue/app/app.scss

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,10 @@
11
.mdi {
22
font-family: 'materialdesignicons-webfont', 'Material Design Icons';
33
}
4-
mdbutton {
5-
color: black;
6-
.ns-dark & {
7-
color: white;
8-
}
9-
}
104
button {
115
elevation: 2;
126
}
137

14-
MDButton {
15-
color: #000;
16-
background-color: #fff;
17-
.ns-dark & {
18-
color: #fff;
19-
background-color: #000;
20-
}
21-
}
228

239
.falseFAb {
2410
elevation: 2;
@@ -32,13 +18,6 @@ MDButton {
3218
.buttonYellow {
3319
background-color: yellow;
3420
}
35-
mdslider {
36-
/* track-background-color: #E0E0E0; */
37-
}
38-
39-
bottomnavigationbar {
40-
inactive-color: gray;
41-
}
4221

4322
.item-with-border {
4423
height: 50;

demo-vue/app/examples/Buttons.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
</ActionBar>
1010
<ScrollView>
1111
<StackLayout>
12+
<MDButton text="raised button" @tap="onTap" />
13+
<MDButton variant="text" text="text button" @tap="onTap" />
14+
<MDButton variant="flat" text="flat button" @tap="onTap" />
15+
<MDButton variant="outline" text="outline button" @tap="onTap" />
1216
<MDButton id="button1" borderRadius="10" fontSize="20" text="raised button" @tap="onTap" />
1317
<StackLayout v-show="isEditing">
1418
<MDTextField class="session-details-input" :hint="'name'" />

0 commit comments

Comments
 (0)