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

Light/Dark should be selectable in development #863

Closed
petemill opened this issue Aug 28, 2018 · 5 comments · Fixed by brave/brave-core#365
Closed

Light/Dark should be selectable in development #863

petemill opened this issue Aug 28, 2018 · 5 comments · Fixed by brave/brave-core#365

Comments

@petemill
Copy link
Member

brave/brave-core#351 introduced theme preference for built-in light / dark but did not remove the compiler flag which forces dark theme in development. This should be selectable on any build, and only the default is different.

@petemill petemill added the ui label Aug 28, 2018
@petemill petemill added this to the Backlog milestone Aug 28, 2018
@petemill petemill self-assigned this Aug 28, 2018
petemill added a commit to petemill/brave-core that referenced this issue Aug 28, 2018
Theme user preference can apply to any build.
Renames 'DevChannel' theme to DarkUi and 'ReleaseChannel' theme to LightUi.
Fix brave/brave-browser#863
@bbondy bbondy modified the milestones: Backlog, Releasable builds 0.55.x Aug 30, 2018
@bbondy bbondy added the QA/Yes label Sep 10, 2018
@btlechowski
Copy link

btlechowski commented Sep 21, 2018

Verification passed on

Brave 0.55.5 Chromium: 70.0.3538.16 (Official Build) dev (64-bit)
Revision 16ed95b41bb05e565b11fb66ac33c660b721f778-refs/branch-heads/3538@{#306}
OS Windows 7

Verification Passed on

Brave 0.55.5 Chromium: 70.0.3538.16 (Official Build) dev (64-bit)
Revision 16ed95b41bb05e565b11fb66ac33c660b721f778-refs/branch-heads/3538@{#306}
OS Linux

Went through verification using the following build under macOS 10.13.6 x64 - PASSED

Brave (master) 0.55.2 Chromium: 70.0.3538.22 (Developer Build) (64-bit)
Revision ac9418ba9c3bd7f6baaffa0b055dfe147e0f8364-refs/branch-heads/3538@{#468}
Kamils-MBP:brave-browser kjozwiak$ git log -1
commit 4278f5e9ba407a4d5e632c049e1b3b9175c243c4 (HEAD -> master, origin/master, origin/HEAD)
Merge: a6b443c ce9099e
Author: Brian Clifton <[email protected]>
Date:   Mon Sep 24 11:49:13 2018 -0700

    Merge pull request #1244 from brave/brave-referrals-api-key-config

    Add brave_referrals_api_key to build config

Ensured that the following cases passed:

  • launched brave via npm start and ensured Default was selected as the theme
  • selected Light and ensured that the theme changed (restarted and ensured it was selected)
  • selected Dark and ensured that the theme changed (restarted and ensured it was selected)
  • rm -rf ~/Library/Application\ Support/BraveSoftware/Brave-Browser-Development/, relaunched using npm start and ensured that Default was selected.

@kjozwiak
Copy link
Member

kjozwiak commented Sep 25, 2018

@btlechowski @srirambv was this checked against a local development build that was created from source? Double checked with @petemill who mentioned this is supposed to be tested with a local build. Just double checking to make sure we didn't test this against build that has already been released.

@srirambv
Copy link
Contributor

@kjozwiak I've verified it on Windows from source. Will update once build finishes on Linux

@kjozwiak kjozwiak removed the QA/Yes label Sep 25, 2018
@srirambv
Copy link
Contributor

@kjozwiak verified on Linux as well the command line flag works with development folder. Just a note, only the URL bar colour changes for Linux when switching between Light and Dark and other chrome elements retain the GTK colour scheme

@kjozwiak
Copy link
Member

Thanks @srirambv 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment