[bisq-network/bisq] Dark Mode (#3152)

wiz notifications at github.com
Tue Aug 27 20:38:14 UTC 2019


Implements basic Dark Mode functionality using the refactored CSS light/dark themes contributed in peterzen at 9bf3016, but without adding new jar deps and without breaking the current light mode theme. Resolves #2286 and closes #2414. 

The refactored CSS themes could use further testing/polishing/refactoring by a designer (cc @pedromvpg), but this PR should be good enough to merge for the upcoming v1.1.6 release - any modified CSS color codes can be submitted in a separate PR later.

<img width="1200" alt="Screen Shot 2019-08-27 at 23 57 02" src="https://user-images.githubusercontent.com/232186/63786166-847c6680-c92c-11e9-86b8-343086659467.png">
<img width="1198" alt="Screen Shot 2019-08-28 at 0 06 43" src="https://user-images.githubusercontent.com/232186/63786191-8c3c0b00-c92c-11e9-9cf7-8c44868f2269.png">
<img width="1198" alt="Screen Shot 2019-08-27 at 23 57 11" src="https://user-images.githubusercontent.com/232186/63786216-96f6a000-c92c-11e9-8818-89e75daca400.png">
<img width="1199" alt="Screen Shot 2019-08-28 at 0 06 09" src="https://user-images.githubusercontent.com/232186/63786228-9cec8100-c92c-11e9-9564-f0387ecbe41c.png">
<img width="1198" alt="Screen Shot 2019-08-27 at 23 53 11" src="https://user-images.githubusercontent.com/232186/63786251-a83fac80-c92c-11e9-8a61-42da818d64e5.png">
<img width="1201" alt="Screen Shot 2019-08-27 at 23 52 52" src="https://user-images.githubusercontent.com/232186/63786256-ab3a9d00-c92c-11e9-909e-a2ab111ae2bc.png">
<img width="1195" alt="Screen Shot 2019-08-28 at 2 20 08" src="https://user-images.githubusercontent.com/232186/63806138-e3a2a100-c955-11e9-9512-49f703fc4854.png">
<img width="579" alt="Screen Shot 2019-08-28 at 0 06 26" src="https://user-images.githubusercontent.com/232186/63786270-b1c91480-c92c-11e9-8194-891960dae1a8.png">
You can view, comment on, or merge this pull request online at:

  https://github.com/bisq-network/bisq/pull/3152

-- Commit Summary --

  * Add toggle switch UI preference for Dark Mode on/off
  * Load different CSS depending on dark mode setting
  * Refactors CSS colors and adds Dark Mode theme
  * Add missing CSS class for Japanese locale nav button text size
  * Fix issues introduced by CSS refactoring, add missing CSS classes

-- File Changes --

    M common/src/main/proto/pb.proto (1)
    M core/src/main/java/bisq/core/locale/GlobalSettings.java (5)
    M core/src/main/java/bisq/core/user/Preferences.java (14)
    M core/src/main/java/bisq/core/user/PreferencesPayload.java (3)
    M core/src/main/resources/i18n/displayStrings.properties (1)
    M desktop/src/main/java/bisq/desktop/CandleStickChart.css (2)
    M desktop/src/main/java/bisq/desktop/app/BisqApp.java (21)
    M desktop/src/main/java/bisq/desktop/bisq.css (2336)
    A desktop/src/main/java/bisq/desktop/colors-dark.css (80)
    A desktop/src/main/java/bisq/desktop/colors-light.css (75)
    M desktop/src/main/java/bisq/desktop/components/HyperlinkWithIcon.java (2)
    M desktop/src/main/java/bisq/desktop/components/SeparatedPhaseBars.java (4)
    M desktop/src/main/java/bisq/desktop/components/TooltipUtil.java (2)
    M desktop/src/main/java/bisq/desktop/main/disputes/trader/TraderDisputeView.java (8)
    M desktop/src/main/java/bisq/desktop/main/offer/offerbook/OfferBookView.java (2)
    M desktop/src/main/java/bisq/desktop/main/portfolio/pendingtrades/steps/buyer/BuyerStep3View.java (12)
    M desktop/src/main/java/bisq/desktop/main/settings/preferences/PreferencesView.java (11)

-- Patch Links --

https://github.com/bisq-network/bisq/pull/3152.patch
https://github.com/bisq-network/bisq/pull/3152.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/3152
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20190827/c9c1b2b3/attachment-0001.html>


More information about the bisq-github mailing list