Skip to content

Commit 5bfb9fd

Browse files
committed
chore: demo app
1 parent b571fc7 commit 5bfb9fd

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

demo-snippets/vue/Buttons.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</ActionBar>
1010
<ScrollView>
1111
<StackLayout>
12-
<MDButton text="raised button" @tap="onTap" />
12+
<MDButton id="raised" text="raised button" @tap="onTap" />
1313
<MDButton src="res://ic_action_add" text="button with icon" @tap="onTap" />
1414
<MDButton variant="text" color="red" src="res://ic_action_add" text="button with icon and tint" @tap="onTap" />
1515
<MDButton variant="text" text="text button" @tap="onTap" />

demo-snippets/vue/ProgressBars.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
@tap="onNavigationButtonTap"></NavigationButton>
77
</ActionBar>
88
<StackLayout>
9-
<MDProgress :value="value" maxValue="100" color="red" padding="0"></MDProgress>
9+
<MDProgress :value="value" maxValue="100" padding="0" height="10"></MDProgress>
1010
<MDProgress busy indeterminate="true" height="10" padding="0"/>
1111
<AbsoluteLayout height="10" width="100%" backgroundColor="green"/>
1212
<MDProgress value="50" maxValue="100" ></MDProgress>

demo-snippets/vue/install.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,18 @@ import Mixins from './Mixins.vue';
3636

3737
import '../app.scss';
3838

39-
import {Trace} from '@nativescript/core';
39+
import { Trace } from '@nativescript/core';
4040
Trace.addCategories(Trace.categories.NativeLifecycle);
4141
Trace.addCategories(Trace.categories.ViewHierarchy);
4242
// Trace.enable();
4343
installMixins();
4444
installBottomSheet();
4545
if (__IOS__) {
46-
themer.setPrimaryColor('#bff937');
47-
themer.setPrimaryColorVariant('#33B5E5');
48-
themer.setAccentColor('#ff8a39');
49-
themer.setSecondaryColor('#a830d7');
46+
themer.setPrimaryColor('#006E25');
47+
themer.setOnPrimaryColor('#FFFFFF');
48+
themer.setSecondaryColor('#526350');
49+
themer.setSurfaceColor('#F9FAF4');
50+
themer.setOnSurfaceColor('#1A1C19');
5051
}
5152
themer.createShape('cut', {
5253
cornerFamily: 'cut' as any,
@@ -57,7 +58,6 @@ themer.createShape('cut', {
5758
});
5859

5960
export function installPlugin() {
60-
6161
Vue.use(ActivityIndicatorPlugin);
6262
Vue.use(ButtonPlugin);
6363
Vue.use(CardViewPlugin);

0 commit comments

Comments
 (0)