Skip to content

Commit

Permalink
use theme colors for logout button
Browse files Browse the repository at this point in the history
We avoid hardcoding colors to make dynamic theming easier
  • Loading branch information
JGreenlee committed Feb 13, 2024
1 parent b076910 commit 8101388
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/js/control/ProfileSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ const ProfileSettings = () => {
<List.Item
style={{ flexDirection: 'row', alignItems: 'center', justifyContent: 'flex-end' }}
title={t('control.log-out')}
titleStyle={{ fontSize: 14, color: 'black', paddingEnd: 5 }}
titleStyle={{ fontSize: 14, color: colors.onSurface, paddingEnd: 5 }}
accessible={true}
accessibilityLabel={t('control.log-out')}
accessibilityRole="button"
Expand Down

0 comments on commit 8101388

Please sign in to comment.