| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
📝 Walkthrough
WalkthroughThe header comment and theming variable structure in src/styles/shop.css were updated. The stylesheet now documents itself as loaded directly via a plain link (bypassing Tailwind), and shop token color variables were moved from a Tailwind @theme inline block into a :root declaration. ChangesShop stylesheet variable wiring
Estimated code review effort: 1 (Trivial) | ~5 minutes Estimated code review effort: 1 (Trivial) | ~5 minutes 🚥 Pre-merge checks | ✅ 5 ✅ Passed checks (5 passed)
Comment @coderabbitai help to get the list of available commands. |
Sorry, something went wrong.
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
tanstack-com | 36437b6 | Commit Preview URL Branch Preview URL |
Jul 27 2026, 12:35 AM |
Sorry, something went wrong.
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agentsVerify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. Inline comments: In `@src/styles/shop.css`: - Line 15: The stylesheet import in the top-level font declaration is using the wrapped URL form, which conflicts with the configured import notation. Update the existing `@import` in shop.css to use the bare string form expected by Stylelint, keeping the same Google Fonts URL and leaving the rest of the font setup unchanged.
Fix all unresolved CodeRabbit comments on this PR:
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 95101058-63a3-463e-9757-a0df2fa93f6e
📥 CommitsReviewing files that changed from the base of the PR and between 0b90bdb and 4cdbe6e.
📒 Files selected for processing (1)
Sorry, something went wrong.
| * selectors, no global leakage. | ||
| */ | ||
|
|
||
| @import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..900;1,9..40,100..900&family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&display=swap'); |
There was a problem hiding this comment.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
Use the configured import notation.
Stylelint expects the bare string form here, so this line will keep failing lint until the url(...) wrapper is removed.
Proposed fix-@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..900;1,9..40,100..900&family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&display=swap');
+@import 'https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..900;1,9..40,100..900&family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&display=swap';‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| @import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..900;1,9..40,100..900&family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&display=swap'); | |
| `@import` 'https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..900;1,9..40,100..900&family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&display=swap'; |
[error] 15-15: Expected "url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..900;1,9..40,100..900&family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&display=swap')" to be "'https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..900;1,9..40,100..900&family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&display=swap'" (import-notation)
(import-notation)
🤖 Prompt for AI AgentsVerify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@src/styles/shop.css` at line 15, The stylesheet import in the top-level font declaration is using the wrapped URL form, which conflicts with the configured import notation. Update the existing `@import` in shop.css to use the bare string form expected by Stylelint, keeping the same Google Fonts URL and leaving the rest of the font setup unchanged.
Source: Linters/SAST tools
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
src/styles/shop.css is injected as a plain <link> stylesheet (imported with ?url in src/routes/shop.tsx), so it never passes through the Tailwind pipeline. Its @theme inline block therefore generated no utilities, but lightningcss tried to minify it and emitted Unknown at rule: @theme warnings during vite build (twice).
The @theme inline block here was pure duplication: the matching block already lives in app.css (which Tailwind does process), and that is what actually generates bg-shop-panel, text-shop-muted, font-shop-display, etc.
Changes
Verification
Summary by CodeRabbit