Scaffold Docwell monorepo with PocketBase authentication
Phase 0 foundation for Docwell, an open-source knowledge base: - Database: PocketBase v0.40.6 with initial schema migrations; users is the built-in auth collection, plus a hook for token checks and env-driven app URL/SMTP settings - Server: Go API (health, version, auth endpoints forwarded to PocketBase, admin user list) with an embedded Vue admin panel - Web-App: Go static server and Vue/Tailwind app with Tiptap editor, sign-in, sign-up, password reset and email verification (EN/PL) - Desktop-App: Wails v3 host reusing the web app - Phone-App: Flutter app with sign-in - Shared packages (editor, ui, api-client), OpenAPI spec, Docker compose (separate services and all-in-one), GitHub Actions CI - Docs: feature inventory and architecture/build plan Licensed under AGPL-3.0-or-later. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
4903bb12dd
264 files changed
+21422
No files matched your search
@@ -0,0 +1,26 @@
|
||||
/* Base document styles for the Docwell editor. Uses tokens from @docwell/ui/theme.css. */
|
||||
|
||||
.dw-prose {
|
||||
outline: none;
|
||||
line-height: 1.7;
|
||||
min-height: 12rem;
|
||||
}
|
||||
.dw-prose > * + * { margin-top: 0.75em; }
|
||||
.dw-prose h1 { font-size: 2rem; font-weight: 700; line-height: 1.25; margin-top: 1.5em; }
|
||||
.dw-prose h2 { font-size: 1.5rem; font-weight: 650; line-height: 1.3; margin-top: 1.4em; }
|
||||
.dw-prose h3 { font-size: 1.2rem; font-weight: 600; margin-top: 1.2em; }
|
||||
.dw-prose ul { list-style: disc; padding-left: 1.5rem; }
|
||||
.dw-prose ol { list-style: decimal; padding-left: 1.5rem; }
|
||||
.dw-prose a { color: var(--color-brand-600); text-decoration: underline; }
|
||||
.dw-prose blockquote { border-left: 3px solid var(--color-border); padding-left: 1rem; color: var(--color-fg-muted); }
|
||||
.dw-prose code { font-family: var(--font-mono); font-size: 0.875em; background: var(--color-surface-muted); padding: 0.1em 0.3em; border-radius: 4px; }
|
||||
.dw-prose pre { font-family: var(--font-mono); background: var(--color-surface-muted); padding: 0.75rem 1rem; border-radius: 6px; overflow-x: auto; }
|
||||
.dw-prose pre code { background: none; padding: 0; }
|
||||
.dw-prose hr { border: none; border-top: 1px solid var(--color-border); margin: 1.5em 0; }
|
||||
.dw-prose p.is-editor-empty:first-child::before {
|
||||
content: attr(data-placeholder);
|
||||
color: var(--color-fg-muted);
|
||||
float: left;
|
||||
height: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
Reference in new issue
Block a user