开始完善便签新建、编辑逻辑

This commit is contained in:
2025-10-12 18:32:25 +08:00
parent 3957a7d3b2
commit 1bb9b4a79e
13 changed files with 696 additions and 1039 deletions

View File

@@ -4,7 +4,10 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<!-- 透明 -->
<meta name="apple-mobile-web-app-orientation" content="portrait" />
<!-- 纵向 -->
<title>锤子便签</title>
<style>
/* Smartisan Notes Color Scheme - Based on Original Design */
@@ -15,8 +18,8 @@
--primary-light: #f5f0e6; /* Light background tone */
/* Editor typography - Consistent font size and line height */
--editor-font-size: 19px; /* Base font size for editor */
--editor-line-height: 1.5; /* Line height for editor */
--editor-font-size: 23px; /* Base font size for editor */
--editor-line-height: 1.1; /* Line height for editor */
/* Background colors - Warm paper-like tones */
--background: #fbf7ed; /* Main app background - warm off-white */
@@ -92,7 +95,6 @@
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
background-color: var(--background);
background-image: repeating-linear-gradient(0deg, transparent, transparent 10px, var(--background-secondary) 10px, var(--background-secondary) 20px);
color: var(--text-primary);
/* 适配iPhone X及更新机型的刘海屏 */
padding-top: env(safe-area-inset-top);