π The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.
Vue dockergolangkanbanknowledge-baseknowledge-managementmarkdownnote-takingnotesnotes-appnotionnuxtnuxtjsoffline-firstoidcpwaselfhostedssovuevuejswiki
refactor: new css variables names & simplify styles of modals
Smaug67396dc3d626d0db
diff --git a/frontend/app/components/AppAccordion.vue b/frontend/app/components/AppAccordion.vueindex 2547f7a6..af1f5c4c 100644--- a/frontend/app/components/AppAccordion.vue+++ b/frontend/app/components/AppAccordion.vue@@ -88,10 +88,13 @@ function onLeave(el: Element) {<style scoped lang="scss">.accordion-item {border: 1px solid #e5e7eb;- border-radius: 12px;+ border-radius: var(--radius-lg);background: #fff;box-shadow: 0 2px 10px rgb(0 0 0 / 4%);- transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;+ transition:+ box-shadow 0.25s ease,+ border-color 0.25s ease,+ background 0.25s ease;overflow: hidden;&.open {@@ -117,7 +120,7 @@ function onLeave(el: Element) {justify-content: space-between;&:focus-visible {- border-radius: 10px;+ border-radius: var(--radius-lg);outline: 2px solid var(--primary);outline-offset: 2px;}@@ -131,7 +134,9 @@ function onLeave(el: Element) {.chevron {width: 20px;height: 20px;- transition: transform 0.3s ease, stroke 0.3s ease;+ transition:+ transform 0.3s ease,+ stroke 0.3s ease;fill: none;stroke: #444;stroke-width: 2;@@ -156,7 +161,9 @@ function onLeave(el: Element) {.accordion-expand-enter-active,.accordion-expand-leave-active {- transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;+ transition:+ max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),+ opacity 0.25s ease;}.accordion-expand-enter-from,diff --git a/frontend/app/components/AppButton.vue b/frontend/app/components/AppButton.vueindex b9d0ce8c..41efd85a 100644--- a/frontend/app/components/AppButton.vue+++ b/frontend/app/components/AppButton.vue@@ -15,7 +15,7 @@ button {display: inline-flex;width: fit-content;padding: 10px;- border-radius: 6px;+ border-radius: var(--radius-sm);font-size: 0.9rem;align-items: center;gap: 0.5rem;diff --git a/frontend/app/components/AppCheck.vue b/frontend/app/components/AppCheck.vueindex 4a4e6e4a..37343319 100644--- a/frontend/app/components/AppCheck.vue+++ b/frontend/app/components/AppCheck.vue@@ -24,7 +24,6 @@ function toggle() {.checkbox {display: inline-flex;width: fit-content;- font-family: Inter, sans-serif;align-items: center;cursor: pointer;gap: 0.25rem;@@ -39,9 +38,11 @@ function toggle() {width: 20px;height: 20px;border: 2px solid var(--border);- border-radius: $radius-sm;+ border-radius: var(--radius-sm);background: var(--surface-base);- transition: all 0.2s ease;+ transition:+ border-color 0.2s,+ background-color 0.2s;align-items: center;justify-content: center;@@ -53,7 +54,7 @@ function toggle() {input:checked + .mark {border-color: var(--primary);- background: var(--primary);+ background-color: var(--primary);}.label {diff --git a/frontend/app/components/AppColorPicker.vue b/frontend/app/components/AppColorPicker.vueindex 32f75800..87e05109 100644--- a/frontend/app/components/AppColorPicker.vue+++ b/frontend/app/components/AppColorPicker.vue@@ -63,7 +63,7 @@ function selectColor(color: number) {.color-picker {display: flex;padding: 6px;- border-radius: 6px;+ border-radius: var(--radius-sm);flex-wrap: wrap;gap: 8px;}@@ -71,7 +71,7 @@ function selectColor(color: number) {.color-option {width: 28px;height: 28px;- border-radius: 8px;+ border-radius: var(--radius-md);cursor: pointer;}diff --git a/frontend/app/components/AppDotMenu.vue b/frontend/app/components/AppDotMenu.vueindex 537285cf..c92da927 100644--- a/frontend/app/components/AppDotMenu.vue+++ b/frontend/app/components/AppDotMenu.vue@@ -70,7 +70,7 @@ onBeforeUnmount(() => document.removeEventListener('mousedown', handleClickOutsiz-index: 2;min-width: 270px;border: 1px solid var(--border);- border-radius: 6px;+ border-radius: var(--radius-sm);background: var(--surface-base);box-shadow: 0 2px 6px var(--shadow-sm);margin-top: 4px;diff --git a/frontend/app/components/AppDrop.vue b/frontend/app/components/AppDrop.vueindex 09c53802..5d7261a3 100644--- a/frontend/app/components/AppDrop.vue+++ b/frontend/app/components/AppDrop.vue@@ -155,7 +155,7 @@ defineExpose({ reset });width: 100%;min-height: 150px;border: 2px dashed var(--border);- border-radius: $radius-md;+ border-radius: var(--radius-md);font-size: 14px;color: var(--text-secondary);background-color: transparent;@@ -219,7 +219,7 @@ defineExpose({ reset });display: flex;padding: 10px 12px;border: 1px solid var(--border);- border-radius: $radius-sm;+ border-radius: var(--radius-sm);background: var(--surface-base);transition: all 0.15s ease;align-items: center;@@ -239,7 +239,7 @@ defineExpose({ reset });display: flex;width: 36px;height: 36px;- border-radius: $radius-sm;+ border-radius: var(--radius-sm);color: var(--primary);align-items: center;flex-shrink: 0;diff --git a/frontend/app/components/AppSelect.vue b/frontend/app/components/AppSelect.vueindex 6e94f848..1ab5673b 100644--- a/frontend/app/components/AppSelect.vue+++ b/frontend/app/components/AppSelect.vue@@ -248,7 +248,7 @@ const filterRecursive = <T extends ANode>(items: T[], filter: Ref<string>): T[]width: 100%;margin: 0;border: 1px solid var(--border);- border-radius: $radius-sm;+ border-radius: var(--radius-sm);background: var(--surface-base);}@@ -268,7 +268,7 @@ button,width: 100%;height: 34px;padding: 6px 10px;- border-radius: $radius-sm;+ border-radius: var(--radius-sm);font-size: 0.95rem;text-align: left;cursor: pointer;@@ -285,7 +285,7 @@ button,margin: 0;padding: 2px;border: 1px solid var(--border);- border-radius: $radius-sm;+ border-radius: var(--radius-sm);background: var(--surface-base);box-shadow: 0 2px 8px rgb(0 0 0 / 10%);list-style: none;@@ -383,7 +383,7 @@ button,:deep(.tree-node) {padding: 14px 16px;- border-radius: $radius-sm;+ border-radius: var(--radius-sm);font-size: 1rem;transition: background 0.15s;diff --git a/frontend/app/components/AppTagInput.vue b/frontend/app/components/AppTagInput.vueindex cda4a2ee..c24c96b3 100644--- a/frontend/app/components/AppTagInput.vue+++ b/frontend/app/components/AppTagInput.vue@@ -223,7 +223,7 @@ input {.tag-chip {display: inline-flex;padding: 3px 6px;- border-radius: 10px;+ border-radius: var(--radius-lg);font-size: 12px;background: var(--border);align-items: center;diff --git a/frontend/app/components/CommandCenter/SearchResultsList.vue b/frontend/app/components/CommandCenter/SearchResultsList.vueindex 5f9780e3..cfa249f3 100644--- a/frontend/app/components/CommandCenter/SearchResultsList.vue+++ b/frontend/app/components/CommandCenter/SearchResultsList.vue@@ -59,7 +59,7 @@ const groupedItems = computed(() => {display: flex;margin: 0 5px;padding: 8px 20px;- border-radius: 8px;+ border-radius: var(--radius-md);color: inherit;align-items: center;cursor: pointer;diff --git a/frontend/app/components/CommandCenter/index.vue b/frontend/app/components/CommandCenter/index.vueindex 55dfb814..eec7e3a3 100644--- a/frontend/app/components/CommandCenter/index.vue+++ b/frontend/app/components/CommandCenter/index.vue@@ -277,7 +277,7 @@ watch(searchQuery, () => (selectedIndex.value = 0));.close-btn {padding: 8px;border: none;- border-radius: 8px;+ border-radius: var(--radius-md);background: transparent;cursor: pointer;diff --git a/frontend/app/components/ContextMenuManager.vue b/frontend/app/components/ContextMenuManager.vueindex 3ba581f0..1d95955b 100644--- a/frontend/app/components/ContextMenuManager.vue+++ b/frontend/app/components/ContextMenuManager.vue@@ -163,7 +163,7 @@ const pos = computed(() => {position: fixed;z-index: 6000;min-width: 240px;- border-radius: 12px;+ border-radius: var(--radius-lg);background: var(--surface-base);box-shadow:0 8px 30px rgb(0 0 0 / 12%),@@ -241,7 +241,7 @@ const pos = computed(() => {.mobile-sheet-handle {width: 36px;height: 4px;- border-radius: 2px;+ border-radius: var(--radius-xs);background: var(--border);transition:background 0.2s,diff --git a/frontend/app/components/DataTable.vue b/frontend/app/components/DataTable.vueindex b3eb9bfc..392c30f6 100644--- a/frontend/app/components/DataTable.vue+++ b/frontend/app/components/DataTable.vue@@ -143,7 +143,7 @@ export interface Field<V = unknown> {.table {width: 100%;border: 1.5px solid var(--border);- border-radius: $radius-md;+ border-radius: var(--radius-md);}header {@@ -220,7 +220,7 @@ td {}&:has(footer) {- border-radius: 0 0 $radius-md $radius-md;+ border-radius: 0 0 var(--radius-md) var(--radius-md);}}@@ -234,7 +234,7 @@ button {margin: 0 5px;padding: 8px 12px;border: 1px solid var(--border);- border-radius: $radius-sm;+ border-radius: var(--radius-sm);font-size: 1rem;&:hover {diff --git a/frontend/app/components/Kanban/Board.vue b/frontend/app/components/Kanban/Board.vueindex a5ae9dbd..a0382868 100644--- a/frontend/app/components/Kanban/Board.vue+++ b/frontend/app/components/Kanban/Board.vue@@ -216,7 +216,7 @@ defineExpose({ resetKanbanData });height: stretch;padding: 20px;border: 2px dashed var(--border);- border-radius: 12px;+ border-radius: var(--radius-lg);font-size: 13px;font-weight: 500;color: var(--text-secondary);diff --git a/frontend/app/components/Kanban/Card.vue b/frontend/app/components/Kanban/Card.vueindex 2fdcdd96..22a2a1f0 100644--- a/frontend/app/components/Kanban/Card.vue+++ b/frontend/app/components/Kanban/Card.vue@@ -54,7 +54,7 @@ const onDragEnd = () => {.kanban-card {padding: 12px;border: 1px solid var(--border);- border-radius: 8px;+ border-radius: var(--radius-md);background: var(--surface-base);cursor: grab;@@ -88,7 +88,7 @@ const onDragEnd = () => {display: flex;width: 22px;height: 22px;- border-radius: 6px;+ border-radius: var(--radius-sm);align-items: center;justify-content: center;@@ -155,7 +155,7 @@ const onDragEnd = () => {.tag {max-width: 80px;padding: 2px 6px;- border-radius: 6px;+ border-radius: var(--radius-sm);font-size: 10px;font-weight: 500;color: var(--text-secondary);diff --git a/frontend/app/components/Kanban/Column.vue b/frontend/app/components/Kanban/Column.vueindex edfd552c..8c83c2ec 100644--- a/frontend/app/components/Kanban/Column.vue+++ b/frontend/app/components/Kanban/Column.vue@@ -185,7 +185,7 @@ function handleClickOutside(e: MouseEvent) {min-width: 300px;max-width: 320px;padding: 12px;- border-radius: 12px;+ border-radius: var(--radius-lg);background: var(--surface-raised);flex-direction: column;@@ -225,7 +225,7 @@ function handleClickOutside(e: MouseEvent) {.column-title {margin: 0;padding: 2px 0;- border-radius: 6px;+ border-radius: var(--radius-sm);font-size: 14px;font-weight: 600;color: var(--text-primary);@@ -241,7 +241,7 @@ function handleClickOutside(e: MouseEvent) {.column-title-input {padding: 4px 8px;border: 1px solid var(--primary);- border-radius: 6px;+ border-radius: var(--radius-sm);font-size: 14px;font-weight: 600;color: var(--text-primary);@@ -272,7 +272,7 @@ function handleClickOutside(e: MouseEvent) {height: 28px;padding: 0;border: none;- border-radius: 6px;+ border-radius: var(--radius-sm);color: var(--text-secondary);background: transparent;align-items: center;@@ -305,7 +305,7 @@ function handleClickOutside(e: MouseEvent) {max-width: 180px;padding: 10px;border: 1px solid var(--border);- border-radius: 8px;+ border-radius: var(--radius-md);background: var(--surface-base);box-shadow: var(--shadow-sm-md);flex-wrap: wrap;@@ -359,7 +359,7 @@ function handleClickOutside(e: MouseEvent) {display: flex;padding: 32px 16px;border: 2px dashed var(--border);- border-radius: 8px;+ border-radius: var(--radius-md);color: var(--text-secondary);text-align: center;background: rgb(0 0 0 / 2%);@@ -392,7 +392,7 @@ function handleClickOutside(e: MouseEvent) {width: 100%;padding: 10px;border: none;- border-radius: 8px;+ border-radius: var(--radius-md);font-size: 13px;font-weight: 500;color: var(--text-secondary);diff --git a/frontend/app/components/MarkdownEditor/ColorPickerModal.vue b/frontend/app/components/MarkdownEditor/ColorPickerModal.vueindex 0ceca9ec..b7139a9b 100644--- a/frontend/app/components/MarkdownEditor/ColorPickerModal.vue+++ b/frontend/app/components/MarkdownEditor/ColorPickerModal.vue@@ -204,24 +204,6 @@ onMounted(() => {gap: 24px;overflow-y: auto;padding-right: 8px;-- &::-webkit-scrollbar {- width: 6px;- }-- &::-webkit-scrollbar-track {- border-radius: 3px;- background: var(--bg-color-secondary);- }-- &::-webkit-scrollbar-thumb {- border-radius: 3px;- background: var(--border);-- &:hover {- background: var(--primary);- }- }}.section-title {@@ -246,7 +228,7 @@ onMounted(() => {width: 48px;height: 48px;border: 3px solid transparent;- border-radius: 12px;+ border-radius: var(--radius-lg);box-shadow: 0 4px 16px rgb(0 0 0 / 10%);transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);cursor: pointer;@@ -299,7 +281,7 @@ onMounted(() => {.color-wheel {border: 2px solid var(--border);- border-radius: 12px;+ border-radius: var(--radius-lg);cursor: crosshair;}@@ -380,7 +362,7 @@ onMounted(() => {display: flex;padding: 12px;border: 1px solid var(--border);- border-radius: 10px;+ border-radius: var(--radius-lg);background: var(--surface-base);align-items: center;gap: 12px;@@ -420,7 +402,7 @@ onMounted(() => {width: 100%;min-height: 40px;padding: 12px 16px;- border-radius: 8px;+ border-radius: var(--radius-md);font-size: 13px;font-weight: 600;color: white;diff --git a/frontend/app/components/MarkdownEditor/GridOrganizationModal.vue b/frontend/app/components/MarkdownEditor/GridOrganizationModal.vueindex 2256a609..219dca5b 100644--- a/frontend/app/components/MarkdownEditor/GridOrganizationModal.vue+++ b/frontend/app/components/MarkdownEditor/GridOrganizationModal.vue@@ -1,33 +1,28 @@<template>- <div class="grid-organization-modal">+ <div><EditorAppHeader icon="grid" title="Insert Grid" subtitle="Select a grid layout or customize your own by selecting the number of rows and columns." />- <div class="modal-content">- <div class="table-selector">- <div class="table-grid">- <div v-for="row in 12" :key="`row-${row}`" class="table-row">- <div- v-for="col in 12"- :key="`col-${col}`"- class="table-cell"- :class="{- hovered: isHovered(row, col),- selected: isSelected(row, col),- }"- @mouseenter="handleHover(row, col)"- @mouseleave="handleHoverLeave()"- @click="selectTableSize(row, col)"- ></div>- </div>- </div>- <div class="table-info">- <span v-if="hoveredSize">{{ hoveredSize.rows }} Γ {{ hoveredSize.columns }} table</span>- <span v-else>Hover to see table size</span>+ <div>+ <div class="table-grid">+ <div v-for="row in 12" :key="`row-${row}`" class="table-row">+ <div+ v-for="col in 12"+ :key="`col-${col}`"+ class="table-cell"+ :class="{+ hovered: isHovered(row, col),+ selected: isSelected(row, col),+ }"+ @mouseenter="handleHover(row, col)"+ @mouseleave="handleHoverLeave()"+ @click="selectTableSize(row, col)"+ ></div></div></div>- </div>- <div class="modal-footer">- <button class="cancel-btn" @click="closeModal">Cancel</button>+ <div class="table-info">+ <span v-if="hoveredSize">{{ hoveredSize.rows }} Γ {{ hoveredSize.columns }} table</span>+ <span v-else>Hover to see table size</span>+ </div></div></div></template>@@ -96,45 +91,17 @@ const generateGridMarkdown = (columns: number, rows: number): string => {markdown += '\n';return markdown;};--const closeModal = () => {- emit('close');-};</script><style scoped lang="scss">-.grid-organization-modal {- display: flex;- width: 100%;- height: 100%;- padding: 0 16px;- background: transparent;- flex-direction: column;- overflow: auto;-}--.modal-content {- display: flex;- padding: 0;- flex: 1;- flex-direction: column;- gap: 32px;- overflow: auto;-}--.table-selector,-.quick-presets {- margin-top: 8px;-}-.table-grid {display: grid;- max-width: 400px;+ max-width: 350px;padding: 4px;border: 2px solid var(--border);- border-radius: 8px;+ border-radius: var(--radius-md);background: var(--surface-base);- gap: 2px;+ gap: 4px;grid-template-columns: repeat(12, 1fr);margin-bottom: 16px;margin-left: auto;@@ -150,8 +117,10 @@ const closeModal = () => {width: 16px;height: 16px;border: 1px solid var(--border);- background: var(--bg-color-secondary);- transition: all 0.2s ease;+ transition:+ border-color $transition-base ease,+ background-color $transition-base ease,+ opacity $transition-base ease;cursor: pointer;&:hover {@@ -170,7 +139,7 @@ const closeModal = () => {&.selected {border-color: var(--primary);background: var(--primary);- box-shadow: 0 0 0 2px rgb(var(--primary-rgb), 0.3);+ box-shadow: var(--shadow-md);opacity: 1;}}@@ -180,48 +149,15 @@ const closeModal = () => {min-height: 20px;padding: 12px;border: 1px solid var(--border);- border-radius: 8px;+ border-radius: var(--radius-md);font-size: 14px;font-weight: 500;- color: var(--text-primary);text-align: center;- background: var(--bg-color-secondary);- box-shadow: 0 2px 8px rgb(0 0 0 / 10%);+ box-shadow: var(--shadow-md);margin-left: auto;margin-right: auto;}-.modal-footer {- display: flex;- padding: 24px 0;- flex-shrink: 0;- gap: 16px;- justify-content: flex-end;-- .cancel-btn {- padding: 12px 24px;- border: 2px solid var(--border);- border-radius: 10px;- font-size: 14px;- font-weight: 500;- color: var(--text-primary);- background: var(--bg-color-secondary);- transition: all 0.3s ease;- cursor: pointer;-- &:hover {- border-color: var(--primary);- color: var(--primary);- background: var(--border);- transform: translateY(-1px);- }-- &:active {- transform: translateY(0);- }- }-}-@media (width <= 768px) {.table-grid {max-width: 300px;diff --git a/frontend/app/components/MarkdownEditor/ImageSelectorModal.vue b/frontend/app/components/MarkdownEditor/ImageSelectorModal.vueindex 0a9035c6..5843d89f 100644--- a/frontend/app/components/MarkdownEditor/ImageSelectorModal.vue+++ b/frontend/app/components/MarkdownEditor/ImageSelectorModal.vue@@ -1,12 +1,12 @@<template>- <div class="modal-ctn">+ <div class="container"><EditorAppHeader icon="image" title="Select Image" subtitle="Choose an image to insert into your document." />- <div class="modal-content">+ <div class="content"><AppDrop ref="dropComponent" @select="submitFile as (file: File) => void" /><Loader v-if="isLoading" style="margin: 12px auto" /><p v-if="uploadError" class="error">{{ uploadError }}</p><div class="search-bar">- <input v-model="searchQuery" placeholder="Search images..." class="search-input" />+ <input v-model="searchQuery" placeholder="Search images..." /></div><div class="images-grid"><div v-for="image in filteredImages.values()" :key="image.id" class="image-item" @click="selectImage(image)">@@ -74,67 +74,23 @@ const selectImage = (image: Node) => {</script><style scoped lang="scss">-.modal-ctn {+.container {display: flex;- width: 100%;- height: 100%;- padding: 0 20px;- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;- background: transparent;flex-direction: column;- overflow: hidden;}-.modal-content {+.content {min-height: 0;padding: 0;gap: 24px;overflow-y: auto;padding-right: 8px;-- &::-webkit-scrollbar {- width: 6px;- }-- &::-webkit-scrollbar-track {- border-radius: 3px;- background: var(--bg-color-secondary);- }-- &::-webkit-scrollbar-thumb {- border-radius: 3px;- background: var(--border);-- &:hover {- background: var(--primary);- }- }}.search-bar {padding: 16px 0;border-bottom: 1px solid var(--border);flex-shrink: 0;-- .search-input {- width: 100%;- padding: 12px 16px;- border: 1px solid var(--border);- border-radius: 8px;- font-size: 14px;- color: var(--text-primary);- background: var(--bg-color-secondary);-- &:focus {- border-color: var(--primary);- box-shadow: 0 0 0 2px rgb(var(--primary-rgb), 0.1);- outline: none;- }-- &::placeholder {- color: var(--text-secondary);- }- }}.images-grid {@@ -147,26 +103,27 @@ const selectImage = (image: Node) => {.image-item {border: 2px solid transparent;- border-radius: 8px;+ border-radius: var(--radius-md);cursor: pointer;+ transition:+ border-color 0.2s ease,+ box-shadow 0.2s ease,+ transform 0.2s ease;&:hover {border-color: var(--primary);- box-shadow: 0 8px 24px rgb(0 0 0 / 15%);+ box-shadow: var(--shadow-lg);transform: translateY(-2px);}.image-preview {width: 100%;height: 150px;- border-radius: 6px;- background: var(--bg-color-secondary);- object-fit: cover;+ border-radius: var(--radius-sm);}.image-info {padding: 12px;- background: var(--bg-color-secondary);.image-name {display: block;diff --git a/frontend/app/components/MarkdownEditor/MarkdownEditor.vue b/frontend/app/components/MarkdownEditor/MarkdownEditor.vueindex 42ba7a08..1b7ecae8 100644--- a/frontend/app/components/MarkdownEditor/MarkdownEditor.vue+++ b/frontend/app/components/MarkdownEditor/MarkdownEditor.vue@@ -170,7 +170,7 @@ const autoSave = debounceDelayed(() => {padding: 6px 10px;border: 1px solid var(--border);- border-radius: 10px;+ border-radius: var(--radius-lg);background: var(--surface-base);gap: 8px;}@@ -180,7 +180,7 @@ const autoSave = debounceDelayed(() => {max-width: 280px;padding: 4px 8px;border: none;- border-radius: 6px;+ border-radius: var(--radius-sm);font-size: 1rem;font-weight: 600;color: var(--text-primary);@@ -204,7 +204,7 @@ const autoSave = debounceDelayed(() => {min-width: 100px;padding: 4px 8px;border: none;- border-radius: 6px;+ border-radius: var(--radius-sm);font-size: 0.85rem;color: var(--text-body);background: transparent;@@ -237,7 +237,7 @@ const autoSave = debounceDelayed(() => {display: flex;min-width: 0;border: 1px solid var(--border);- border-radius: 10px;+ border-radius: var(--radius-lg);background: var(--surface-base);flex: 1;flex-direction: column;@@ -282,7 +282,7 @@ const autoSave = debounceDelayed(() => {}.editor-container:deep(.cm-content) {- font-family: 'JetBrains Mono', monospace;+ font-family: $font-mono;}.markdown-preview {diff --git a/frontend/app/components/MarkdownEditor/Toolbar.vue b/frontend/app/components/MarkdownEditor/Toolbar.vueindex 3b9c9391..386c43f6 100644--- a/frontend/app/components/MarkdownEditor/Toolbar.vue+++ b/frontend/app/components/MarkdownEditor/Toolbar.vue@@ -219,7 +219,7 @@ const actionTools: ToolItem[] = [width: 100%;padding: 6px 10px;border: 1px solid var(--border);- border-radius: 10px;+ border-radius: var(--radius-lg);background: var(--surface-base);box-shadow: 0 2px 8px rgb(0 0 0 / 4%);transition: box-shadow 0.2s ease;@@ -244,7 +244,7 @@ const actionTools: ToolItem[] = [.group-buttons {display: flex;padding: 3px;- border-radius: 6px;+ border-radius: var(--radius-sm);background: var(--surface-transparent);gap: 1px;}@@ -311,7 +311,7 @@ const actionTools: ToolItem[] = [z-index: 1000;display: flex;padding: 6px 10px;- border-radius: 6px;+ border-radius: var(--radius-sm);font-size: 11px;font-weight: 500;color: var(--surface-base);@@ -364,7 +364,7 @@ const actionTools: ToolItem[] = [display: flex;padding: 3px 10px;border: 1px solid var(--border);- border-radius: 6px;+ border-radius: var(--radius-sm);background: linear-gradient(135deg, var(--surface-raised) 0%, var(--surface-overlay) 100%);align-items: center;gap: 6px;@@ -401,7 +401,7 @@ const actionTools: ToolItem[] = [.action-buttons {display: flex;padding: 3px;- border-radius: 6px;+ border-radius: var(--radius-sm);background: var(--surface-transparent);gap: 3px;}@@ -417,7 +417,7 @@ const actionTools: ToolItem[] = [.category-select {min-width: 110px;- border-radius: 6px;+ border-radius: var(--radius-sm);background: var(--surface-base);}diff --git a/frontend/app/components/MarkdownSyntax.vue b/frontend/app/components/MarkdownSyntax.vueindex 2e917d4e..edec8e68 100644--- a/frontend/app/components/MarkdownSyntax.vue+++ b/frontend/app/components/MarkdownSyntax.vue@@ -217,7 +217,7 @@ Useful for side content or notes.<li><strong>Task lists:</strong> <code>- [ ] Todo</code>, <code>- [x] Done</code></li><li><strong>Tables:</strong><br />- <pre style="margin: 10px 0; padding: 0.75rem; border-radius: 6px; color: white; overflow-x: auto">+ <pre style="margin: 10px 0; padding: 0.75rem; border-radius: var(--radius-sm); color: white; overflow-x: auto">| Column 1 | Column 2 ||-----------|-----------|| Cell 1 | Cell 2 |</pre@@ -288,7 +288,7 @@ h2 {code {padding: 0.2rem 0.4rem;border-radius: 4px;- font-family: 'JetBrains Mono', monospace;+ font-family: $font-mono;font-size: 0.8rem;}@@ -302,7 +302,7 @@ code {pre {margin: 10px 0;padding: 0.75rem;- border-radius: 6px;+ border-radius: var(--radius-sm);color: white;overflow-x: auto;}@@ -314,8 +314,8 @@ code {.custom-block pre {padding: 0.5rem;- border-radius: 6px;- font-family: 'JetBrains Mono', monospace;+ border-radius: var(--radius-sm);+ font-family: $font-mono;font-size: 0.85rem;background: rgb(255 255 255 / 30%);margin-top: 0.5rem;diff --git a/frontend/app/components/ModalManager.vue b/frontend/app/components/ModalManager.vueindex 1bb73477..3880ab57 100644--- a/frontend/app/components/ModalManager.vue+++ b/frontend/app/components/ModalManager.vue@@ -53,7 +53,7 @@ onUnmounted(() => document.removeEventListener('keydown', handleKeydown));width: 90%;max-width: 750px;margin: auto;- border-radius: 10px;+ border-radius: var(--radius-lg);font-size: initial;background-color: var(--surface-base);box-shadow: 0 2px 10px var(--shadow-sm);@@ -70,7 +70,7 @@ onUnmounted(() => document.removeEventListener('keydown', handleKeydown));.modal-overlay {position: absolute;z-index: 1;- border-radius: 10px;+ border-radius: var(--radius-lg);background-color: rgb(0 0 0 / 20%);inset: 0;pointer-events: none;@@ -85,7 +85,7 @@ onUnmounted(() => document.removeEventListener('keydown', handleKeydown));}.modal {- border-radius: 8px;+ border-radius: var(--radius-md);background-color: var(--surface-base);}diff --git a/frontend/app/components/Navbar.vue b/frontend/app/components/Navbar.vueindex 22f75d17..0f09e53e 100644--- a/frontend/app/components/Navbar.vue+++ b/frontend/app/components/Navbar.vue@@ -63,7 +63,7 @@ button {width: 200px;padding: 8px 12px;border: none;- border-radius: $radius-sm;+ border-radius: var(--radius-sm);background: var(--border);transition: all 0.2s ease;align-items: center;diff --git a/frontend/app/components/Node/Action/ContextMenu.vue b/frontend/app/components/Node/Action/ContextMenu.vueindex d8419bfd..4afe9a77 100644--- a/frontend/app/components/Node/Action/ContextMenu.vue+++ b/frontend/app/components/Node/Action/ContextMenu.vue@@ -107,7 +107,7 @@ async function action(name: string) {.avatar {width: 32px;height: 32px;- border-radius: $radius-sm;+ border-radius: var(--radius-sm);object-fit: cover;}}@@ -148,7 +148,7 @@ async function action(name: string) {width: 100%;padding: 4px 10px;border: none;- border-radius: $radius-sm;+ border-radius: var(--radius-sm);font: inherit;font-size: 13px;color: var(--text-body);diff --git a/frontend/app/components/Node/Action/ResourceContextMenu.vue b/frontend/app/components/Node/Action/ResourceContextMenu.vueindex f2d92fdd..4a596b8e 100644--- a/frontend/app/components/Node/Action/ResourceContextMenu.vue+++ b/frontend/app/components/Node/Action/ResourceContextMenu.vue@@ -96,7 +96,7 @@ async function action(name: string) {.avatar {width: 32px;height: 32px;- border-radius: $radius-sm;+ border-radius: var(--radius-sm);object-fit: cover;}}@@ -137,7 +137,7 @@ async function action(name: string) {width: 100%;padding: 4px 10px;border: none;- border-radius: $radius-sm;+ border-radius: var(--radius-sm);font: inherit;font-size: 13px;color: var(--text-body);diff --git a/frontend/app/components/Node/Card/NodeCard.vue b/frontend/app/components/Node/Card/NodeCard.vueindex 3f708540..609c1870 100644--- a/frontend/app/components/Node/Card/NodeCard.vue+++ b/frontend/app/components/Node/Card/NodeCard.vue@@ -64,7 +64,7 @@ function showContextMenu(event: MouseEvent) {max-width: 380px;min-height: 250px;border: 1px solid var(--border);- border-radius: 12px;+ border-radius: var(--radius-lg);background: var(--surface-base);box-shadow: 0 1px 3px rgb(0 0 0 / 4%);transition: all 0.2s ease;@@ -86,7 +86,7 @@ function showContextMenu(event: MouseEvent) {.category-icon {padding: 8px;- border-radius: 8px;+ border-radius: var(--radius-md);margin-right: 10px;}diff --git a/frontend/app/components/Node/Card/Recent.vue b/frontend/app/components/Node/Card/Recent.vueindex 1ab2a4d4..d106440c 100644--- a/frontend/app/components/Node/Card/Recent.vue+++ b/frontend/app/components/Node/Card/Recent.vue@@ -38,7 +38,7 @@ const icon = resolveIcon(props.node);height: 100%;padding: 1rem;border: 1px solid var(--border);- border-radius: 12px;+ border-radius: var(--radius-lg);color: var(--text-body);transition: all 0.2s;flex-direction: column;@@ -101,6 +101,6 @@ const icon = resolveIcon(props.node);.node-icon {padding: 0.4rem;- border-radius: 6px;+ border-radius: var(--radius-sm);}</style>diff --git a/frontend/app/components/Node/Card/Workspace.vue b/frontend/app/components/Node/Card/Workspace.vueindex 83fcbd26..bca189ea 100644--- a/frontend/app/components/Node/Card/Workspace.vue+++ b/frontend/app/components/Node/Card/Workspace.vue@@ -45,7 +45,7 @@ const getWorkspaceDocCount = (workspaceId: string) => {height: 100%;padding: 1.25rem;border: 1px solid var(--border);- border-radius: 12px;+ border-radius: var(--radius-lg);color: var(--text-body);background: var(--surface-base);transition: all 0.2s;@@ -85,7 +85,7 @@ const getWorkspaceDocCount = (workspaceId: string) => {.count {padding: 0.2rem 0.6rem;- border-radius: 12px;+ border-radius: var(--radius-lg);font-size: 0.8rem;color: var(--text-secondary);background: var(--surface-raised);diff --git a/frontend/app/components/Node/ContainerView.vue b/frontend/app/components/Node/ContainerView.vueindex afb2fe24..9b3f8a68 100644--- a/frontend/app/components/Node/ContainerView.vue+++ b/frontend/app/components/Node/ContainerView.vue@@ -202,13 +202,13 @@ a:hover > .hint-tooltip {.parent-icon {padding: 6px;- border-radius: 6px;+ border-radius: var(--radius-sm);margin-right: 10px;}.doc-count {padding: 8px 10px;- border-radius: 8px;+ border-radius: var(--radius-md);font-size: 13px;font-weight: 600;color: var(--text-secondary);diff --git a/frontend/app/components/Node/Document/Footer.vue b/frontend/app/components/Node/Document/Footer.vueindex a63ad02f..ff3eae30 100644--- a/frontend/app/components/Node/Document/Footer.vue+++ b/frontend/app/components/Node/Document/Footer.vue@@ -41,7 +41,7 @@ footer {.edit-link {display: flex;padding: 8px 14px;- border-radius: 8px;+ border-radius: var(--radius-md);font-size: 13px;font-weight: 450;color: var(--text-body);@@ -105,7 +105,7 @@ b {margin: 5px 0;padding: 10px;border: 1px solid var(--border);- border-radius: 7px;+ border-radius: var(--radius-md);font-size: 15px;font-weight: 450;transition: color 0.25s;diff --git a/frontend/app/components/Node/Document/HeaderSkeleton.vue b/frontend/app/components/Node/Document/HeaderSkeleton.vueindex 6fa24686..f721e061 100644--- a/frontend/app/components/Node/Document/HeaderSkeleton.vue+++ b/frontend/app/components/Node/Document/HeaderSkeleton.vue@@ -12,7 +12,7 @@/* --- Skeleton Loader --- */.skeleton {margin: 8px 0;- border-radius: 6px;+ border-radius: var(--radius-sm);background: linear-gradient(90deg, var(--border) 25%, var(--surface-raised) 37%, var(--border) 63%);background-size: 400% 100%;animation: shimmer 1.4s ease infinite;diff --git a/frontend/app/components/Node/Filter.vue b/frontend/app/components/Node/Filter.vueindex 6016d244..bd25e5e8 100644--- a/frontend/app/components/Node/Filter.vue+++ b/frontend/app/components/Node/Filter.vue@@ -143,7 +143,7 @@ onBeforeUnmount(() => {width: 320px;padding: 12px;border: 1px solid var(--border);- border-radius: 8px;+ border-radius: var(--radius-md);background: var(--surface-base);box-shadow: 0 10px 30px rgb(2 6 23 / 20%);}@@ -170,7 +170,7 @@ label {.btn {padding: 8px 12px;border: 1px solid var(--border);- border-radius: 8px;+ border-radius: var(--radius-md);background: transparent;cursor: pointer;}diff --git a/frontend/app/components/Node/List/Inline.vue b/frontend/app/components/Node/List/Inline.vueindex b84eb430..8aeb1982 100644--- a/frontend/app/components/Node/List/Inline.vue+++ b/frontend/app/components/Node/List/Inline.vue@@ -63,16 +63,16 @@ function showContextMenu(event: MouseEvent) {flex-direction: column;&:first-child {- border-radius: $radius-md $radius-md 0 0;+ border-radius: var(--radius-md) var(--radius-md) 0 0;}&:last-child {- border-radius: 0 0 $radius-md $radius-md;+ border-radius: 0 0 var(--radius-md) var(--radius-md);border-bottom: 1px solid var(--border);}&:only-child {- border-radius: $radius-md;+ border-radius: var(--radius-md);border-bottom: 1px solid var(--border);}@@ -95,7 +95,7 @@ header {.icon {padding: 6px;- border-radius: $radius-sm;+ border-radius: var(--radius-sm);margin-right: 8px;}diff --git a/frontend/app/components/Node/Modals/Permissions.vue b/frontend/app/components/Node/Modals/Permissions.vueindex 630ac100..a77e77ef 100644--- a/frontend/app/components/Node/Modals/Permissions.vue+++ b/frontend/app/components/Node/Modals/Permissions.vue@@ -167,7 +167,7 @@ form {.user-card {display: flex;padding: 6px 10px;- border-radius: 8px;+ border-radius: var(--radius-md);background-color: var(--surface-transparent);flex-direction: column;gap: 8px;@@ -206,7 +206,7 @@ form {.public-info {padding: 0 5px;- border-radius: 7px;+ border-radius: var(--radius-md);margin-bottom: 10px;.info-text {@@ -235,7 +235,7 @@ form {button {padding: 4px 8px;border: none;- border-radius: 6px;+ border-radius: var(--radius-sm);color: white;background: var(--primary-color, #444);cursor: pointer;diff --git a/frontend/app/components/Node/TOC/TOC.vue b/frontend/app/components/Node/TOC/TOC.vueindex b028e1bb..8c19faee 100644--- a/frontend/app/components/Node/TOC/TOC.vue+++ b/frontend/app/components/Node/TOC/TOC.vue@@ -135,7 +135,7 @@ aside {z-index: 1;width: 3px;height: 15px;- border-radius: 2px;+ border-radius: var(--radius-xs);background-color: var(--primary);transition:top 0.25s ease,diff --git a/frontend/app/components/Node/Tree/Item.vue b/frontend/app/components/Node/Tree/Item.vueindex 75f9432d..76ac8541 100644--- a/frontend/app/components/Node/Tree/Item.vue+++ b/frontend/app/components/Node/Tree/Item.vue@@ -134,7 +134,7 @@ function toggleExpand() {display: flex;width: 32px;height: 32px;- border-radius: 8px;+ border-radius: var(--radius-md);align-items: center;flex-shrink: 0;justify-content: center;@@ -194,7 +194,7 @@ function toggleExpand() {min-width: 20px;height: 20px;padding: 0 6px;- border-radius: 10px;+ border-radius: var(--radius-lg);font-size: 0.6875rem;font-weight: 600;color: var(--text-body);diff --git a/frontend/app/components/Node/Tree/NodeTree.vue b/frontend/app/components/Node/Tree/NodeTree.vueindex df3d69c0..cc28a724 100644--- a/frontend/app/components/Node/Tree/NodeTree.vue+++ b/frontend/app/components/Node/Tree/NodeTree.vue@@ -53,7 +53,7 @@ const totalCount = computed(() => props.nodes.length);<style scoped lang="scss">.tree {border: 1px solid var(--border);- border-radius: 12px;+ border-radius: var(--radius-lg);background: var(--surface-base);margin-top: 2rem;overflow: hidden;@@ -82,7 +82,7 @@ const totalCount = computed(() => props.nodes.length);.item-count {padding: 4px 10px;border: 1px solid var(--border);- border-radius: 20px;+ border-radius: var(--radius-xl);font-size: 0.75rem;color: var(--text-secondary);background: var(--surface-base);diff --git a/frontend/app/components/Notification.vue b/frontend/app/components/Notification.vueindex 32505bdd..92fac1e9 100644--- a/frontend/app/components/Notification.vue+++ b/frontend/app/components/Notification.vue@@ -59,7 +59,7 @@ const close = (id: number) => manager.remove(id);width: 380px;padding: 14px 16px;border: 1px solid var(--border);- border-radius: 12px;+ border-radius: var(--radius-lg);background: var(--surface-base);box-shadow:0 4px 6px -1px rgb(0 0 0 / 10%),@@ -74,7 +74,7 @@ const close = (id: number) => manager.remove(id);width: 36px;min-width: 36px;height: 36px;- border-radius: 10px;+ border-radius: var(--radius-lg);align-items: center;justify-content: center;@@ -112,7 +112,7 @@ const close = (id: number) => manager.remove(id);height: 28px;padding: 0;border: none;- border-radius: 8px;+ border-radius: var(--radius-md);color: var(--text-secondary);background: transparent;transition: all 0.15s ease;diff --git a/frontend/app/components/OIDCProviders.vue b/frontend/app/components/OIDCProviders.vueindex dd56cd4e..a8a5c7cb 100644--- a/frontend/app/components/OIDCProviders.vue+++ b/frontend/app/components/OIDCProviders.vue@@ -73,7 +73,7 @@ onMounted(() => {display: flex;padding: 0.75rem 1rem;border: 1px solid var(--border);- border-radius: 10px;+ border-radius: var(--radius-lg);font-size: 0.9rem;font-weight: 500;color: var(--text-body);diff --git a/frontend/app/components/ProTips.vue b/frontend/app/components/ProTips.vueindex 9686939e..27c37f6a 100644--- a/frontend/app/components/ProTips.vue+++ b/frontend/app/components/ProTips.vue@@ -18,7 +18,7 @@ const tips = [.pro-tip {display: flex;padding: 8px 12px;- border-radius: 8px;+ border-radius: var(--radius-md);align-items: center;gap: 6px;}diff --git a/frontend/app/components/SessionCard.vue b/frontend/app/components/SessionCard.vueindex a13852b5..8d1f1251 100644--- a/frontend/app/components/SessionCard.vue+++ b/frontend/app/components/SessionCard.vue@@ -96,7 +96,7 @@ const deviceType = computed(() => {display: flex;padding: 1rem 1.25rem;border: 1px solid var(--border);- border-radius: 12px;+ border-radius: var(--radius-lg);background: var(--surface-base);transition: all 0.2s ease;flex-direction: column;@@ -132,7 +132,7 @@ const deviceType = computed(() => {display: flex;width: 44px;height: 44px;- border-radius: 10px;+ border-radius: var(--radius-lg);color: var(--text-body);background: var(--surface-overlay);align-items: center;@@ -183,7 +183,7 @@ const deviceType = computed(() => {.badge {display: inline-flex;padding: 0.15rem 0.5rem;- border-radius: 20px;+ border-radius: var(--radius-xl);font-size: 0.7rem;font-weight: 600;align-items: center;@@ -269,8 +269,8 @@ const deviceType = computed(() => {.user-agent-value {padding: 0.5rem 0.75rem;- border-radius: 6px;- font-family: var(--monospace-font, 'JetBrains Mono', monospace);+ border-radius: var(--radius-sm);+ font-family: $font-mono;font-size: 0.75rem;line-height: 1.4;color: var(--text-secondary);diff --git a/frontend/app/components/Sidebar/Dock.vue b/frontend/app/components/Sidebar/Dock.vueindex 89c6c87e..37ffad32 100644--- a/frontend/app/components/Sidebar/Dock.vue+++ b/frontend/app/components/Sidebar/Dock.vue@@ -57,7 +57,7 @@ a {display: flex;width: 40px;height: 40px;- border-radius: 8px;+ border-radius: var(--radius-md);transition: background-color 0.3s ease;align-items: center;justify-content: center;diff --git a/frontend/app/components/Sidebar/SidebarItem.vue b/frontend/app/components/Sidebar/SidebarItem.vueindex f333e38b..b9a048b1 100644--- a/frontend/app/components/Sidebar/SidebarItem.vue+++ b/frontend/app/components/Sidebar/SidebarItem.vue@@ -113,7 +113,7 @@ const drop = async (event: DragEvent) => {width: 100%;margin: 2.5px 0;padding: 1px 4px;- border-radius: $radius-sm;+ border-radius: var(--radius-sm);font-size: 15px;font-weight: 450;align-items: center;diff --git a/frontend/app/components/Sidebar/SidebarSkeleton.vue b/frontend/app/components/Sidebar/SidebarSkeleton.vueindex 96b9da3e..ca440ec8 100644--- a/frontend/app/components/Sidebar/SidebarSkeleton.vue+++ b/frontend/app/components/Sidebar/SidebarSkeleton.vue@@ -43,7 +43,7 @@ defineProps<{ isLoading: boolean }>();.skeleton-line {height: 20px;- border-radius: 6px;+ border-radius: var(--radius-sm);background: linear-gradient(90deg, var(--border) 25%, var(--surface-raised) 37%, var(--border) 63%);background-size: 400% 100%;animation: shimmer 1.4s ease infinite;diff --git a/frontend/app/components/Sidebar/SidebarWorkspaces.vue b/frontend/app/components/Sidebar/SidebarWorkspaces.vueindex ba941232..9db4efff 100644--- a/frontend/app/components/Sidebar/SidebarWorkspaces.vue+++ b/frontend/app/components/Sidebar/SidebarWorkspaces.vue@@ -75,7 +75,7 @@ const create_workspace = (_: MouseEvent) => useModal().add(new Modal(shallowRef(margin: 4px 0;padding: 4px 10px 4px 4px;border: 1px solid var(--border);- border-radius: 8px;+ border-radius: var(--radius-md);background: var(--surface-base);transition: all 0.2s ease;align-items: center;@@ -119,7 +119,7 @@ const create_workspace = (_: MouseEvent) => useModal().add(new Modal(shallowRef(margin: 0;padding: 4px;border: 1px solid var(--border);- border-radius: 10px;+ border-radius: var(--radius-lg);color: var(--text-body);background-color: var(--surface-base);box-shadow:@@ -145,7 +145,7 @@ const create_workspace = (_: MouseEvent) => useModal().add(new Modal(shallowRef(li {margin: 4px 0;padding: 2px 4px;- border-radius: 6px;+ border-radius: var(--radius-sm);transition: all 0.15s ease;cursor: pointer;}@@ -181,7 +181,7 @@ hr {display: flex;margin: 2px 0;padding: 8px;- border-radius: 8px;+ border-radius: var(--radius-md);font-size: 0.9rem;font-weight: 500;color: var(--text-secondary);diff --git a/frontend/app/components/ViewSelection.vue b/frontend/app/components/ViewSelection.vueindex 8bb6e04d..6c9fe3e5 100644--- a/frontend/app/components/ViewSelection.vue+++ b/frontend/app/components/ViewSelection.vue@@ -48,7 +48,7 @@ onMounted(() => {.view-selection {display: flex;padding: 3px;- border-radius: $radius-sm;+ border-radius: var(--radius-sm);background: var(--surface-raised);align-items: center;gap: 2px;@@ -60,7 +60,7 @@ button {height: 32px;padding: 0;border: none;- border-radius: $radius-sm;+ border-radius: var(--radius-sm);color: var(--text-secondary);background: transparent;transition:diff --git a/frontend/app/error.vue b/frontend/app/error.vueindex 62e8da23..58a3d887 100644--- a/frontend/app/error.vue+++ b/frontend/app/error.vue@@ -69,7 +69,7 @@ const props = defineProps({.error-button {display: inline-block;padding: 10px 20px;- border-radius: 5px;+ border-radius: var(--radius-sm);color: white;background-color: var(--primary);transition: background-color 0.3s;diff --git a/frontend/app/pages/(public)/_components/AppFooter.vue b/frontend/app/pages/(public)/_components/AppFooter.vueindex e2433ed0..5982801e 100644--- a/frontend/app/pages/(public)/_components/AppFooter.vue+++ b/frontend/app/pages/(public)/_components/AppFooter.vue@@ -153,7 +153,7 @@width: 40px;height: 40px;border: 1px solid var(--border);- border-radius: 10px;+ border-radius: var(--radius-lg);color: var(--text-secondary);background: var(--surface-raised);transition: all 0.3s ease;diff --git a/frontend/app/pages/(public)/_components/AppHeader.vue b/frontend/app/pages/(public)/_components/AppHeader.vueindex b8797e40..dbf05e2f 100644--- a/frontend/app/pages/(public)/_components/AppHeader.vue+++ b/frontend/app/pages/(public)/_components/AppHeader.vue@@ -13,7 +13,7 @@ nav {a {margin: 0 8px;padding: 4px 15px;- border-radius: 25px;+ border-radius: var(--radius-xxl);}}diff --git a/frontend/app/pages/(public)/_components/BentoFeatures.vue b/frontend/app/pages/(public)/_components/BentoFeatures.vueindex 90a77fac..fe04f19c 100644--- a/frontend/app/pages/(public)/_components/BentoFeatures.vue+++ b/frontend/app/pages/(public)/_components/BentoFeatures.vue@@ -248,7 +248,7 @@position: relative;padding: 1.5rem;border: 1px solid var(--border);- border-radius: 20px;+ border-radius: var(--radius-xl);background: var(--surface-base);transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);overflow: hidden;@@ -263,7 +263,7 @@display: flex;width: 48px;height: 48px;- border-radius: 12px;+ border-radius: var(--radius-lg);color: var(--primary);background: var(--surface-raised);align-items: center;@@ -349,7 +349,7 @@width: 100%;padding: 1rem;border: 1px solid var(--border);- border-radius: 12px;+ border-radius: var(--radius-lg);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;font-size: 13px;line-height: 1.8;@@ -415,7 +415,7 @@.folder-item {display: flex;padding: 6px 10px;- border-radius: 8px;+ border-radius: var(--radius-md);transition: background 0.2s;align-items: center;gap: 8px;@@ -496,7 +496,7 @@.search-demo {border: 1px solid var(--border);- border-radius: 12px;+ border-radius: var(--radius-lg);background: var(--surface-raised);overflow: hidden;}@@ -513,7 +513,7 @@.kbd {padding: 4px 8px;border: 1px solid var(--border);- border-radius: 6px;+ border-radius: var(--radius-sm);font-size: 11px;font-weight: 600;background: var(--surface-base);@@ -528,7 +528,7 @@.search-result {display: flex;padding: 10px 12px;- border-radius: 8px;+ border-radius: var(--radius-md);transition: background 0.2s;align-items: center;cursor: pointer;@@ -570,7 +570,7 @@display: flex;padding: 12px 14px;border: 1px solid var(--border);- border-radius: 10px;+ border-radius: var(--radius-lg);font-size: 13px;background: var(--surface-raised);align-items: center;diff --git a/frontend/app/pages/(public)/_components/ContributorsMarquee.vue b/frontend/app/pages/(public)/_components/ContributorsMarquee.vueindex cb2b9934..a470fd74 100644--- a/frontend/app/pages/(public)/_components/ContributorsMarquee.vue+++ b/frontend/app/pages/(public)/_components/ContributorsMarquee.vue@@ -94,7 +94,7 @@ onMounted(fetchContributors);display: flex;padding: 12px 16px;border: 1px solid var(--border);- border-radius: 14px;+ border-radius: var(--radius-lg);background: var(--surface-base);transition: all 0.3s ease;align-items: center;@@ -115,7 +115,7 @@ onMounted(fetchContributors);img {width: 44px;height: 44px;- border-radius: 12px;+ border-radius: var(--radius-lg);transition: transform 0.3s ease;}}@@ -145,7 +145,7 @@ onMounted(fetchContributors);display: inline-flex;padding: 12px 24px;border: 1px solid var(--border);- border-radius: 12px;+ border-radius: var(--radius-lg);font-size: 14px;font-weight: 600;color: var(--text-body);diff --git a/frontend/app/pages/(public)/_components/FeaturesShowcase.vue b/frontend/app/pages/(public)/_components/FeaturesShowcase.vueindex d5626f79..7f091e37 100644--- a/frontend/app/pages/(public)/_components/FeaturesShowcase.vue+++ b/frontend/app/pages/(public)/_components/FeaturesShowcase.vue@@ -179,7 +179,7 @@ onUnmounted(() => {display: flex;min-width: 32px;height: 32px;- border-radius: 8px;+ border-radius: var(--radius-md);font-size: 12px;font-weight: 700;color: var(--text-secondary);diff --git a/frontend/app/pages/(public)/_components/FinalCTA.vue b/frontend/app/pages/(public)/_components/FinalCTA.vueindex 489004a3..be85280b 100644--- a/frontend/app/pages/(public)/_components/FinalCTA.vue+++ b/frontend/app/pages/(public)/_components/FinalCTA.vue@@ -201,7 +201,7 @@.btn-primary {display: inline-flex;padding: 16px 28px;- border-radius: 12px;+ border-radius: var(--radius-lg);font-size: 15px;font-weight: 600;color: var(--primary);@@ -229,7 +229,7 @@display: inline-flex;padding: 16px 28px;border: 1px solid rgb(255 255 255 / 30%);- border-radius: 12px;+ border-radius: var(--radius-lg);font-size: 15px;font-weight: 600;color: white;@@ -284,7 +284,7 @@display: flex;width: 48px;height: 48px;- border-radius: 12px;+ border-radius: var(--radius-lg);background: #5865f2;align-items: center;flex-shrink: 0;@@ -309,7 +309,7 @@.discord-btn {padding: 10px 18px;- border-radius: 10px;+ border-radius: var(--radius-lg);font-size: 13px;font-weight: 600;color: #5865f2;@@ -331,7 +331,7 @@.cta-container {padding: 3rem 1.5rem;- border-radius: 24px;+ border-radius: var(--radius-xxl);}.cta-actions {diff --git a/frontend/app/pages/(public)/_components/OpenSourceStats.vue b/frontend/app/pages/(public)/_components/OpenSourceStats.vueindex d8c9f33a..1456d5c3 100644--- a/frontend/app/pages/(public)/_components/OpenSourceStats.vue+++ b/frontend/app/pages/(public)/_components/OpenSourceStats.vue@@ -147,7 +147,7 @@ onMounted(() => {.visual-bg {position: absolute;- border-radius: 24px;+ border-radius: var(--radius-xxl);background: linear-gradient(135deg, var(--surface-raised), var(--surface-base));inset: 0;overflow: hidden;@@ -165,7 +165,7 @@ onMounted(() => {.code-line {width: var(--width);height: 12px;- border-radius: 6px;+ border-radius: var(--radius-sm);background: var(--border);opacity: 0.4;}@@ -175,7 +175,7 @@ onMounted(() => {margin: 2rem;padding: 2rem;border: 1px solid var(--border);- border-radius: 20px;+ border-radius: var(--radius-xl);background: var(--surface-base);box-shadow: 0 25px 80px rgb(0 0 0 / 10%);}@@ -288,7 +288,7 @@ onMounted(() => {display: inline-flex;padding: 12px 20px;border: 1px solid var(--border);- border-radius: 12px;+ border-radius: var(--radius-lg);font-size: 14px;font-weight: 600;transition: all 0.3s ease;diff --git a/frontend/app/pages/(public)/_components/SelfHostSteps.vue b/frontend/app/pages/(public)/_components/SelfHostSteps.vueindex 728b6da7..ca8b6425 100644--- a/frontend/app/pages/(public)/_components/SelfHostSteps.vue+++ b/frontend/app/pages/(public)/_components/SelfHostSteps.vue@@ -176,7 +176,7 @@ h2 {display: flex;width: 32px;height: 32px;- border-radius: 10px;+ border-radius: var(--radius-lg);font-size: 14px;font-weight: 700;color: white;@@ -206,7 +206,7 @@ h2 {.code {padding: 10px 14px;border: 1px solid var(--border);- border-radius: 10px;+ border-radius: var(--radius-lg);font-family: $font-mono;font-size: 13px;background: var(--surface-raised);@@ -221,7 +221,7 @@ h2 {height: 36px;padding: 0;border: 1px solid var(--border);- border-radius: 10px;+ border-radius: var(--radius-lg);color: var(--text-secondary);background: var(--surface-base);transition: all 0.2s ease;diff --git a/frontend/app/pages/(public)/_components/features/FeaturesFAQ.vue b/frontend/app/pages/(public)/_components/features/FeaturesFAQ.vueindex 5e5eeeae..1808c2da 100644--- a/frontend/app/pages/(public)/_components/features/FeaturesFAQ.vue+++ b/frontend/app/pages/(public)/_components/features/FeaturesFAQ.vue@@ -157,7 +157,7 @@ h2 {display: flex;width: 28px;height: 28px;- border-radius: 8px;+ border-radius: var(--radius-md);color: var(--primary);background: var(--surface-raised);transition: all 0.3s ease;@@ -193,7 +193,7 @@ h2 {.cta-content {padding: 2.5rem 2rem;border: 1px solid var(--border);- border-radius: 24px;+ border-radius: var(--radius-xxl);text-align: center;background: linear-gradient(135deg, var(--surface-raised), var(--surface-base));}@@ -219,7 +219,7 @@ h2 {.cta-btn {display: inline-flex;padding: 12px 24px;- border-radius: 12px;+ border-radius: var(--radius-lg);font-size: 14px;font-weight: 600;color: white;diff --git a/frontend/app/pages/(public)/_components/features/FeaturesTimeline.vue b/frontend/app/pages/(public)/_components/features/FeaturesTimeline.vueindex eb2fef3a..0a779df0 100644--- a/frontend/app/pages/(public)/_components/features/FeaturesTimeline.vue+++ b/frontend/app/pages/(public)/_components/features/FeaturesTimeline.vue@@ -231,7 +231,7 @@ section {position: relative;max-width: min(1100px, 92vw);max-height: 85vh;- border-radius: 12px;+ border-radius: var(--radius-lg);animation: zoomIn 0.25s ease;overflow: hidden;diff --git a/frontend/app/pages/(public)/login/index.vue b/frontend/app/pages/(public)/login/index.vueindex 2eadca01..54cbe60f 100644--- a/frontend/app/pages/(public)/login/index.vue+++ b/frontend/app/pages/(public)/login/index.vue@@ -227,7 +227,7 @@ input {width: 100%;padding: 0.9rem;border: none;- border-radius: 12px;+ border-radius: var(--radius-lg);font-size: 1.1rem;font-weight: 600;color: white;diff --git a/frontend/app/pages/(public)/signup.vue b/frontend/app/pages/(public)/signup.vueindex 5a9201f9..5a69f740 100644--- a/frontend/app/pages/(public)/signup.vue+++ b/frontend/app/pages/(public)/signup.vue@@ -167,7 +167,7 @@ input {width: 100%;padding: 0.6rem;border: 2px solid var(--border);- border-radius: 8px;+ border-radius: var(--radius-md);font-size: 1rem;background: var(--surface-base);transition: all 0.2s ease;@@ -253,7 +253,7 @@ input {width: 100%;padding: 0.9rem;border: none;- border-radius: 12px;+ border-radius: var(--radius-lg);font-size: 1.1rem;font-weight: 600;color: white;diff --git a/frontend/app/pages/dashboard/categories/index.vue b/frontend/app/pages/dashboard/categories/index.vueindex f7b9b4d3..419d7f33 100644--- a/frontend/app/pages/dashboard/categories/index.vue+++ b/frontend/app/pages/dashboard/categories/index.vue@@ -55,7 +55,7 @@ function deleteNode(node: TreeItem<Node>) {width: 100%;padding: 5px 15px;border: var(--border) 1px solid;- border-radius: 10px;+ border-radius: var(--radius-lg);flex-direction: column;margin-bottom: 16px;}diff --git a/frontend/app/pages/dashboard/cdn/index.vue b/frontend/app/pages/dashboard/cdn/index.vueindex 83896456..63c46f44 100644--- a/frontend/app/pages/dashboard/cdn/index.vue+++ b/frontend/app/pages/dashboard/cdn/index.vue@@ -198,8 +198,7 @@ const bulkDelete = async (lines: Field[]) => {width: 100%;margin: 12px 0;padding: 12px 16px;- border-radius: 8px;- background: var(--bg-color-secondary);+ border-radius: var(--radius-md);align-items: center;gap: 12px;@@ -277,11 +276,10 @@ const bulkDelete = async (lines: Field[]) => {width: 100%;padding: 10px;border: 1px solid var(--border);- border-radius: 6px;- font-family: 'JetBrains Mono', monospace;+ border-radius: var(--radius-sm);+ font-family: $font-mono;font-size: 13px;color: var(--text-primary);- background: var(--bg-color-secondary);white-space: pre-wrap;word-break: break-all;}@@ -310,12 +308,11 @@ const bulkDelete = async (lines: Field[]) => {.selected-count {display: flex;width: 32px;- height: 36px;- padding: 6px;+ height: 34px;+ padding: 4px;border: 1px solid var(--border);border-radius: 4px;- font-family: Inter, sans-serif;- font-size: 13px;+ font-size: 12px;font-weight: bold;color: var(--text-secondary);align-items: center;@@ -342,26 +339,24 @@ const bulkDelete = async (lines: Field[]) => {.image-item {border: 2px solid transparent;- border-radius: 8px;+ border-radius: var(--radius-md);cursor: pointer;&:hover {border-color: var(--primary);- box-shadow: 0 8px 24px rgb(0 0 0 / 15%);+ box-shadow: var(--shadow-lg);transform: translateY(-2px);}.image-preview {width: 100%;height: 150px;- border-radius: 6px;- background: var(--bg-color-secondary);+ border-radius: var(--radius-sm);object-fit: cover;}.image-info {padding: 12px;- background: var(--bg-color-secondary);.image-name {display: block;diff --git a/frontend/app/pages/dashboard/home.vue b/frontend/app/pages/dashboard/home.vueindex c7259231..ae998444 100644--- a/frontend/app/pages/dashboard/home.vue+++ b/frontend/app/pages/dashboard/home.vue@@ -283,7 +283,7 @@ const openCreateWorkspace = () => useModal().add(new Modal(shallowRef(CreateCatedisplay: flex;padding: 0.75rem 1rem;border: 2px solid var(--border);- border-radius: 12px;+ border-radius: var(--radius-lg);background: var(--surface-base);transition: all 0.2s;align-items: center;@@ -331,7 +331,7 @@ const openCreateWorkspace = () => useModal().add(new Modal(shallowRef(CreateCatemax-height: 400px;padding: 2px;border: 1px solid var(--border);- border-radius: 12px;+ border-radius: var(--radius-lg);background: var(--surface-base);box-shadow: 0 8px 32px rgb(0 0 0 / 12%);overflow-y: auto;@@ -340,7 +340,7 @@ const openCreateWorkspace = () => useModal().add(new Modal(shallowRef(CreateCate.search-result {display: flex;padding: 0.75rem 1rem;- border-radius: 8px;+ border-radius: var(--radius-md);color: var(--text-body);transition: background 0.15s;align-items: center;@@ -362,7 +362,7 @@ const openCreateWorkspace = () => useModal().add(new Modal(shallowRef(CreateCate.node-icon {padding: 3px;- border-radius: 6px;+ border-radius: var(--radius-sm);margin-right: 10px;}@@ -448,7 +448,7 @@ const openCreateWorkspace = () => useModal().add(new Modal(shallowRef(CreateCatedisplay: flex;min-height: 150px;border: 2px dashed var(--border);- border-radius: 12px;+ border-radius: var(--radius-lg);font-size: 0.9rem;color: var(--text-secondary);background: transparent;@@ -497,7 +497,7 @@ const openCreateWorkspace = () => useModal().add(new Modal(shallowRef(CreateCate.activity-item {display: flex;padding: 0.5rem;- border-radius: 8px;+ border-radius: var(--radius-md);color: var(--text-body);transition: background 0.15s;align-items: center;@@ -541,7 +541,7 @@ const openCreateWorkspace = () => useModal().add(new Modal(shallowRef(CreateCatedisplay: flex;padding: 1.25rem;border: 1px solid var(--border);- border-radius: 12px;+ border-radius: var(--radius-lg);background: var(--surface-base);align-items: center;gap: 1rem;@@ -549,7 +549,7 @@ const openCreateWorkspace = () => useModal().add(new Modal(shallowRef(CreateCate.stat-icon {padding: 0.4rem;- border-radius: 8px;+ border-radius: var(--radius-md);background: var(--primary-bg);}diff --git a/frontend/app/pages/dashboard/import/_components/ImportHeader.vue b/frontend/app/pages/dashboard/import/_components/ImportHeader.vueindex f75246f8..efbad1cc 100644--- a/frontend/app/pages/dashboard/import/_components/ImportHeader.vue+++ b/frontend/app/pages/dashboard/import/_components/ImportHeader.vue@@ -99,10 +99,9 @@ h2 {.badge {display: inline-flex;padding: 0.25rem 0.5rem;- border-radius: $radius-sm;+ border-radius: var(--radius-sm);font-size: 0.75rem;color: var(--text-primary);- background: var(--bg-color-2);opacity: 0.5;align-items: center;gap: 0.25rem;diff --git a/frontend/app/pages/dashboard/import/_components/ImportProgress.vue b/frontend/app/pages/dashboard/import/_components/ImportProgress.vueindex 7a086ce1..7d9deb8e 100644--- a/frontend/app/pages/dashboard/import/_components/ImportProgress.vue+++ b/frontend/app/pages/dashboard/import/_components/ImportProgress.vue@@ -51,7 +51,7 @@ const statusLabel = computed(() => {.status-badge {padding: 0.25rem 0.75rem;- border-radius: $radius-sm;+ border-radius: var(--radius-sm);font-size: 0.875rem;font-weight: 500;diff --git a/frontend/app/pages/dashboard/import/_components/ImportSummary.vue b/frontend/app/pages/dashboard/import/_components/ImportSummary.vueindex d73acf89..cb091077 100644--- a/frontend/app/pages/dashboard/import/_components/ImportSummary.vue+++ b/frontend/app/pages/dashboard/import/_components/ImportSummary.vue@@ -54,7 +54,7 @@ defineProps<{display: flex;width: 200px;padding: 1rem;- border-radius: $radius-sm;+ border-radius: var(--radius-sm);align-items: center;flex-direction: column;gap: 0.25rem;diff --git a/frontend/app/pages/dashboard/import/_components/ImportTabs.vue b/frontend/app/pages/dashboard/import/_components/ImportTabs.vueindex 9cdc9dc7..81199142 100644--- a/frontend/app/pages/dashboard/import/_components/ImportTabs.vue+++ b/frontend/app/pages/dashboard/import/_components/ImportTabs.vue@@ -240,16 +240,10 @@ function importLocalSettings() {.document-item {display: flex;padding: 0.75rem;- border-radius: $radius-sm;- background: var(--bg-color-2);- transition: background 0.2s;+ border-radius: var(--radius-sm);align-items: center;gap: 1rem;- &:hover {- background: var(--bg-color-3);- }-.doc-info {display: flex;min-width: 0;@@ -292,7 +286,7 @@ function importLocalSettings() {.comparison {display: flex;padding: 0.25rem 0.5rem;- border-radius: $radius-sm;+ border-radius: var(--radius-sm);font-size: 0.75rem;background: var(--surface-base);align-items: center;diff --git a/frontend/app/pages/dashboard/settings/_views/backups.vue b/frontend/app/pages/dashboard/settings/_views/backups.vueindex 0f96278a..d43df1d8 100644--- a/frontend/app/pages/dashboard/settings/_views/backups.vue+++ b/frontend/app/pages/dashboard/settings/_views/backups.vue@@ -284,7 +284,7 @@ onUnmounted(() => {.progress-section {padding: 1rem;- border-radius: $radius-sm;+ border-radius: var(--radius-sm);}.progress-header {@@ -296,7 +296,7 @@ onUnmounted(() => {.status-badge {padding: 0.25rem 0.75rem;- border-radius: $radius-sm;+ border-radius: var(--radius-sm);font-size: 0.875rem;font-weight: 500;@@ -352,7 +352,7 @@ onUnmounted(() => {.error-message {display: flex;padding: 0.75rem;- border-radius: $radius-sm;+ border-radius: var(--radius-sm);color: var(--error);text-align: left;background: var(--error-bg);diff --git a/frontend/app/pages/dashboard/settings/_views/security.vue b/frontend/app/pages/dashboard/settings/_views/security.vueindex de1c1660..d1f91678 100644--- a/frontend/app/pages/dashboard/settings/_views/security.vue+++ b/frontend/app/pages/dashboard/settings/_views/security.vue@@ -212,7 +212,7 @@ const openDeleteModal = () => useModal().add(new Modal(shallowRef(DeleteAccountM.no-sessions {padding: 1rem;- border-radius: 10px;+ border-radius: var(--radius-lg);color: var(--text-secondary);text-align: center;background: var(--surface-raised);@@ -228,7 +228,7 @@ p {display: flex;padding: 1rem 1.25rem;border: 1px solid var(--yellow-border);- border-radius: 10px;+ border-radius: var(--radius-lg);background: var(--yellow-bg);gap: 1rem;margin-bottom: 1.5rem;@@ -285,7 +285,7 @@ p {display: flex;padding: 0.75rem 1rem;border: 1px solid var(--border);- border-radius: 10px;+ border-radius: var(--radius-lg);background: var(--bg-secondary);align-items: center;gap: 1rem;@@ -343,7 +343,7 @@ p {display: flex;padding: 1rem 1.25rem;border: 1px solid var(--border);- border-radius: 12px;+ border-radius: var(--radius-lg);background: var(--surface-base);transition: all 0.2s ease;align-items: center;@@ -376,7 +376,7 @@ p {display: flex;width: 40px;height: 40px;- border-radius: 10px;+ border-radius: var(--radius-lg);color: var(--text-body);background: var(--surface-overlay);align-items: center;diff --git a/frontend/app/pages/dashboard/settings/_views/shortcuts.vue b/frontend/app/pages/dashboard/settings/_views/shortcuts.vueindex a613633d..f3840c6a 100644--- a/frontend/app/pages/dashboard/settings/_views/shortcuts.vue+++ b/frontend/app/pages/dashboard/settings/_views/shortcuts.vue@@ -132,8 +132,7 @@<style scoped lang="scss">.shortcuts {display: flex;- border-radius: 12px;- font-family: Inter;+ border-radius: var(--radius-lg);font-size: 16px;font-weight: 400;background-color: var(--surface-transparent);@@ -149,7 +148,7 @@ p {.shortcut {display: flex;padding: 8px 12px;- border-radius: 8px;+ border-radius: var(--radius-md);text-align: left;align-items: center;gap: 1rem;diff --git a/frontend/app/pages/dashboard/settings/_views/snippets.vue b/frontend/app/pages/dashboard/settings/_views/snippets.vueindex a69bd801..14f3e62e 100644--- a/frontend/app/pages/dashboard/settings/_views/snippets.vue+++ b/frontend/app/pages/dashboard/settings/_views/snippets.vue@@ -236,7 +236,7 @@ const handleDictImport = async (e: Event) => {min-width: 160px;padding: 0.25rem;border: 1px solid var(--border);- border-radius: 8px;+ border-radius: var(--radius-md);background: var(--surface-base);box-shadow: 0 4px 12px rgb(0 0 0 / 15%);margin-top: 0.25rem;@@ -246,7 +246,7 @@ const handleDictImport = async (e: Event) => {width: 100%;padding: 0.5rem 0.75rem;border: none;- border-radius: 6px;+ border-radius: var(--radius-sm);font-size: 0.85rem;color: var(--text-body);text-align: left;diff --git a/frontend/app/pages/dashboard/settings/index.vue b/frontend/app/pages/dashboard/settings/index.vueindex 410119ba..6a44597e 100644--- a/frontend/app/pages/dashboard/settings/index.vue+++ b/frontend/app/pages/dashboard/settings/index.vue@@ -108,7 +108,7 @@ const close = () => emit('close');display: flex;margin: 0.4rem 0.2rem;padding: 0.05rem 0.4rem;- border-radius: 6px;+ border-radius: var(--radius-sm);color: inherit;align-items: center;gap: 0.5rem;@@ -197,7 +197,7 @@ const close = () => emit('close');&.open {max-height: 70vh;padding: 1rem;- border-radius: $radius-lg;+ border-radius: var(--radius-lg);box-shadow: 0 4px 12px rgb(0 0 0 / 15%);border-bottom: 1px solid var(--border);overflow-y: auto;diff --git a/frontend/app/pages/dashboard/settings/modal.vue b/frontend/app/pages/dashboard/settings/modal.vueindex 79c81ac3..ea0bee3c 100644--- a/frontend/app/pages/dashboard/settings/modal.vue+++ b/frontend/app/pages/dashboard/settings/modal.vue@@ -13,7 +13,7 @@ import IndexSettings from './index.vue';max-width: 1150px;height: 715px;max-height: 90vh;- border-radius: 8px;+ border-radius: var(--radius-md);nav {padding: 1rem;@@ -33,7 +33,7 @@ import IndexSettings from './index.vue';display: flex;margin: 0.2rem;padding: 0.2rem 0.4rem;- border-radius: 6px;+ border-radius: var(--radius-sm);color: inherit;align-items: center;gap: 0.5rem;diff --git a/frontend/app/styles/_variables.scss b/frontend/app/styles/_variables.scssindex 9fdc5d40..c78fb965 100644--- a/frontend/app/styles/_variables.scss+++ b/frontend/app/styles/_variables.scss@@ -7,12 +7,17 @@ $transition-fast: 0.15s;$transition-base: 0.25s;$transition-slow: 0.4s;-// Border radius-$radius-xs: 4px;-$radius-sm: 6px;-$radius-md: 10px;-$radius-lg: 14px;-$radius-xl: 20px;++// Global variables+:root {+ // Border radius+ --radius-xs: 4px;+ --radius-sm: 6px;+ --radius-md: 8px;+ --radius-lg: 12px;+ --radius-xl: 20px;+ --radius-xxl: 24px;+}:root {// ACCENT / PRIMARY COLOR@@ -127,7 +132,7 @@ $radius-xl: 20px;// SURFACES (Backgrounds)// Layered system: base β raised β overlay// -------------------------------------------------------------------------- --bg-color: #212830;+ --surface-base: #212830;--surface-raised: #262c36;--surface-overlay: #2d3443;--surface-transparent: rgb(255 255 255 / 4%);@@ -220,7 +225,7 @@ $radius-xl: 20px;// THEME \\:root {- --bg-color: #fff;+ --surface-base: #fff;--surface-raised: #F1F6FD;--surface-overlay: #ECF2FF;--selection-color: #e1f2ff;diff --git a/frontend/app/styles/code.scss b/frontend/app/styles/code.scssindex 64a63dfc..f5330c10 100644--- a/frontend/app/styles/code.scss+++ b/frontend/app/styles/code.scss@@ -1,8 +1,10 @@+@use "./_variables.scss" as *;+pre {display: inline-block;width: 100%;margin: 12px 0;- border-radius: 8px;+ border-radius: var(--radius-md);background: #292d3e;word-break: break-all;}@@ -20,7 +22,7 @@ code {pre code.hljs {display: block;padding: 1em;- font-family: 'JetBrains Mono', monospace;+ font-family: $font-mono;font-size: 14px;color: #abb2bf;background: #292d3e;diff --git a/frontend/app/styles/components.scss b/frontend/app/styles/components.scssindex fec46de5..3543667f 100644--- a/frontend/app/styles/components.scss+++ b/frontend/app/styles/components.scss@@ -80,7 +80,7 @@margin: 8px 4px;padding: 20px;border: 1px solid var(--border);- border-radius: $radius-md;+ border-radius: var(--radius-md);box-shadow: 0 2px 6px var(--shadow-sm);gap: 16px;overflow: auto;@@ -113,7 +113,7 @@// ===========================.btn-icon {padding: 4px;- border-radius: $radius-sm;+ border-radius: var(--radius-sm);transition: background 0.15s;cursor: pointer;@@ -128,7 +128,7 @@tag {margin: 1px 2px 1px 0;padding: 2px 6px;- border-radius: $radius-sm;+ border-radius: var(--radius-sm);font-size: 0.8em;&.primary {@@ -176,7 +176,7 @@ tag {left: 50%;z-index: 100;padding: 0.4rem;- border-radius: $radius-sm;+ border-radius: var(--radius-sm);font-size: 0.7rem;color: white;background-color: #1f2937;diff --git a/frontend/app/styles/document-theme.scss b/frontend/app/styles/document-theme.scssindex bcd07cc7..de94c161 100644--- a/frontend/app/styles/document-theme.scss+++ b/frontend/app/styles/document-theme.scss@@ -260,7 +260,7 @@.modern-theme {max-width: 100%;padding: 0 0.5rem;- font-family: Inter, Roboto, sans-serif;+ font-family: $font-sans;font-size: 16px;color: var(--text-body);@@ -301,7 +301,7 @@code,pre {- border-radius: 6px;+ border-radius: var(--radius-sm);font-family: 'Roboto Mono', monospace;font-size: 0.95em;color: var(--text-body);@@ -333,13 +333,13 @@img {max-width: 100%;margin: 1rem 0;- border-radius: 8px;+ border-radius: var(--radius-md);}table {width: 100%;margin: 1.5em 0;- border-radius: 8px;+ border-radius: var(--radius-md);font-size: 0.95em;border-collapse: collapse;overflow: hidden;diff --git a/frontend/app/styles/main.scss b/frontend/app/styles/main.scssindex af9c673d..77354a0b 100644--- a/frontend/app/styles/main.scss+++ b/frontend/app/styles/main.scss@@ -15,19 +15,29 @@-moz-osx-font-smoothing: grayscale;}++/* Custom scrollbar styles */+::-webkit-scrollbar-button {+ display: none;+}+::-webkit-scrollbar {- width: 2px;+ width: 4px;height: 98%;background: transparent;}+::-webkit-scrollbar-track {+ border-radius: var(--radius-sm);+}+::-webkit-scrollbar-thumb {+ border-radius: var(--radius-sm);background: var(--border);-}-/* set button(top and bottom of the scrollbar) */-::-webkit-scrollbar-button {- display: none;+ &:hover {+ background: var(--border-strong);+ }}::selection {diff --git a/frontend/app/styles/markdown.scss b/frontend/app/styles/markdown.scssindex bb0e5fee..959ad5f6 100644--- a/frontend/app/styles/markdown.scss+++ b/frontend/app/styles/markdown.scss@@ -83,7 +83,7 @@.custom-block {padding: 10px 10px 8px;border: 1px solid transparent;- border-radius: 8px;+ border-radius: var(--radius-md);font-size: 14px;line-height: 24px;color: rgb(235 235 235 / 100%);@@ -368,7 +368,7 @@.block.card {- border-radius: 6px;+ border-radius: var(--radius-sm);}.block-title {@@ -391,7 +391,7 @@/* Modifiers */.rounded {- border-radius: 12px;+ border-radius: var(--radius-lg);.block-title {border-radius: 12px 12px 0 0;diff --git a/frontend/app/styles/theme.scss b/frontend/app/styles/theme.scssindex 60c737e4..40f5e226 100644--- a/frontend/app/styles/theme.scss+++ b/frontend/app/styles/theme.scss@@ -29,7 +29,7 @@ blockquote {button {padding: 8px 16px;border: none;- border-radius: 6px;+ border-radius: var(--radius-sm);color: var(--text-body);background: transparent;cursor: pointer;@@ -106,7 +106,7 @@ video {display: block;width: 100%;margin: 10px 0;- border-radius: 6px;+ border-radius: var(--radius-sm);background: var(--surface-transparent);}@@ -114,7 +114,7 @@ iframe {max-width: 100%;margin: 10px 0;border: none;- border-radius: 6px;+ border-radius: var(--radius-sm);}input,@@ -123,8 +123,7 @@ textarea {margin: 0;padding: 8px 10px;border: 1px solid var(--border);- border-radius: 6px;- font-family: Inter;+ border-radius: var(--radius-sm);font-size: 14px;color: var(--text-body);background: var(--surface-base);@@ -162,8 +161,7 @@ kbd {display: inline-block;padding: 4px 6px;border: 1px solid var(--border);- border-radius: 6px;- font-family: Inter;+ border-radius: var(--radius-sm);font-size: 13px;font-weight: 400;color: var(--text-primary);@@ -193,7 +191,7 @@ p {table {max-width: 100%;margin: 1.5rem 0;- border-radius: 12px;+ border-radius: var(--radius-lg);font-size: 0.95rem;box-shadow: 0 1px 2px rgb(0 0 0 / 4%);border-collapse: collapse;