Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance (dev) #10981

Open
wants to merge 19 commits into
base: feat/db
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 0 additions & 1 deletion deps/publishing/src/logseq/publishing/html.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ necessary db filtering"
{:content
"minimum-scale=1, initial-scale=1, width=device-width, shrink-to-fit=no",
:name "viewport"}]
[:link {:type "text/css", :href "static/css/tabler-icons.min.css", :rel "stylesheet"}]
[:link {:type "text/css", :href "static/css/style.css", :rel "stylesheet"}]
[:link {:type "text/css", :href "static/css/custom.css", :rel "stylesheet"}]
[:link {:type "text/css", :href "static/css/export.css", :rel "stylesheet"}]
Expand Down
14 changes: 13 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ const cp = require('child_process')
const exec = utils.promisify(cp.exec)
const path = require('path')
const gulp = require('gulp')
const rename = require('gulp-rename');
const cleanCSS = require('gulp-clean-css')
const del = require('del')
const ip = require('ip')
Expand Down Expand Up @@ -67,7 +68,19 @@ const common = {
'packages/amplify/dist/amplify.js',
'packages/ui/dist/ui.js',
'node_modules/@logseq/sqlite-wasm/sqlite-wasm/jswasm/sqlite3.wasm',
'node_modules/react/umd/react.production.min.js',
'node_modules/react/umd/react.development.js',
'node_modules/react-dom/umd/react-dom.production.min.js',
'node_modules/react-dom/umd/react-dom.development.js',
]).pipe(gulp.dest(path.join(outputPath, 'js'))),
() => gulp.src(
'node_modules/@tabler/icons/icons-react/dist/index.umd.min.js',
).pipe(rename('tabler.min.js')).pipe(gulp.dest(path.join(outputPath, 'js'))),
() => gulp.src([
'node_modules/@glidejs/glide/dist/glide.min.js',
'node_modules/@glidejs/glide/dist/css/glide.core.min.css',
'node_modules/@glidejs/glide/dist/css/glide.theme.min.css',
]).pipe(gulp.dest(path.join(outputPath, 'js', 'glide'))),
() => gulp.src([
'node_modules/pdfjs-dist/build/pdf.js',
'node_modules/pdfjs-dist/build/pdf.worker.js',
Expand All @@ -77,7 +90,6 @@ const common = {
'node_modules/pdfjs-dist/cmaps/*.*',
]).pipe(gulp.dest(path.join(outputPath, 'js', 'pdfjs', 'cmaps'))),
() => gulp.src([
'node_modules/@tabler/icons/iconfont/tabler-icons.min.css',
'node_modules/inter-ui/inter.css',
'node_modules/reveal.js/dist/theme/fonts/source-sans-pro/**',
]).pipe(gulp.dest(path.join(outputPath, 'css'))),
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"del": "^6.0.0",
"gulp": "^4.0.2",
"gulp-clean-css": "^4.3.0",
"gulp-rename": "^2.0.0",
"ip": "1.1.8",
"npm-run-all": "^4.1.5",
"playwright": "=1.31.0",
Expand Down Expand Up @@ -100,6 +101,7 @@
"@emoji-mart/data": "^1.1.2",
"@emoji-mart/react": "^1.1.1",
"@excalidraw/excalidraw": "0.16.1",
"@glidejs/glide": "^3.6.0",
"@highlightjs/cdn-assets": "10.4.1",
"@isomorphic-git/lightning-fs": "^4.6.0",
"@logseq/capacitor-file-sync": "5.0.2",
Expand Down
14 changes: 14 additions & 0 deletions packages/tldraw/apps/tldraw-logseq/src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,20 @@ html[data-theme='light'] {
}
}

.tl-select-trigger {
@apply h-8 font-medium bg-transparent px-3;

border: 1px solid var(--ls-secondary-border-color);

&.compact {
@apply px-0 justify-center text-xs;
}
}

.popper-arrow {
fill: var(--ls-secondary-background-color);
}

.tl-primary-tools {
@apply absolute h-full top-0 flex items-center justify-center;

Expand Down
67 changes: 0 additions & 67 deletions resources/electron.html

This file was deleted.

1 change: 0 additions & 1 deletion resources/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<head>
<meta charset="utf-8">
<meta content="minimum-scale=1, initial-scale=1, maximum-scale=1, width=device-width, shrink-to-fit=no" name="viewport">
<link rel="stylesheet" type="text/css" href="./css/tabler-icons.min.css">
<link href="./css/style.css" rel="stylesheet" type="text/css">
<link href="./img/logo.png" rel="shortcut icon" type="image/png">
<link href="./img/logo.png" rel="shortcut icon" sizes="192x192">
Expand Down
1 change: 0 additions & 1 deletion resources/js/glide/glide.core.min.css

This file was deleted.

6 changes: 0 additions & 6 deletions resources/js/glide/glide.min.js

This file was deleted.

1 change: 0 additions & 1 deletion resources/js/glide/glide.theme.min.css

This file was deleted.

1 change: 0 additions & 1 deletion resources/js/react-dom.development.min.js

This file was deleted.