Skip to content
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

Themes from CWS don't work when switching between light and dark modes #9808

Closed
phoogm opened this issue May 16, 2020 · 5 comments · Fixed by brave/brave-core#5681
Closed

Comments

@phoogm
Copy link

phoogm commented May 16, 2020

Description

Installing a theme from the theme store does not work when switching from light to dark mode or from light to private or private with Tor. At this moment it seems not possible to use any other theme than the default one.

Steps to Reproduce

  1. Install theme from theme store
  2. Switch light to dark mode or light to private mode
  3. Observe weird color combinations or icons becoming invisible

Actual result:

Screen Shot 2020-05-16 at 8 25 59 PM
Screen Shot 2020-05-16 at 8 26 24 PM
Screen Shot 2020-05-16 at 8 26 58 PM

Expected result:

User should be able to install a custom theme and indicate if it should replace the default light theme or the default dark theme - e.g. when set to automatic - the light to dark switch by macOS would switch the custom light to the custom dark theme and back again or custom light to default dark theme etc. Assuming the private browsing or private browsing with Tor is locked for theme changing, which would reduce theming complexity.

Reproduces how often:

No themes found that work without issues

Brave version (brave://version info)

Brave | 1.8.96 Chromium: 81.0.4044.138 (Official Build) (64-bit)
Revision | 8c6c7ba89cc9453625af54f11fd83179e23450fa-refs/branch-heads/4044@{#999}
OS | macOS Version 10.15.4 (Build 19E287)

Version/Channel Information:

  • Can you reproduce this issue with the current release? Yes
  • Can you reproduce this issue with the beta channel? Yes
  • Can you reproduce this issue with the dev channel? Yes
  • Can you reproduce this issue with the nightly channel? Yes

Other Additional Information:

  • Does the issue resolve itself when disabling Brave Shields? N/A
  • Does the issue resolve itself when disabling Brave Rewards? N/A
  • Is the issue reproducible on the latest version of Chrome? N/A

Miscellaneous Information:

Thanks for looking into, best regards.

@bsclifton
Copy link
Member

cc: @petemill @simonhong
I believe some of our colors are effectively hard-coded, so they would override what is used by a theme

@simonhong
Copy link
Member

@bsclifton Yes, right. I think we should consider custom theme when we choose our colors.

@bsclifton
Copy link
Member

@simonhong can you share steps for installing a custom theme that you had used?

@simonhong
Copy link
Member

@bsclifton You can install any themes from chrome webstore - https://chrome.google.com/webstore/category/themes

@kjozwiak
Copy link
Member

kjozwiak commented Jun 9, 2020

Verification PASSED on macOS 10.15.5 Catalina x64 using the following build:

Brave | 1.10.86 Chromium: 83.0.4103.61 (Official Build) (64-bit)
-- | --
Revision | 94f915a8d7c408b09cc7352161ad592299f384d2-refs/branch-heads/4103@{#561}
OS | macOS Version 10.15.5 (Build 19F101)

Used https://chrome.google.com/webstore/detail/pro-grey/enhpebdanojkmhbbneclbkmpleemilaj as the theme for verification as per #9808 (comment).

1.9.80 CR: 81.0.4044.138 1.10.86 Chromium: 83.0.4103.61
Screen Shot 2020-06-09 at 3 54 58 PM Screen Shot 2020-06-09 at 3 58 46 PM
Screen Shot 2020-06-09 at 3 55 24 PM Screen Shot 2020-06-09 at 3 58 55 PM
Screen Shot 2020-06-09 at 3 55 34 PM Screen Shot 2020-06-09 at 3 59 08 PM

Verification passed on

Brave 1.10.87 Chromium: 83.0.4103.61 (Official Build) (64-bit)
Revision 94f915a8d7c408b09cc7352161ad592299f384d2-refs/branch-heads/4103@{#561}
OS Ubuntu 18.04 LTS

Custom theme
Used https://chrome.google.com/webstore/detail/pro-grey/enhpebdanojkmhbbneclbkmpleemilaj

Normal Window
image
image

Private Window
image
image

Private Window with Tor
image
image

Logged #10197

Verification passed on

Brave | 1.10.87 Chromium: 83.0.4103.61 (Official Build) (64-bit)
-- | --
Revision | 94f915a8d7c408b09cc7352161ad592299f384d2-refs/branch-heads/4103@{#561}
OS | Windows 10 OS Version 1803 (Build 17134.1006)

Used https://chrome.google.com/webstore/detail/pro-grey/enhpebdanojkmhbbneclbkmpleemilaj as the theme for verification as per #9808 (comment).

Normal window
image
image

Private window
image
image

Tor
image
image

@rebron rebron changed the title Brave Custom Theme Install results in visibility issues Themes from CWS don't work when switching between light and dark modes Jun 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment