Skip to content

Commit

Permalink
fix(lemon-ui): Logos as button icons no longer translucent (#23996)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
Twixes and github-actions[bot] authored Jul 26, 2024
1 parent 940a037 commit eedd19a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 1 addition & 8 deletions frontend/src/lib/lemon-ui/LemonButton/LemonButton.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
--lemon-button-height: 2.3125rem;
--lemon-button-gap: 0.5rem;
--lemon-button-icon-opacity: 0.8;
--lemon-button-profile-picture-opacity: 0.9; // Profile pictures must be more prominent than icons
--lemon-button-color: var(--text-3000);

// column-gap: 4px;
Expand Down Expand Up @@ -119,14 +118,9 @@
font-size: var(--lemon-button-icon-size);
transition: color 200ms ease;

> * {
.LemonIcon {
opacity: var(--lemon-button-icon-opacity);
}

> .ProfilePicture,
> .Lettermark {
opacity: var(--lemon-button-profile-picture-opacity);
}
}
}

Expand All @@ -139,7 +133,6 @@
&:hover:not([aria-disabled='true']),
&:not([aria-disabled='true']):active {
--lemon-button-icon-opacity: 0.75;
--lemon-button-profile-picture-opacity: 1;
}

&.LemonButton--full-width {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@

.LemonButton {
--lemon-button-icon-opacity: 1;
--lemon-button-profile-picture-opacity: 1;
}
}

Expand Down

0 comments on commit eedd19a

Please sign in to comment.