Skip to content

fix(ui): confine theme toggle to sidebar and adapt sidebar icon to theme - #383

Merged
SamuelIVX merged 1 commit into
mainfrom
fix/sidebar-theme-and-icon
Nov 10, 2026
Merged

SamuelIVX merged 1 commit into
mainfrom
fix/sidebar-theme-and-icon

Conversation

@SamuelIVX

Copy link
Copy Markdown
Owner

Summary

This PR addresses two UI refinements:

  1. Confines the theme toggle strictly to the sidebar: Removes the duplicate ThemeToggle from the dashboard Navbar header box across all views.
  2. Adapts the sidebar logo to the active theme: Switches the sidebar logo from the opaque DeltaBase.jpg to the transparent icon.png and applies a theme-reactive container background (var(--bg-surface-elevated)) and border, seamlessly reflecting dark or light mode.
  3. Explicit Theme Favicons: Generates explicit dark and light favicon background assets for browser themes.

Verification

  • npm test / vitest: 284/284 tests passed across 55 test files
  • npm run lint: 0 errors, 0 warnings
  • npm run build: Turbopack build succeeded
  • Standards & diff coverage: passed

Co-authored-by: Codex noreply@openai.com

- Remove ThemeToggle from dashboard Navbar header (sidebar only)
- Switch sidebar logo from static DeltaBase.jpg to transparent icon.png
- Apply theme-adaptive background and border to sidebar logo tile
- Generate explicit dark and light favicon assets for browser themes

Co-authored-by: Codex <noreply@openai.com>
@vercel

vercel Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
deltabase Ready Ready Preview Nov 10, 2026 2:25am UTC

@coderabbitai

coderabbitai Bot commented Nov 10, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 26 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 2de6851f-4e32-428d-8b7a-b6a0016faf3c
Commits

Reviewing files that changed from the base of the PR and between 2ea2219 and 4981d2a.

Files ignored due to path filters: 2

  • public/icon-dark.png is excluded by !**/*.png
  • public/icon-light.png is excluded by !**/*.png
Files selected for processing: 4

  • src/components/dashboard/navbar/navbar.module.css
  • src/components/dashboard/navbar/navbar.tsx
  • src/components/dashboard/sidebar/sidebar.module.css
  • src/components/dashboard/sidebar/sidebar.tsx
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@github-actions

Copy link
Copy Markdown

⚠️ Deprecation Warning: The deny-licenses option is deprecated for possible removal in the next major release. For more information, see issue 997.

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@github-actions

Copy link
Copy Markdown

Deploy preview for deltabase ready!

Project:deltabase
Status: ✅  Deploy successful!
Preview URL:https://deltabase-m3loa9b00-samuelivxs-projects.vercel.app
Latest Commit:4981d2a

Deployed with vercel-action

@SamuelIVX
SamuelIVX merged commit 18e74f6 into main Nov 10, 2026
18 checks passed
@SamuelIVX
SamuelIVX deleted the fix/sidebar-theme-and-icon branch November 10, 2026 02:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant