Skip to content

Commit 525f90f

Browse files
committed
chore: upate
1 parent 5b6e2d1 commit 525f90f

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/components/ColorModeView.vue

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ function changeTheme(newTheme: any) {
2121
<template>
2222
<CustomPage>
2323
<StackLayout class="py-4 pl-3">
24-
<Label :text="`Current Theme: ${schema}`" />
24+
<Label :text="`Current Theme: ${schema}`" class="text-2xl" />
2525

26-
<ListView :items="THEMES" height="400">
26+
<ListView :items="THEMES" height="300">
2727
<template #default="{ item, index }: ListItem<string>">
2828
<FlexboxLayout class="pl-2 py-4" @tap="changeTheme(item)">
2929
<Label class="h-[16] w-[16] bg-green-400 rounded-full"
@@ -32,7 +32,12 @@ function changeTheme(newTheme: any) {
3232
</FlexboxLayout>
3333
</template>
3434
</ListView>
35-
<FlexboxLayout class=" justify-around">
35+
36+
<FlexboxLayout>
37+
<Label text="Reactive Palette" width="auto" class="mt-8 text-lg px-2 rounded-lg" :backgroundColor=" palette?.colors.bgVariant " />
38+
</FlexboxLayout>
39+
40+
<FlexboxLayout class="justify-around mt-4">
3641
<StackLayout :backgroundColor=" palette?.colors.bgVariant " class="px-3 py-2 rounded-full text-center">
3742
<Label text="bg"></Label>
3843
<Label :text=" palette?.colors.bg "></Label>

0 commit comments

Comments
 (0)