-
Notifications
You must be signed in to change notification settings - Fork 18
添加 AI 辅助创作标注组件和贡献指南说明 #116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -68,6 +68,9 @@ | |||||
| <div :html="$page.toc()"></div> | ||||||
| </div> | ||||||
| <div :html="$page.content()"></div> | ||||||
| <div class="ai-notice" :if="$page.custom.getOr('ai_generated', false)"> | ||||||
|
||||||
| <div class="ai-notice" :if="$page.custom.getOr('ai_generated', false)"> | |
| <div class="ai-notice" :if="$page.custom.getOr('ai_generated', false)" data-pagefind-ignore> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new
.ai-noticestyling introduces a separate yellow/orange palette via hard-coded hex values, even though the stylesheet already defines shared design tokens (e.g.--brand-accent,--bg-*,--text-*) for light/dark theming. To keep the theme consistent and avoid duplicating color decisions, consider reusing existing tokens (or adding dedicated--ai-notice-*tokens in:root+ dark override) instead of embedding raw hex colors in the component rules.