UX: uses star everywhere to show interest

This commit is contained in:
jjaffeux 2020-04-29 21:30:43 +02:00
parent d0593f7621
commit 6bcce74c2d
4 changed files with 6 additions and 2 deletions

View File

@ -33,7 +33,7 @@ export default createWidget("discourse-post-event-invitee", {
statusIcon = "fa-check"; statusIcon = "fa-check";
break; break;
case "interested": case "interested":
statusIcon = "fa-question"; statusIcon = "fa-star";
break; break;
case "not_going": case "not_going":
statusIcon = "fa-times"; statusIcon = "fa-times";

View File

@ -13,6 +13,7 @@
.event-date { .event-date {
font-size: $font-down-3; font-size: $font-down-3;
background: $primary-low; background: $primary-low;
color: $primary-high;
padding: 0.25em; padding: 0.25em;
border-radius: 3px; border-radius: 3px;
vertical-align: middle; vertical-align: middle;

View File

@ -236,6 +236,10 @@
color: $danger; color: $danger;
} }
&.avatar-flair-status-interested {
color: $tertiary;
}
.d-icon { .d-icon {
font-size: $font-down-3; font-size: $font-down-3;
} }

View File

@ -25,7 +25,6 @@ register_asset "stylesheets/mobile/discourse-calendar.scss", :mobile
register_asset "stylesheets/mobile/discourse-post-event.scss", :mobile register_asset "stylesheets/mobile/discourse-post-event.scss", :mobile
register_asset "stylesheets/desktop/discourse-calendar.scss", :desktop register_asset "stylesheets/desktop/discourse-calendar.scss", :desktop
register_svg_icon "fas fa-calendar-day" register_svg_icon "fas fa-calendar-day"
register_svg_icon "fas fa-question"
register_svg_icon "fas fa-clock" register_svg_icon "fas fa-clock"
register_svg_icon "fas fa-clock" register_svg_icon "fas fa-clock"
register_svg_icon "fas fa-star" register_svg_icon "fas fa-star"