diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2019-10-13 14:08:03 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-10-14 13:39:45 -0700 |
commit | 85d810119b0716686348390d096af6f1d9c04e16 (patch) | |
tree | 32a18992118132b7d27f71449f6a314e4ceec52e /scripts | |
parent | 804a5be71f1554d80d742afe3718b7ee26ee786e (diff) | |
download | subsurface-85d810119b0716686348390d096af6f1d9c04e16.tar.gz |
Mobile: pick icons depending on theme
QML has ways to style icons - and we use that for the main theme color,
but it doesn't seem to work (anymore?) for the edit and save icons.
Instead of tracking down what changed there, simply switch between icons
with different foreground color, depending on theme.
All the other icons seem to work well in all three themes.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/mobilecomponents.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/mobilecomponents.sh b/scripts/mobilecomponents.sh index 328d76ea2..b176aadb9 100755 --- a/scripts/mobilecomponents.sh +++ b/scripts/mobilecomponents.sh @@ -30,6 +30,7 @@ BREEZE=../breeze-icons rm -rf $MC mkdir -p $MC/icons +mkdir -p $MC/icons-dark cp -R $PMMC/* $MC/ cp $BREEZE/icons/actions/22/map-globe.svg $MC/icons @@ -37,6 +38,8 @@ cp $BREEZE/icons/actions/24/dialog-cancel.svg $MC/icons cp $BREEZE/icons/actions/24/distribute-horizontal-x.svg $MC/icons cp $BREEZE/icons/actions/24/document-edit.svg $MC/icons cp $BREEZE/icons/actions/24/document-save.svg $MC/icons +cp $BREEZE/icons-dark/actions/24/document-edit.svg $MC/icons-dark +cp $BREEZE/icons-dark/actions/24/document-save.svg $MC/icons-dark cp $BREEZE/icons/actions/24/go-next.svg $MC/icons cp $BREEZE/icons/actions/24/go-previous.svg $MC/icons cp $BREEZE/icons/actions/24/go-up.svg $MC/icons |