Commit 155c2612 authored by Chanon.u's avatar Chanon.u
Browse files

Remove auto darkmode and fix sonarlint - coding style

parent 9d47970b
...@@ -14,7 +14,7 @@ return new class extends Migration ...@@ -14,7 +14,7 @@ return new class extends Migration
public function up() public function up()
{ {
Schema::table('users', function (Blueprint $table) { Schema::table('users', function (Blueprint $table) {
$table->softDeletes(); $table->softDeletes();
}); });
} }
...@@ -26,7 +26,7 @@ return new class extends Migration ...@@ -26,7 +26,7 @@ return new class extends Migration
public function down() public function down()
{ {
Schema::table('users', function (Blueprint $table) { Schema::table('users', function (Blueprint $table) {
$table->dropSoftDeletes(); $table->dropSoftDeletes();
}); });
} }
}; };
...@@ -15,11 +15,6 @@ export default { ...@@ -15,11 +15,6 @@ export default {
document.body.classList.contains("is-sidebar-open") && document.body.classList.contains("is-sidebar-open") &&
Alpine.store("breakpoints").xlAndUp; Alpine.store("breakpoints").xlAndUp;
Alpine.effect(() => {
this.isDarkModeEnabled
? document.documentElement.classList.add("dark")
: document.documentElement.classList.remove("dark");
});
Alpine.effect(() => { Alpine.effect(() => {
this.isMonochromeModeEnabled this.isMonochromeModeEnabled
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment