]> git.ktnx.net Git - mobile-ledger.git/commit
themes: secondary==primary, a bit closer primaryDark, no calculations
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 26 Sep 2020 16:47:44 +0000 (19:47 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 26 Sep 2020 16:47:44 +0000 (19:47 +0300)
commit90a85bc89663b4877004053545add5da273f24f3
tree7d147967d98be88e6f7f4416e0fc98464cb758d2
parent7c9147eff10c80c18757db1d2e41f529585551e6
themes: secondary==primary, a bit closer primaryDark, no calculations

all intermediate colours are calculated as a weighted average of the
nearest theme color. this keeps the color calculations in one place --
tools/gen-styles.pl
app/src/main/java/net/ktnx/mobileledger/ui/activity/ProfileThemedActivity.java
app/src/main/java/net/ktnx/mobileledger/utils/Colors.java
app/src/main/res/values-night/styles.xml
app/src/main/res/values/styles.xml
tools/gen-styles