Skip to content

AI-native knowledge base & Evernote/Obsidian alternative with instant sync & native MCP. Free on Cloudflare or self-hosted via Docker.

5.5 KB
Raw Blame
/* outline-emerald editor theme (Outline typography & dark code block + EdgeEver brand green accent) */

.edgeever-editor[data-editor-theme="outline-emerald"]:not([data-editor-theme="default"]) {
  --editor-theme-bg: #ffffff;
  --editor-theme-text: #111729;
  --editor-theme-muted: #4e5873;
  --editor-theme-heading: #0f172a;
  --editor-theme-accent: #059669;
  --editor-theme-soft: #f8fafc;
  --editor-theme-border: #e2e8f0;
  --editor-theme-code-bg: #0f172a;
  --editor-theme-code-text: #f8fafc;
  --editor-theme-font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", sans-serif;
  --editor-theme-radius: 8px;
}

:root.dark .edgeever-editor[data-editor-theme="outline-emerald"]:not([data-editor-theme="default"]) {
  --editor-theme-bg: var(--workspace-editor);
  --editor-theme-text: #dcdcdc;
  --editor-theme-muted: #a0a0a0;
  --editor-theme-heading: #f3f3f3;
  --editor-theme-accent: #66d6ae;
  --editor-theme-soft: #242424;
  --editor-theme-border: #404040;
  --editor-theme-code-bg: #141414;
  --editor-theme-code-text: #e2e2e2;
}

.edgeever-editor[data-editor-theme="outline-emerald"]:not([data-editor-theme="default"]) .ProseMirror {
  letter-spacing: -0.005em;
}

.edgeever-editor[data-editor-theme="outline-emerald"]:not([data-editor-theme="default"]) .ProseMirror p {
  color: var(--editor-theme-text);
}

.edgeever-editor[data-editor-theme="outline-emerald"]:not([data-editor-theme="default"]) .ProseMirror h1,
.edgeever-editor[data-editor-theme="outline-emerald"]:not([data-editor-theme="default"]) .ProseMirror h2,
.edgeever-editor[data-editor-theme="outline-emerald"]:not([data-editor-theme="default"]) .ProseMirror h3,
.edgeever-editor[data-editor-theme="outline-emerald"]:not([data-editor-theme="default"]) .ProseMirror h4,
.edgeever-editor[data-editor-theme="outline-emerald"]:not([data-editor-theme="default"]) .ProseMirror h5,
.edgeever-editor[data-editor-theme="outline-emerald"]:not([data-editor-theme="default"]) .ProseMirror h6 {
  color: var(--editor-theme-heading);
  font-family: var(--editor-theme-font);
  font-weight: 600;
  margin: 1.6rem 0 0.65rem;
  line-height: 1.3;
}

.edgeever-editor[data-editor-theme="outline-emerald"]:not([data-editor-theme="default"]) .ProseMirror h1 {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  border-bottom: 0;
  padding-bottom: 0;
}

.edgeever-editor[data-editor-theme="outline-emerald"]:not([data-editor-theme="default"]) .ProseMirror h2 {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  border-left: 0;
  border-bottom: 0;
  padding-left: 0;
}

.edgeever-editor[data-editor-theme="outline-emerald"]:not([data-editor-theme="default"]) .ProseMirror h3 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 0;
  padding-left: 0;
}

.edgeever-editor[data-editor-theme="outline-emerald"]:not([data-editor-theme="default"]) .ProseMirror h4 {
  font-size: 1.05rem;
  margin: 1.3rem 0 0.5rem;
}

.edgeever-editor[data-editor-theme="outline-emerald"]:not([data-editor-theme="default"]) .ProseMirror h5 {
  font-size: 1rem;
  margin: 1.15rem 0 0.45rem;
}

.edgeever-editor[data-editor-theme="outline-emerald"]:not([data-editor-theme="default"]) .ProseMirror h6 {
  font-size: 0.95rem;
  margin: 1rem 0 0.4rem;
}

.edgeever-editor[data-editor-theme="outline-emerald"]:not([data-editor-theme="default"]) .ProseMirror strong {
  color: var(--editor-theme-heading);
  font-weight: 700;
}

.edgeever-editor[data-editor-theme="outline-emerald"]:not([data-editor-theme="default"]) .ProseMirror a {
  color: var(--editor-theme-accent);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--editor-theme-accent) 42%, transparent);
  text-underline-offset: 2px;
}

.edgeever-editor[data-editor-theme="outline-emerald"]:not([data-editor-theme="default"]) .ProseMirror blockquote {
  margin: 1rem 0;
  border-left: 3px solid var(--editor-theme-border);
  border-radius: 0;
  background: var(--editor-theme-soft);
  color: var(--editor-theme-muted);
  padding: 0.6rem 1rem;
}

.edgeever-editor[data-editor-theme="outline-emerald"]:not([data-editor-theme="default"]) .ProseMirror li::marker {
  color: var(--editor-theme-accent);
  font-weight: 600;
}

.edgeever-editor[data-editor-theme="outline-emerald"]:not([data-editor-theme="default"]) .ProseMirror code {
  border: 1px solid var(--editor-theme-border);
  border-radius: 4px;
  background: var(--editor-theme-soft);
  color: var(--editor-theme-text);
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.875rem;
  padding: 0.15rem 0.35rem;
}

.edgeever-editor[data-editor-theme="outline-emerald"]:not([data-editor-theme="default"]) .ProseMirror pre {
  border: 1px solid var(--editor-theme-border);
  border-radius: 8px;
  background: var(--editor-theme-code-bg);
  color: var(--editor-theme-code-text);
  padding: 0.85rem 1.1rem;
}

.edgeever-editor[data-editor-theme="outline-emerald"]:not([data-editor-theme="default"]) .ProseMirror hr:not([data-edgeever-merge-divider]) {
  height: 1px;
  border: 0;
  background: var(--editor-theme-border);
  margin: 1.75rem 0;
}

.edgeever-editor[data-editor-theme="outline-emerald"]:not([data-editor-theme="default"]) .ProseMirror th {
  background: var(--editor-theme-soft);
  color: var(--editor-theme-heading);
  font-weight: 600;
}

.edgeever-editor[data-editor-theme="outline-emerald"]:not([data-editor-theme="default"]) .ProseMirror .edgeever-theme-block {
  --theme-block-bg: var(--editor-theme-soft);
  --theme-block-border: var(--editor-theme-border);
  border-radius: 8px;
}