This commit is contained in:
Luc Mcgrady 2025-06-19 12:22:40 +01:00
parent a0d4c64a14
commit a275214b58
No known key found for this signature in database
GPG key ID: 4F3D7A0B17CC3D9C
9 changed files with 16 additions and 17 deletions

View file

@ -3,6 +3,8 @@ Copyright: Ankitects Pty Ltd and contributors
License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
-->
<script lang="ts">
import "./import-anki-package-base.scss";
import type { ImportAnkiPackageOptions } from "@generated/anki/import_export_pb";
import { importAnkiPackage } from "@generated/backend";
import * as tr from "@generated/ftl";

View file

@ -1,6 +1,6 @@
@use "../lib/sass/bootstrap-dark";
@use "../../lib/sass/bootstrap-dark";
@import "../lib/sass/base";
@import "../../lib/sass/base";
@import "bootstrap/scss/alert";
@import "bootstrap/scss/buttons";
@ -10,8 +10,8 @@
@import "bootstrap/scss/transitions";
@import "bootstrap/scss/modal";
@import "bootstrap/scss/carousel";
@import "../lib/sass/bootstrap-forms";
@import "../lib/sass/bootstrap-tooltip";
@import "../../lib/sass/bootstrap-forms";
@import "../../lib/sass/bootstrap-tooltip";
.night-mode {
@include bootstrap-dark.night-mode;

View file

@ -1,8 +1,6 @@
// Copyright: Ankitects Pty Ltd and contributors
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
import "./import-anki-package-base.scss";
import { getImportAnkiPackagePresets } from "@generated/backend";
import { ModuleName, setupI18n } from "@tslib/i18n";
import { checkNightMode } from "@tslib/nightmode";

View file

@ -3,6 +3,7 @@ Copyright: Ankitects Pty Ltd and contributors
License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
-->
<script lang="ts">
import "./import-csv-base.scss";
import Row from "$lib/components/Row.svelte";
import ImportPage from "../import-page/ImportPage.svelte";

View file

@ -1,6 +1,6 @@
@use "../lib/sass/bootstrap-dark";
@use "../../lib/sass/bootstrap-dark";
@import "../lib/sass/base";
@import "../../lib/sass/base";
@import "bootstrap/scss/alert";
@import "bootstrap/scss/buttons";
@ -10,8 +10,8 @@
@import "bootstrap/scss/transitions";
@import "bootstrap/scss/modal";
@import "bootstrap/scss/carousel";
@import "../lib/sass/bootstrap-forms";
@import "../lib/sass/bootstrap-tooltip";
@import "../../lib/sass/bootstrap-forms";
@import "../../lib/sass/bootstrap-tooltip";
.night-mode {
@include bootstrap-dark.night-mode;

View file

@ -1,8 +1,6 @@
// Copyright: Ankitects Pty Ltd and contributors
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
import "./import-csv-base.scss";
import { getCsvMetadata, getDeckNames, getNotetypeNames } from "@generated/backend";
import { ModuleName, setupI18n } from "@tslib/i18n";
import { checkNightMode } from "@tslib/nightmode";

View file

@ -9,6 +9,8 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
</script>
<script lang="ts">
import "./import-page-base.scss";
import type { ImportResponse } from "@generated/anki/import_export_pb";
import { importDone } from "@generated/backend";

View file

@ -1,8 +1,8 @@
@use "../lib/sass/bootstrap-dark";
@use "../../lib/sass/bootstrap-dark";
@import "../lib/sass/base";
@import "../../lib/sass/base";
@import "../lib/sass/bootstrap-tooltip";
@import "../../lib/sass/bootstrap-tooltip";
@import "bootstrap/scss/buttons";
.night-mode {

View file

@ -1,8 +1,6 @@
// Copyright: Ankitects Pty Ltd and contributors
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
import "./import-page-base.scss";
import { importJsonFile, importJsonString } from "@generated/backend";
import { ModuleName, setupI18n } from "@tslib/i18n";
import { checkNightMode } from "@tslib/nightmode";