Skip to content

Commit

Permalink
Fix glitch-soc high color privacy icons
Browse files Browse the repository at this point in the history
  • Loading branch information
ClearlyClaire committed Jan 13, 2024
1 parent e227e95 commit e2ba5f6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export const VisibilityIcon: React.FC<{ visibility: Visibility }> = ({
id={visibilityIcon.icon}
icon={visibilityIcon.iconComponent}
title={visibilityIcon.text}
className={'status__visibility-icon'}
/>
);
};
16 changes: 8 additions & 8 deletions app/javascript/flavours/glitch/styles/accessibility.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,23 @@ $emojis-requiring-inversion: 'back' 'copyright' 'curly_loop' 'currency_exchange'
}

.hicolor-privacy-icons {
.status__visibility-icon.fa-globe,
.privacy-dropdown__option .fa-globe {
.status__visibility-icon.icon-globe,
.privacy-dropdown__option .icon-globe {
color: #1976d2;
}

.status__visibility-icon.fa-unlock,
.privacy-dropdown__option .fa-unlock {
.status__visibility-icon.icon-unlock,
.privacy-dropdown__option .icon-unlock {
color: #388e3c;
}

.status__visibility-icon.fa-lock,
.privacy-dropdown__option .fa-lock {
.status__visibility-icon.icon-lock,
.privacy-dropdown__option .icon-lock {
color: #ffa000;
}

.status__visibility-icon.fa-envelope,
.privacy-dropdown__option .fa-envelope {
.status__visibility-icon.icon-envelope,
.privacy-dropdown__option .icon-envelope {
color: #d32f2f;
}
}

0 comments on commit e2ba5f6

Please sign in to comment.