bootstrap: import bootstrap css in entry points

This commit is contained in:
Panagiotis Papadopoulos 2025-02-21 22:07:23 +01:00
parent 1b309675c8
commit 837697c503
5 changed files with 7 additions and 0 deletions

View File

@ -10,6 +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";
await appContext.earlyInit();

View File

@ -1,6 +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";
glob.setupGlobs();

View File

@ -1,5 +1,6 @@
import utils from "./services/utils.js";
import ko from "knockout";
import "../stylesheets/bootstrap.scss";
// TriliumNextTODO: properly make use of below types
// type SetupModelSetupType = "new-document" | "sync-from-desktop" | "sync-from-server" | "";

View File

@ -1,3 +1,5 @@
import "../stylesheets/bootstrap.scss";
/**
* Fetch note with given ID from backend
*

2
src/public/stylesheets/bootstrap.scss vendored Normal file
View File

@ -0,0 +1,2 @@
// Import all of Bootstrap's CSS
@import "bootstrap/scss/bootstrap";