Commit c411b05
authored
UX: Make bookmark icon more readable on mobile (discourse#36096)
On mobile the icon for bookmarked/unbookmarked posts is the same, and
the only way to differentiate the state is the icon color; it may be
hard to tell the difference.
This fixes it by changing the icon when unbookmarked.
This is related to [this post on Discourse
meta](https://meta.discourse.org/t/change-bookmark-icon-for-non-bookmarked-posts-on-mobile-view/388854).
Result on desktop:
<img width="126" height="38" alt="image"
src="https://github.com/user-attachments/assets/f9eb9d70-6378-441d-9072-22815b36290f"
/>
<img width="161" height="38" alt="image"
src="https://github.com/user-attachments/assets/aea963dc-482f-4a40-b432-3dd58e9c6bfc"
/>
Result on mobile:
<img width="45" height="39" alt="image"
src="https://github.com/user-attachments/assets/e5018ed9-b214-45e3-9e21-310b5a7b72be"
/>
<img width="45" height="39" alt="image"
src="https://github.com/user-attachments/assets/b239566a-5971-47c0-9221-6c2496f46cbd"
/>1 parent 3311824 commit c411b05
File tree
5 files changed
+16
-4
lines changed- frontend/discourse
- app
- components
- models
- tests/integration/components
- lib
5 files changed
+16
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| 14 | + | |
| 15 | + | |
13 | 16 | | |
14 | 17 | | |
15 | | - | |
| 18 | + | |
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
16 | 21 | | |
17 | 22 | | |
18 | 23 | | |
| |||
96 | 101 | | |
97 | 102 | | |
98 | 103 | | |
99 | | - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
100 | 107 | | |
101 | | - | |
| 108 | + | |
102 | 109 | | |
103 | 110 | | |
104 | 111 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| 133 | + | |
133 | 134 | | |
134 | 135 | | |
135 | 136 | | |
| |||
0 commit comments