mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-29 02:52:27 +08:00
chore(monorepo/client): set up stylesheets
This commit is contained in:
parent
fa48e5986b
commit
eb6d802952
@ -10,7 +10,7 @@ import { t } from "./services/i18n.js";
|
|||||||
import options from "./services/options.js";
|
import options from "./services/options.js";
|
||||||
import type ElectronRemote from "@electron/remote";
|
import type ElectronRemote from "@electron/remote";
|
||||||
import type Electron from "electron";
|
import type Electron from "electron";
|
||||||
import "../stylesheets/bootstrap.scss";
|
import "./stylesheets/bootstrap.scss";
|
||||||
|
|
||||||
await appContext.earlyInit();
|
await appContext.earlyInit();
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import "../stylesheets/bootstrap.scss";
|
import "./stylesheets/bootstrap.scss";
|
||||||
|
|
||||||
// @ts-ignore - module = undefined
|
// @ts-ignore - module = undefined
|
||||||
// Required for correct loading of scripts in Electron
|
// Required for correct loading of scripts in Electron
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import appContext from "./components/app_context.js";
|
import appContext from "./components/app_context.js";
|
||||||
import noteAutocompleteService from "./services/note_autocomplete.js";
|
import noteAutocompleteService from "./services/note_autocomplete.js";
|
||||||
import glob from "./services/glob.js";
|
import glob from "./services/glob.js";
|
||||||
import "../stylesheets/bootstrap.scss";
|
import "./stylesheets/bootstrap.scss";
|
||||||
|
|
||||||
glob.setupGlobs();
|
glob.setupGlobs();
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import "../stylesheets/bootstrap.scss";
|
import "./stylesheets/bootstrap.scss";
|
||||||
import "../stylesheets/auth.css";
|
import "./stylesheets/auth.css";
|
||||||
|
|
||||||
// @TriliumNextTODO: is this even needed anymore?
|
// @TriliumNextTODO: is this even needed anymore?
|
||||||
// @ts-ignore - module = undefined
|
// @ts-ignore - module = undefined
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import utils from "./services/utils.js";
|
import utils from "./services/utils.js";
|
||||||
import ko from "knockout";
|
import ko from "knockout";
|
||||||
import "../stylesheets/bootstrap.scss";
|
import "./stylesheets/bootstrap.scss";
|
||||||
|
|
||||||
// TriliumNextTODO: properly make use of below types
|
// TriliumNextTODO: properly make use of below types
|
||||||
// type SetupModelSetupType = "new-document" | "sync-from-desktop" | "sync-from-server" | "";
|
// type SetupModelSetupType = "new-document" | "sync-from-desktop" | "sync-from-server" | "";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import "../stylesheets/bootstrap.scss";
|
import "./stylesheets/bootstrap.scss";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Fetch note with given ID from backend
|
* Fetch note with given ID from backend
|
||||||
|
@ -10,7 +10,7 @@ import type { EventData } from "../../components/app_context.js";
|
|||||||
import dayjs, { Dayjs } from "dayjs";
|
import dayjs, { Dayjs } from "dayjs";
|
||||||
import utc from "dayjs/plugin/utc.js";
|
import utc from "dayjs/plugin/utc.js";
|
||||||
import isSameOrAfter from "dayjs/plugin/isSameOrAfter.js";
|
import isSameOrAfter from "dayjs/plugin/isSameOrAfter.js";
|
||||||
import "../../../stylesheets/calendar.css";
|
import "../../stylesheets/calendar.css";
|
||||||
import { AttributeRow } from "@triliumnext/commons";
|
import { AttributeRow } from "@triliumnext/commons";
|
||||||
|
|
||||||
dayjs.extend(utc);
|
dayjs.extend(utc);
|
||||||
|
@ -14,7 +14,7 @@ import { validateEmbeddingProviders } from "./validation.js";
|
|||||||
import type { MessageData, ToolExecutionStep, ChatData } from "./types.js";
|
import type { MessageData, ToolExecutionStep, ChatData } from "./types.js";
|
||||||
import { applySyntaxHighlight } from "../../services/syntax_highlight.js";
|
import { applySyntaxHighlight } from "../../services/syntax_highlight.js";
|
||||||
|
|
||||||
import "../../../stylesheets/llm_chat.css";
|
import "../../stylesheets/llm_chat.css";
|
||||||
|
|
||||||
export default class LlmChatPanel extends BasicWidget {
|
export default class LlmChatPanel extends BasicWidget {
|
||||||
private noteContextChatMessages!: HTMLElement;
|
private noteContextChatMessages!: HTMLElement;
|
||||||
|
@ -11,7 +11,7 @@ import dialogService from "../../services/dialog.js";
|
|||||||
import { t } from "../../services/i18n.js";
|
import { t } from "../../services/i18n.js";
|
||||||
import type FNote from "../../entities/fnote.js";
|
import type FNote from "../../entities/fnote.js";
|
||||||
import type { ConnectionMadeEventInfo, jsPlumbInstance, OverlaySpec } from "jsplumb";
|
import type { ConnectionMadeEventInfo, jsPlumbInstance, OverlaySpec } from "jsplumb";
|
||||||
import "../../../stylesheets/relation_map.css";
|
import "../../stylesheets/relation_map.css";
|
||||||
|
|
||||||
declare module "jsplumb" {
|
declare module "jsplumb" {
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ module.exports = {
|
|||||||
main: './src/desktop.ts',
|
main: './src/desktop.ts',
|
||||||
baseHref: '/',
|
baseHref: '/',
|
||||||
assets: ["./src/assets"],
|
assets: ["./src/assets"],
|
||||||
styles: ["./src/styles.css"],
|
styles: [],
|
||||||
outputHashing: process.env['NODE_ENV'] === 'production' ? 'all' : 'none',
|
outputHashing: process.env['NODE_ENV'] === 'production' ? 'all' : 'none',
|
||||||
optimization: process.env['NODE_ENV'] === 'production',
|
optimization: process.env['NODE_ENV'] === 'production',
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user