Skip to content

Commit

Permalink
fix: re-use flarum/subscription colors so follow menu works with dark…
Browse files Browse the repository at this point in the history
… mode better
  • Loading branch information
imorland committed Aug 28, 2024
1 parent 186b695 commit ae99e0a
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions resources/less/forum.less
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,24 @@
}

&.selected {
background-color: @alert-bg;
color: @alert-color;
background-color: var(--following-bg);
color: var(--following-color);

.SubscriptionOption-icon {
color: var(--following-color);
}

.SubscriptionOption-title {
color: var(--following-color);
}

.SubscriptionOption-description {
color: var(--following-color);
}
}

.SubscriptionOption-icon {
flex-shrink: 0;
color: @muted-color;
font-size: 1.2em; // Increase the size of the icon
}

Expand All @@ -105,7 +116,6 @@
.SubscriptionOption-description {
flex-grow: 1; // This will make the description take up the remaining width
padding-left: 10px; // Some spacing between the title and the description
color: @muted-color;
}

.SubscriptionOption-selectedIcon {
Expand Down

0 comments on commit ae99e0a

Please sign in to comment.