Refactor: Remove original Dart references from comments across multiple files
- Updated comments in various components, schemas, and repositories to remove references to original Dart files. - Ensured consistency in documentation while maintaining the context of the code.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/**
|
||||
* 边框宽度 token
|
||||
* 原始 Dart: lib/design/border_widths.dart
|
||||
*
|
||||
*/
|
||||
@theme {
|
||||
--border-thin: 0.5px;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/**
|
||||
* 响应式断点 token
|
||||
* 原始 Dart: lib/ui/core/responsive.dart
|
||||
*
|
||||
*/
|
||||
:root {
|
||||
--bp-mobile-max: 599.98px;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/**
|
||||
* 颜色 token
|
||||
* 原始 Dart: lib/design/colors.dart (light 主题)
|
||||
*
|
||||
*
|
||||
* 使用 `@theme` 直接声明,Tailwind 4 自动生成 utility 类:
|
||||
* - bg-accent / text-primary / border-error
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/**
|
||||
* 固定尺寸 token
|
||||
* 原始 Dart: lib/design/app_dimensions.dart
|
||||
*
|
||||
*
|
||||
* 注:这些是不应通过 Tailwind 缩放变化的硬尺寸(如按钮高度、对话框宽度)
|
||||
*/
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/**
|
||||
* 图标尺寸 token
|
||||
* 原始 Dart: lib/design/icon_sizes.dart
|
||||
*
|
||||
*/
|
||||
@theme {
|
||||
--icon-size-sm: 16px;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/**
|
||||
* 圆角 token
|
||||
* 原始 Dart: lib/design/radius.dart
|
||||
*
|
||||
*/
|
||||
@theme {
|
||||
--radius-sm: 4px;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/**
|
||||
* 间距 token
|
||||
* 原始 Dart: lib/design/spacing.dart
|
||||
*
|
||||
*/
|
||||
@theme {
|
||||
--spacing-xs: 4px;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/**
|
||||
* 字体 token
|
||||
* 原始 Dart: lib/design/fonts.dart + font_sizes.dart
|
||||
*
|
||||
*
|
||||
* body 使用跨平台系统字体栈
|
||||
* Athelas 为 Apple 平台专用字体(通过 `next/font/local` 加载)
|
||||
|
||||
Reference in New Issue
Block a user