Skip to content

fix(web): resolve font assets from workspace dependencies#6100

Open
seefs001 wants to merge 1 commit into
QuantumNous:mainfrom
seefs001:fix/default-theme-build-error
Open

fix(web): resolve font assets from workspace dependencies#6100
seefs001 wants to merge 1 commit into
QuantumNous:mainfrom
seefs001:fix/default-theme-build-error

Conversation

@seefs001

@seefs001 seefs001 commented Jul 11, 2026

Copy link
Copy Markdown
Collaborator

⚠️ 提交说明 / PR Notice

Important

  • 请提供人工撰写的简洁摘要,避免直接粘贴未经整理的 AI 输出。

📝 变更描述 / Description

(简述:做了什么?为什么这样改能生效?请基于你对代码逻辑的理解来写,避免粘贴未经整理的内容)

🚀 变更类型 / Type of change

  • 🐛 Bug 修复 (Bug fix) - 请关联对应 Issue,避免将设计取舍、理解偏差或预期不一致直接归类为 bug
  • ✨ 新功能 (New feature) - 重大特性建议先通过 Issue 沟通
  • ⚡ 性能优化 / 重构 (Refactor)
  • 📝 文档更新 (Documentation)

🔗 关联任务 / Related Issue

  • Closes # (如有)

✅ 提交前检查项 / Checklist

  • 人工确认: 我已亲自整理并撰写此描述,没有直接粘贴未经处理的 AI 输出。
  • 非重复提交: 我已搜索现有的 IssuesPRs,确认不是重复提交。
  • Bug fix 说明: 若此 PR 标记为 Bug fix,我已提交或关联对应 Issue,且不会将设计取舍、预期不一致或理解偏差直接归类为 bug。
  • 变更理解: 我已理解这些更改的工作原理及可能影响。
  • 范围聚焦: 本 PR 未包含任何与当前任务无关的代码改动。
  • 本地验证: 已在本地运行并通过测试或手动验证,维护者可以据此复核结果。
  • 安全合规: 代码中无敏感凭据,且符合项目代码规范。

📸 运行证明 / Proof of Work

(请在此粘贴截图、关键日志或测试报告,以证明变更生效)

Summary by CodeRabbit

  • Bug Fixes
    • Fixed local font loading by updating font file references.
    • Improved reliability of Public Sans and Lora font rendering across supported character sets.

@coderabbitai

coderabbitai Bot commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 4528050c-6b6a-4919-ac0f-7dc88bd984e9

📥 Commits

Reviewing files that changed from the base of the PR and between dad57a6 and adbb46f.

📒 Files selected for processing (1)
  • web/default/src/styles/fonts.css

Walkthrough

Updated local @font-face source URLs for Public Sans Variable and Lora Variable subsets in fonts.css, without changing font weights, formats, display settings, or Unicode ranges.

Changes

Font source path updates

Layer / File(s) Summary
Update variable font source URLs
web/default/src/styles/fonts.css
Public Sans and Lora subset declarations now reference package-rooted @fontsource-variable/... URLs instead of relative node_modules paths.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Poem

I’m a rabbit hopping through font files bright,
Finding neat package paths by moonlight.
Public Sans and Lora now know the way,
Their glyphs load cleanly at break of day.
No weights changed, no ranges stray—
Just tidy URLs to guide the display.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the font asset resolution fix in the web workspace.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant