Skip to content

Polish header bar logos: simplify SVG, use currentColor for theme support#3092

Open
devin-ai-integration[bot] wants to merge 2 commits intomainfrom
devin/1774637817-polished-header-logo
Open

Polish header bar logos: simplify SVG, use currentColor for theme support#3092
devin-ai-integration[bot] wants to merge 2 commits intomainfrom
devin/1774637817-polished-header-logo

Conversation

@devin-ai-integration
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot commented Mar 27, 2026

Description

Cleans up the OnlookLogo and OnlookTextLogo SVG icons in packages/ui to be simpler and theme-adaptive.

OnlookLogo (circular icon):

  • Replaced the complex multi-layer approach (masks, clip-paths, dual overlapping paths with hardcoded #F7F7F7/#202123) with a clean circle stroke + single clipped mark path
  • Uses currentColor so the logo adapts to light/dark themes natively
  • Note: this changes the logo from a two-tone filled-circle badge to a monochrome circle-outline + mark style
  • The old two-tone version is still available as OnlookIcon (added separately on main)

OnlookTextLogo (wordmark):

  • Replaced hardcoded black stroke/fill with currentColor
  • Removed dark:invert from className (no longer needed with currentColor)
  • Removed all redundant inline style attributes that duplicated the fill/stroke attributes

Related Issues

None

Type of Change

  • Bug fix
  • New feature
  • Documentation
  • Refactor
  • Other (please describe):

Testing

  • Typecheck: ✅ passing
  • Unit tests: ✅ passing
  • Vercel preview deployments: ✅ deployed successfully

Note: The logos are primarily used in the Electron studio app's header bars (EditorTopBar, ProjectsTopBar, sign-in, requirements pages), which cannot be verified via the Vercel preview. Visual verification in the desktop app is recommended.

⚠️ Human Review Checklist

  • Verify dark:invert removal is safeOnlookTextLogo now relies on currentColor inheriting a visible text color in both light and dark themes. Confirm all usage sites (editor TopBar, projects TopBar, sign-in, requirements) set appropriate text color on parent elements. If any parent has no explicit text color in dark mode, the wordmark could render black-on-dark.
  • Verify the new OnlookLogo appearance — the visual style changed from a two-tone filled badge to a monochrome outline + mark. Confirm this matches the intended brand direction.
  • Static clipPath IDonlook-logo-clip is hardcoded. If multiple OnlookLogo instances render on the same page, the IDs would collide. (Pre-existing issue with the old IDs too, but worth noting.)

Additional Notes

The Chromatic CI check fails due to a pre-existing lockfile mismatch (--frozen-lockfile), unrelated to these changes.

Link to Devin session: https://app.devin.ai/sessions/525188d41b1f4c64b17e189e76bed687


Open with Devin

…port

- OnlookLogo: Remove complex multi-layer mask/clip approach, use clean
  circle stroke + clipped mark path with currentColor
- OnlookTextLogo: Replace hardcoded black fill/stroke with currentColor,
  remove dark:invert hack, add explicit viewBox
- Remove all redundant inline style attributes from both logos

Co-Authored-By: joel <joel@onlook.com>
@devin-ai-integration
Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 27, 2026

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

Project Deployment Actions Updated (UTC)
docs-onlook Ready Ready Preview, Comment Mar 27, 2026 7:02pm
web-onlook Ready Ready Preview, Comment Mar 27, 2026 7:02pm

Request Review

@supabase
Copy link
Copy Markdown

supabase Bot commented Mar 27, 2026

This pull request has been ignored for the connected project wowaemfasoptxrdjhilu because there are no changes detected in apps/backend/supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

Co-Authored-By: joel <joel@onlook.com>
Copy link
Copy Markdown
Contributor Author

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 3 additional findings.

Open in Devin Review

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.

0 participants