graphjs/groups-v2

Feed button colors should match

esokullu opened this issue · 5 comments

Screen Shot 2019-08-24 at 7 56 39 AM

also there's an alignment issue too.

This problem is in graphjs repo. If you make the changes in plain html (using Chrome Editor) and send them to me, I can commit them to that repo.

We also need a bookmark icon there:
https://iconmonstr.com/bookmark-1-svg/

so I'll need the implementation of that too.

YaGen commented

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.