Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
CharDSon
4 years agoFrequent Contributor
Dark Style Preference
GNOME, KDE Plasma and Elementary OS include a way for apps to switch between light and dark themes. It would be a good idea for 1Password to follow this implementation to have better consistency betw...
mroche
4 years agoNew Contributor
I would also like to voice my support for this, though I understand it will be better to come from the Electron camp than 1Password. A number of apps I use don't follow the new color scheme directive and they're all Electron, but they do respect the GTK theme.
I currently use a custom script to alter the GTK theme based on which color-scheme is selected in GNOME, however there is a catch with 1Password where the Quick Access overlay doesn't fully transition over and the UI will appear washed out. Restarting 1Password solves the problem for the time being.
```
!/bin/bash
current=$(gsettings get org.gnome.desktop.interface color-scheme)
In GNOME, the dark hint is set to 'prefer-dark', and the
light hint to 'default' (can optionally be 'prefer-light').
if [ $current = "'prefer-dark'" ]
then
gsettings set org.gnome.desktop.interface gtk-theme 'Adwaita-dark'
else
gsettings set org.gnome.desktop.interface gtk-theme ''
fi
```