fix(capacitor, main.ts): fix android builder, disable darkmode

This commit is contained in:
2026-02-24 15:40:36 +07:00
parent 76d7f350b9
commit dfc0f9d939
6 changed files with 41 additions and 1427 deletions

View File

@@ -0,0 +1,22 @@
// DO NOT EDIT THIS FILE! IT IS GENERATED EACH TIME "capacitor update" IS RUN
android {
compileOptions {
sourceCompatibility JavaVersion.VERSION_21
targetCompatibility JavaVersion.VERSION_21
}
}
apply from: "../capacitor-cordova-android-plugins/cordova.variables.gradle"
dependencies {
implementation project(':capacitor-app')
implementation project(':capacitor-haptics')
implementation project(':capacitor-keyboard')
implementation project(':capacitor-status-bar')
}
if (hasProperty('postBuildExtras')) {
postBuildExtras()
}

View File

@@ -0,0 +1,15 @@
// DO NOT EDIT THIS FILE! IT IS GENERATED EACH TIME "capacitor update" IS RUN
include ':capacitor-android'
project(':capacitor-android').projectDir = new File('../node_modules/@capacitor/android/capacitor')
include ':capacitor-app'
project(':capacitor-app').projectDir = new File('../node_modules/@capacitor/app/android')
include ':capacitor-haptics'
project(':capacitor-haptics').projectDir = new File('../node_modules/@capacitor/haptics/android')
include ':capacitor-keyboard'
project(':capacitor-keyboard').projectDir = new File('../node_modules/@capacitor/keyboard/android')
include ':capacitor-status-bar'
project(':capacitor-status-bar').projectDir = new File('../node_modules/@capacitor/status-bar/android')

1423
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -29,7 +29,7 @@ import '@ionic/vue/css/display.css';
/* @import '@ionic/vue/css/palettes/dark.always.css'; */
/* @import '@ionic/vue/css/palettes/dark.class.css'; */
import '@ionic/vue/css/palettes/dark.system.css';
// import '@ionic/vue/css/palettes/dark.system.css';
/* Theme variables */
import './theme/variables.css';

View File

@@ -4,7 +4,7 @@
<div class="bg-neutral-900 shallow-bow">
</div>
<ion-content class="bg-transparent">
<div class="h-max min-h-full">
<div class="h-max min-h-full mt-4">
<div class="p-4">
<div class="flex flex-col items-center aspect-auto mt-4">
<img src="@/assets/images/Logo-KDM-merah.png" alt="Logo KDM" class="w-[20%]">

View File

@@ -4,7 +4,7 @@
<div class="bg-red-500 shallow-bow">
</div>
<ion-content class="bg-transparent">
<div class="h-max min-h-full">
<div class="h-max min-h-full mt-4">
<div class="p-4">
<div class="flex items-center justify-between w-full aspect-auto mb-6 mt-4">
<div class="flex items-center gap-4">
@@ -48,7 +48,7 @@
class="h-full aspect-square rounded-full bg-white flex items-center justify-center p-2 absolute left-0">
<img src="@/assets/images/KDM.png" alt="Logo KDM small" class="h-full">
</div>
<div class="flex-1 text-xl text-center font-semibold p-3">LOGIN DASHBOARD</div>
<div class="flex-1 text-xl text-center font-semibold p-3 dark:text-red-500">LOGIN DASHBOARD</div>
</div>
</ion-card>
<AppFooter color="white" />