Update to sidebar header styles for upcoming wallet as sidepanel#34354
Update to sidebar header styles for upcoming wallet as sidepanel#34354
Conversation
effort to standadrize panels in desktop so the future wallet as a sidebar item can work correctly https://www.figma.com/design/Fbtxfv2ATGlfH7nPXiWAbR/%F0%9F%92%BB-Browser-Sidebar?node-id=1749-34459
|
A Storybook has been deployed to preview UI for the latest push |
Bonus, but it's very badly needed to have a properly responsive panel
📋 Code Owners Summary14 file(s) changed, 4 with assigned owners 1 team(s) affected: Owners and Their Files
|
| mixer[kColorSidebarPanelHeaderSeparator] = {nala::kColorDividerSubtle}; | ||
| mixer[kColorSearchConversionCloseButton] = {nala::kColorIconDefault}; | ||
| mixer[kColorSidebarPanelHeaderBackground] = {nala::kColorContainerBackground}; | ||
| mixer[kColorSidebarPanelHeaderBackground] = {nala::kColorPageBackground}; |
There was a problem hiding this comment.
any reason we can't just use the Nala color directly, rather than via this one?
| mixer[kColorSidebarPanelHeaderTitle] = {nala::kColorTextPrimary}; | ||
| mixer[kColorSidebarPanelHeaderButton] = {nala::kColorIconDefault}; | ||
| mixer[kColorSidebarPanelHeaderButtonHovered] = {nala::kColorNeutral60}; | ||
| mixer[kColorSidebarPanelBackground] = {nala::kColorContainerBackground}; |
There was a problem hiding this comment.
could we just use this nala token directly?
|
|
||
| mixer[kColorSidebarPanelHeaderSeparator] = {nala::kColorPrimitiveNeutral20}; | ||
| mixer[kColorSidebarPanelHeaderBackground] = {nala::kColorPrimitiveNeutral5}; | ||
| mixer[kColorSidebarPanelHeaderBackground] = {nala::kColorPageBackground}; |
| .sp-card { | ||
| max-width: none; | ||
| } | ||
|
|
||
| customize-chrome-appearance, |
There was a problem hiding this comment.
could these selectors be joined with a ,
| @@ -22,9 +22,7 @@ | |||
| <link rel="manifest" href="manifest.webmanifest"> | |||
| <style> | |||
| @media (prefers-color-scheme: dark) { | |||
There was a problem hiding this comment.
can this be removed now?
There was a problem hiding this comment.
ah wait, I think this is needed to avoid a FOUC while we're loading the page
There was a problem hiding this comment.
I tried loading and reloading a number of times and didn't get the flashing white background when in dark mode. Do you want me to keep it anyways?
Effort to standadrize panels in desktop so the future wallet as a sidebar item can work within a system
https://www.figma.com/design/Fbtxfv2ATGlfH7nPXiWAbR/%F0%9F%92%BB-Browser-Sidebar?node-id=1749-34459
Resolves brave/brave-browser#53164
Resolves brave/brave-browser#53165
Resolves brave/brave-browser#47881
Current version
Updated version
Default theme - light
Default theme - dark
Color theme - light
Color theme - dark
Update to Theme and Toolbar sidepanels to make them responsive
Current version
Updated version
Screen.Recording.2026-03-02.at.12.06.25.mov