Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
chore(dx/client): fix bootstrap CSS imports
Elian Doranf7a0dc00e894
diff --git a/apps/client/src/desktop.ts b/apps/client/src/desktop.tsindex 57ff4084eb..cf644cd3bf 100644--- a/apps/client/src/desktop.ts+++ b/apps/client/src/desktop.ts@@ -10,7 +10,7 @@ import { t } from "./services/i18n.js";import options from "./services/options.js";import type ElectronRemote from "@electron/remote";import type Electron from "electron";-import "./stylesheets/bootstrap.scss";+import "bootstrap/dist/css/bootstrap.min.css";import "boxicons/css/boxicons.min.css";import "autocomplete.js/index_jquery.js";diff --git a/apps/client/src/login.ts b/apps/client/src/login.tsindex 2ba27be023..351ed4c1e5 100644--- a/apps/client/src/login.ts+++ b/apps/client/src/login.ts@@ -1,4 +1,4 @@-import "./stylesheets/bootstrap.scss";+import "bootstrap/dist/css/bootstrap.min.css";// @ts-ignore - module = undefined// Required for correct loading of scripts in Electrondiff --git a/apps/client/src/mobile.ts b/apps/client/src/mobile.tsindex 805ffe2764..507b9ff5a1 100644--- a/apps/client/src/mobile.ts+++ b/apps/client/src/mobile.ts@@ -1,7 +1,7 @@import appContext from "./components/app_context.js";import noteAutocompleteService from "./services/note_autocomplete.js";import glob from "./services/glob.js";-import "./stylesheets/bootstrap.scss";+import "bootstrap/dist/css/bootstrap.min.css";import "boxicons/css/boxicons.min.css";import "autocomplete.js/index_jquery.js";diff --git a/apps/client/src/set_password.ts b/apps/client/src/set_password.tsindex 67dfee1878..47e02f1d10 100644--- a/apps/client/src/set_password.ts+++ b/apps/client/src/set_password.ts@@ -1,4 +1,4 @@-import "./stylesheets/bootstrap.scss";+import "bootstrap/dist/css/bootstrap.min.css";import "./stylesheets/auth.css";// @TriliumNextTODO: is this even needed anymore?diff --git a/apps/client/src/setup.ts b/apps/client/src/setup.tsindex ba117aaf76..d5659645e9 100644--- a/apps/client/src/setup.ts+++ b/apps/client/src/setup.ts@@ -1,7 +1,7 @@import "jquery";import utils from "./services/utils.js";import ko from "knockout";-import "./stylesheets/bootstrap.scss";+import "bootstrap/dist/css/bootstrap.min.css";// TriliumNextTODO: properly make use of below types// type SetupModelSetupType = "new-document" | "sync-from-desktop" | "sync-from-server" | "";diff --git a/apps/client/src/stylesheets/bootstrap.scss b/apps/client/src/stylesheets/bootstrap.scssdeleted file mode 100644index b30b929fed..0000000000--- a/apps/client/src/stylesheets/bootstrap.scss+++ /dev/null@@ -1,2 +0,0 @@-/* Import all of Bootstrap's CSS */-@use "bootstrap/scss/bootstrap";