Feed button colors should match
esokullu opened this issue · 5 comments
Use https://gr.ps/oha3/home to improve.
We also need a bookmark icon there:
https://iconmonstr.com/bookmark-1-svg/
so I'll need the implementation of that too.
As I see https://gr.ps/oha3/home load graphjs-theme.less from https://graphjs.com/graphjs-theme.less, but there is an old version of it, some of styles are missing. Needs to be updated with latest dist from graphjs repo.
<div class="graphjs-bookmark-indicator"> <a class={'graphjs-icon ' + (userId ? 'graphjs-authorized' : 'graphjs-unauthorized')} data-id={activity.id}> <svg viewBox="0 0 24 24"><path d="M18 24l-6-5.269-6 5.269v-24h12v24z"/></svg> </a> </div>
This code should be inserted on line 117 in feed-item.tag
and .@{prefix}-bookmark-indicator { .@{prefix}-icon { display: block; float: left; position: relative; width: 2.5em; height: 2.5em; text-align: center; .border-radius(inherit); svg { display: inline-block; position: relative; width: 100%; height: 50%; margin: 25% 0; padding-top: 3px; path { // ThemeOption: fill: desaturate(@text-color-normal, 65%); } } } }
in feed-item.less
Tell me when backend for bookmark will be ready and I will be able to add it to corresponding .tag
Just saw this, will do.
I did the graphjs-theme.less
but what about the color difference in share icon?
I need that first before the bookmark icon.