-
Notifications
You must be signed in to change notification settings - Fork 56
fix: brand theme switcher icon #3309
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: ouds/main
Are you sure you want to change the base?
fix: brand theme switcher icon #3309
Conversation
✅ Deploy Preview for boosted ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
site/static/orange/docs/[version]/assets/img/ouds-web-sprite.svg
Outdated
Show resolved
Hide resolved
vprothais
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a conflict on this branch after the merge of the documentation reorganization. We should update this branch with ouds/main
| aria-label={`Toggle brand (${getConfig().brand})`} | ||
| > | ||
| <img src={getVersionedDocsPath(`assets/brand/${getConfig().brand}-logo.svg`)} alt="" loading="lazy" /> | ||
| <svg class:list={['bi ms-auto', { 'd-none': getConfig().brand !== 'orange' }]} aria-hidden="true"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand the the test to add d-none for other brands. We should have it on any brand.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, wrong copy / paste. Fixed
Related issues
Fix #3298
Description
Use theme switcher icon instead of brand icon in header
Motivation & Context
Avoid displaying 2 times the brand icon in the header
Types of change
Live previews
Checklist
Contribution
Accessibility
Design
Development
Documentation
Checklist (for Core Team only)
After the merge