fix: material icons font file#8366
Conversation
WalkthroughThe changes migrate the Material Symbols Rounded font from an external package import to a local font-face definition, and apply styling updates to the publish-project modal component using updated design tokens (replacing bg-surface colors with bg-layer variants). Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: defaults Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (3)
🧰 Additional context used📓 Path-based instructions (4)**/*.{js,jsx,ts,tsx,json,css}📄 CodeRabbit inference engine (AGENTS.md)
Files:
**/*.{ts,tsx,mts,cts}📄 CodeRabbit inference engine (.github/instructions/typescript.instructions.md)
Files:
**/*.{ts,tsx}📄 CodeRabbit inference engine (AGENTS.md)
Files:
**/*.{js,jsx,ts,tsx}📄 CodeRabbit inference engine (AGENTS.md)
Files:
🧠 Learnings (9)📓 Common learnings📚 Learning: 2025-12-17T10:58:59.581ZApplied to files:
📚 Learning: 2025-12-17T10:58:59.581ZApplied to files:
📚 Learning: 2025-12-17T10:58:59.581ZApplied to files:
📚 Learning: 2025-12-17T10:58:59.581ZApplied to files:
📚 Learning: 2025-12-17T10:58:59.581ZApplied to files:
📚 Learning: 2025-12-17T10:58:59.581ZApplied to files:
📚 Learning: 2025-12-17T10:58:59.581ZApplied to files:
📚 Learning: 2025-12-17T10:58:59.581ZApplied to files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
🔇 Additional comments (5)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 Biome (2.1.2)packages/tailwind-config/variables.cssThe --json option is unstable/experimental and its output might change between patches/minor releases. ... [truncated 99999690 characters] ... olor-layer-transparent-hover: var(--color-alpha-white-100);\n --background-color-layer-transparent-active: var(--color-alpha-white-200);\n --background-color-layer-transpaBiome encountered an unexpected error This is a bug in Biome, not an error in your code, and we would appreciate it if you could report it to https://github.com/biomejs/biome/issues/ along with the following information to help us fixing the issue. When opening the issue, please provide a minimal reproduction, or identify and share the file/code that triggers it. Without a way to reproduce the error, the error can't be fixed: Source Location: crates/biome_console/src/lib.rs:151:14 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. Comment |
There was a problem hiding this comment.
Pull request overview
This PR fixes the Material Icons font loading issue by replacing the npm package import with a local font file. However, the PR also includes unrelated UI styling changes to the publish project modal that should ideally be separated.
Key Changes
- Replaces
@fontsource/material-symbols-roundednpm package import with a local@font-facedeclaration - Adds Material Symbols Rounded font file (woff2 format) and license to the local fonts directory
- Updates button styling in the publish project modal (unrelated to font fix)
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| packages/tailwind-config/variables.css | Removes npm package import and adds @font-face declaration for Material Symbols Rounded font |
| packages/tailwind-config/fonts/material-symbols-rounded-v168-latin-regular.woff2 | Adds local woff2 font file for Material Symbols Rounded |
| packages/tailwind-config/fonts/LICENSE.txt | Adds copyright notice for Material Symbols font |
| apps/web/core/components/project/publish-project/modal.tsx | Updates button size and background color classes (unrelated to font fix) |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| @@ -0,0 +1 @@ | |||
| MaterialSymbolsRounded[FILL,GRAD,opsz,wght].ttf: Copyright 2022, 2022 Google LLC. All Rights Reserved. | |||
There was a problem hiding this comment.
The copyright notice appears to have a duplicate year ("Copyright 2022, 2022"). This should likely be either a single year or a range.
Description
This PR fixes the bug where material icon font file is not being loaded.
Type of Change
Summary by CodeRabbit
Style
Chores
✏️ Tip: You can customize this high-level summary in your review settings.